19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -1,8 +1,10 @@
from odoo import models
from odoo import api, models
class DecimalPrecision(models.Model):
_inherit = 'decimal.precision'
@api.model
def precision_get(self, application):
stackmap = self.env.cr.cache.get('account_disable_recursion_stack', {})
if application == 'Discount' and stackmap.get('ignore_discount_precision'):