删除模块,移到efms里面,修改样式
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
.purchase_order_list_name {
|
||||
min-width: 62px !important;
|
||||
}
|
||||
|
||||
.section_and_note_text span{
|
||||
white-space: wrap!important;
|
||||
overflow: auto!important;
|
||||
text-overflow: unset!important;
|
||||
}
|
||||
@@ -102,7 +102,7 @@
|
||||
</field>
|
||||
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="before">
|
||||
<field name="model_glb_file" widget="Viewer3D" optional="show"
|
||||
string="模型文件" attrs="{'readonly': [('state', 'in', ['draft'])]}"/>
|
||||
string="模型文件" attrs="{'readonly': [('state', 'in', ['draft'])], 'isInList': True}"/>
|
||||
<field name="part_name" optional="hide"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='order_line']/tree/field[@name='price_subtotal']" position="after">
|
||||
@@ -112,6 +112,7 @@
|
||||
<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>
|
||||
<attribute name="class">section_and_note_text</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='order_line']" position="attributes">
|
||||
<attribute name="attrs">{'readonly': [('state', 'in', ['cancel','sale'])]}</attribute>
|
||||
|
||||
Reference in New Issue
Block a user