diff --git a/odex25_donation/ensan_sale_management/models/product.py b/odex25_donation/ensan_sale_management/models/product.py index 624c7da1b..7cea4dd53 100644 --- a/odex25_donation/ensan_sale_management/models/product.py +++ b/odex25_donation/ensan_sale_management/models/product.py @@ -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)