[IMP] ensan_sale_management: change field name
This commit is contained in:
parent
8522326a6e
commit
c7ac90b2c7
|
|
@ -2,7 +2,6 @@ from odoo import models, fields, api, _
|
||||||
from dateutil.relativedelta import relativedelta
|
from dateutil.relativedelta import relativedelta
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import logging
|
import logging
|
||||||
from odoo import http
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
@ -16,7 +15,8 @@ class ProductTemplate_Inherit(models.Model):
|
||||||
('Free Amount', 'Free Amount'),
|
('Free Amount', 'Free Amount'),
|
||||||
('Fixed Amount', 'Fixed Amount')
|
('Fixed Amount', 'Fixed Amount')
|
||||||
],
|
],
|
||||||
default="Free Amount"
|
default="Free Amount",
|
||||||
|
string="Amount Type"
|
||||||
)
|
)
|
||||||
is_quick_donation = fields.Boolean("Is Quick Donation?")
|
is_quick_donation = fields.Boolean("Is Quick Donation?")
|
||||||
target_amount = fields.Float('Target Amount', tracking=True, default=1)
|
target_amount = fields.Float('Target Amount', tracking=True, default=1)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue