Initial commit: Accounting packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:47 +02:00
commit 4ef34c2317
2661 changed files with 1709616 additions and 0 deletions

View file

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