diff --git a/base_accounting_kit/__manifest__.py b/base_accounting_kit/__manifest__.py index 66633a88b..f257b6dfa 100644 --- a/base_accounting_kit/__manifest__.py +++ b/base_accounting_kit/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Odoo 13 Full Accounting Kit', - 'version': '13.0.4.11.14', + 'version': '13.0.4.11.15', 'category': 'Accounting', 'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs', 'summary': """ Asset and Budget Management, diff --git a/base_accounting_kit/doc/changelog.md b/base_accounting_kit/doc/changelog.md index 2e61c95f4..d4a622ab5 100644 --- a/base_accounting_kit/doc/changelog.md +++ b/base_accounting_kit/doc/changelog.md @@ -114,3 +114,9 @@ #### Version 13.0.4.11.14 #### UPDT - Report sequence issue fixed + + +#### 14.09.2022 +#### Version 13.0.4.11.15 +#### UPDT +- Sale/User: Own Documents Only issue fixed diff --git a/base_accounting_kit/models/credit_limit.py b/base_accounting_kit/models/credit_limit.py index d197ca560..f7d96e10d 100644 --- a/base_accounting_kit/models/credit_limit.py +++ b/base_accounting_kit/models/credit_limit.py @@ -92,7 +92,7 @@ class SaleOrder(models.Model): @api.onchange('partner_id') def check_due(self): """To show the due amount and warning stage""" - if self.partner_id and self.partner_id.due_amount > 0 \ + if self.partner_id and self.partner_id.sudo().due_amount > 0 \ and self.partner_id.active_limit \ and self.partner_id.enable_credit_limit: self.has_due = True