1、在销售订单内产品列表内增加备注字段

This commit is contained in:
yuxianghui
2024-07-11 16:38:41 +08:00
parent dd7c69ce1b
commit 3094379e86
2 changed files with 4 additions and 0 deletions

View File

@@ -69,6 +69,9 @@
<field name="model_glb_file" widget="Viewer3D" optional="show"
string="模型文件" attrs="{'readonly': [('state', 'in', ['draft'])]}"/>
</xpath>
<xpath expr="//field[@name='order_line']/tree/field[@name='price_subtotal']" position="after">
<field name="remark"/>
</xpath>
<xpath expr="//field[@name='order_line']/tree/field[@name='product_template_id']" position="attributes">
<attribute name="options">{'no_create': True}</attribute>
<attribute name="context">{'is_sale_order_line': True }</attribute>