[IMP] account: removed unused cash discount field in payment terms

The last_day_for_discount field was forgotten in the payment term/cash discount update : https://github.com/odoo/odoo/pull/110274

Fixed by removing the forgotten crumb.

closes odoo/odoo#114971

Signed-off-by: Laurent Smet <las@odoo.com>
This commit is contained in:
Camille Spiritus
2023-03-10 17:55:00 +01:00
parent a041a5f2ee
commit abbdaf0562
@@ -36,7 +36,6 @@ class AccountPaymentTerm(models.Model):
discount_percentage = fields.Float(string='Discount %', help='Early Payment Discount granted for this payment term', default=2.0)
discount_days = fields.Integer(string='Discount Days', help='Number of days before the early payment proposition expires', default=10)
last_day_for_discount = fields.Date(string='Last date to benefit from the discount', compute='_compute_last_discount_date')
early_pay_discount_computation = fields.Selection([
('included', 'On early payment'),
('excluded', 'Never'),