diff --git a/partner_financial_risk/__openerp__.py b/partner_financial_risk/__openerp__.py index a23c078d5..c38b2eae7 100644 --- a/partner_financial_risk/__openerp__.py +++ b/partner_financial_risk/__openerp__.py @@ -5,7 +5,7 @@ { 'name': 'Partner Financial Risk', 'summary': 'Manage partner risk', - 'version': '9.0.1.0.1', + 'version': '9.0.1.0.2', 'category': 'Sales Management', 'license': 'AGPL-3', 'author': 'Tecnativa, Odoo Community Association (OCA)', diff --git a/partner_financial_risk/models/res_partner.py b/partner_financial_risk/models/res_partner.py index 6f1dd6f34..f4e2297bb 100644 --- a/partner_financial_risk/models/res_partner.py +++ b/partner_financial_risk/models/res_partner.py @@ -56,6 +56,7 @@ class ResPartner(models.Model): help='It Indicate if partner risk exceeded') credit_policy = fields.Char() risk_allow_edit = fields.Boolean(compute='_compute_risk_allow_edit') + credit_limit = fields.Float(track_visibility='onchange') @api.multi def _compute_risk_allow_edit(self):