Browse Source

Merge pull request #449 from Daniel-CA/partner_financial_risk

[FIX][8.0] partner_financial_risk: credit_limit field is not correctly updated.
pull/391/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
5ea9384e14
  1. 2
      partner_financial_risk/__openerp__.py
  2. 1
      partner_financial_risk/views/res_partner_view.xml

2
partner_financial_risk/__openerp__.py

@ -5,7 +5,7 @@
{ {
'name': 'Partner Financial Risk', 'name': 'Partner Financial Risk',
'summary': 'Manage partner risk', 'summary': 'Manage partner risk',
'version': '8.0.1.0.0',
'version': '8.0.1.1.0',
'category': 'Sales Management', 'category': 'Sales Management',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'Tecnativa, ' 'author': 'Tecnativa, '

1
partner_financial_risk/views/res_partner_view.xml

@ -10,6 +10,7 @@
<field name="priority" eval="20"/> <field name="priority" eval="20"/>
<field name="groups_id" eval="[(4, ref('base.group_sale_salesman')), (4, ref('account.group_account_manager'))]"/> <field name="groups_id" eval="[(4, ref('base.group_sale_salesman')), (4, ref('account.group_account_manager'))]"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="credit_limit" position="replace"/>
<page name="sales_purchases" position="after"> <page name="sales_purchases" position="after">
<page name="financial_risk" string="Financial Risk" attrs="{'invisible': [('customer','=',False)]}"> <page name="financial_risk" string="Financial Risk" attrs="{'invisible': [('customer','=',False)]}">
<group name="risk_general" col="3"> <group name="risk_general" col="3">

Loading…
Cancel
Save