[IMP] ensan_sale_management: change field name

This commit is contained in:
Abdurrahman Saber 2025-10-09 11:33:16 +03:00
parent 8522326a6e
commit c7ac90b2c7
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,6 @@ from odoo import models, fields, api, _
from dateutil.relativedelta import relativedelta
from datetime import datetime
import logging
from odoo import http
logger = logging.getLogger(__name__)
@ -16,7 +15,8 @@ class ProductTemplate_Inherit(models.Model):
('Free Amount', 'Free Amount'),
('Fixed Amount', 'Fixed Amount')
],
default="Free Amount"
default="Free Amount",
string="Amount Type"
)
is_quick_donation = fields.Boolean("Is Quick Donation?")
target_amount = fields.Float('Target Amount', tracking=True, default=1)