1. ukoma
  2. party_bank

Source

party_bank / bank.xml

Diff from to

File bank.xml

  • Ignore whitespace
         </record>
         <record model="ir.action.act_window" id="act_bank_view">
             <field name="name">Banks</field>
-            <field name="context">{'party_role': 'bank'}</field>
+            <field name="context">{'is_bank': True}</field>
             <field name="res_model">bank.bank</field>
             <field name="view_type">form</field>
         </record>
                     action="act_bank_view" id="menu_bank_view"/>
         <record model="ir.action.act_window" id="act_bank_view2">
             <field name="name">New Bank</field>
+            <field name="context">{'is_bank': True}</field>
             <field name="res_model">bank.bank</field>
             <field name="view_type">form</field>
         </record>