From c7ac90b2c7a13d70fcc5685c1890f76f5e3af16b Mon Sep 17 00:00:00 2001 From: Abdurrahman Saber Date: Thu, 9 Oct 2025 11:33:16 +0300 Subject: [PATCH] [IMP] ensan_sale_management: change field name --- odex25_donation/ensan_sale_management/models/product.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)