Added relate button from party to purchase
This commit is contained in:
@@ -70,6 +70,7 @@ Avec la possibilité:
|
||||
],
|
||||
'xml': [
|
||||
'purchase.xml',
|
||||
'party.xml',
|
||||
],
|
||||
'translation': [
|
||||
'de_DE.csv',
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.action.act_window" id="act_purchase_form2">
|
||||
<field name="name">Purchases</field>
|
||||
<field name="res_model">purchase.purchase</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="domain">[("party", "=", active_id)]</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
id="act_open_purchase_keyword1">
|
||||
<field name="keyword">form_relate</field>
|
||||
<field name="model">party.party,0</field>
|
||||
<field name="action" ref="act_purchase_form2"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
Reference in New Issue
Block a user