mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-22 09:42:00 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue