Merge pull request #53 from lefilament/14.0-app_mrp_bom_product_multi_add-byproducts

[ADD] add_multi_line on byproducts
This commit is contained in:
guohuadeng
2023-02-13 23:51:59 +08:00
committed by GitHub

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>