[ADD] add_multi_line on byproducts

This commit is contained in:
Rémi
2022-06-21 11:15:24 +02:00
committed by GitHub
parent 852a01a4fc
commit dba4bfc334

View File

@@ -15,6 +15,16 @@
}"/> }"/>
</control> </control>
</xpath> </xpath>
<xpath expr="//field[@name='byproduct_ids']/tree/field[1]" position="before">
<control>
<create string="Add a line"/>
<create string="Multi add line" context="{
'pro_multi_add': True,
'pro_res_model': 'product.product',
'pro_res_field': 'product_id',
}"/>
</control>
</xpath>
</field> </field>
</record> </record>
</data> </data>