This commit is contained in:
ivan deng
2023-02-25 22:44:18 +08:00

View File

@@ -15,6 +15,16 @@
}"/>
</control>
</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>
</record>
</data>