Skip to content

Commit ba57710

Browse files
[FIX] viin_brand_mrp: Fix Bad UI
1 parent b0ae4c2 commit ba57710

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

viin_brand_mrp/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
# always loaded
5353
'data': [
5454
'data/digest_data.xml',
55+
'views/mrp_production_views.xml',
5556
],
5657
'installable': True,
5758
'auto_install': True,
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<odoo>
2+
<record id="mrp_production_form_inherit" model="ir.ui.view">
3+
<field name="name">mrp.production.form</field>
4+
<field name="model">mrp.production</field>
5+
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
6+
<field name="arch" type="xml">
7+
<xpath expr="//field[@name='product_qty']" position="attributes">
8+
<attribute name="style">width: 50% !important;</attribute>
9+
</xpath>
10+
<xpath expr="//field[@groups='uom.group_uom']" position="attributes">
11+
<attribute name="style">width: 50% !important;</attribute>
12+
</xpath>
13+
</field>
14+
</record>
15+
</odoo>

0 commit comments

Comments
 (0)