Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/自建模块日志警告信息处理
This commit is contained in:
@@ -35,7 +35,7 @@ class MachineBrand(models.Model):
|
|||||||
code = fields.Char('编码')
|
code = fields.Char('编码')
|
||||||
name = fields.Char('名称')
|
name = fields.Char('名称')
|
||||||
tag_ids = fields.Many2many('sf.machine.brand.tags', 'rel_machine_brand_tags', string='类别')
|
tag_ids = fields.Many2many('sf.machine.brand.tags', 'rel_machine_brand_tags', string='类别')
|
||||||
image_brand = fields.Image("品牌图片")
|
image_brand = fields.Image("图片")
|
||||||
remark = fields.Text('备注')
|
remark = fields.Text('备注')
|
||||||
active = fields.Boolean('有效', default=True)
|
active = fields.Boolean('有效', default=True)
|
||||||
|
|
||||||
|
|||||||
@@ -120,3 +120,21 @@ td.o_required_modifier {
|
|||||||
font-family: '华文中宋';
|
font-family: '华文中宋';
|
||||||
//font-weight: bold;
|
//font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.o_list_table th > div > i {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .o_list_table th:nth-child(4) {
|
||||||
|
width: 100px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
//body .o_list_table th:nth-child(5) {
|
||||||
|
// width: 500px !important;
|
||||||
|
//}
|
||||||
|
|
||||||
|
.o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector):not(.o_handle_cell):not(.o_list_button):not(.o_list_record_remove).o_list_text {
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
@@ -171,12 +171,7 @@
|
|||||||
|
|
||||||
|
|
||||||
</page>
|
</page>
|
||||||
<page string="其他" attrs="{'invisible': [('type_id', '=', False)]}">
|
|
||||||
<group string="其他">
|
|
||||||
<field name="remark"/>
|
|
||||||
</group>
|
|
||||||
<button type="object" class="oe_highlight" name='enroll_machine_tool' string="机床注册"/>
|
|
||||||
</page>
|
|
||||||
|
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
@@ -206,6 +201,23 @@
|
|||||||
<field name='equipment_maintenance_standards_ids' widget="many2many_tags" invisible="1"/>
|
<field name='equipment_maintenance_standards_ids' widget="many2many_tags" invisible="1"/>
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//page[@name='description']" position="attributes">
|
||||||
|
<attribute name="invisible">1</attribute>
|
||||||
|
</xpath>
|
||||||
|
|
||||||
|
<xpath expr="//page[@name='product_information']" position="attributes">
|
||||||
|
<attribute name="invisible">1</attribute>
|
||||||
|
</xpath>
|
||||||
|
|
||||||
|
<xpath expr="//page[@name='maintenance']" position="after">
|
||||||
|
<page string="其他" attrs="{'invisible': [('type_id', '=', False)]}">
|
||||||
|
<group string="其他">
|
||||||
|
<field name="remark"/>
|
||||||
|
</group>
|
||||||
|
<button type="object" class="oe_highlight" name='enroll_machine_tool' string="机床注册"/>
|
||||||
|
</page>
|
||||||
|
</xpath>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
Reference in New Issue
Block a user