Skip to content

Commit a2e8ebe

Browse files
committed
[FIX] solar_installation: fix helpdesk form view
1 parent 3cec2ab commit a2e8ebe

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

solar_installation/data/ir_ui_view.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@
4343
<record id="helpdesk_ticket_form" model="ir.ui.view">
4444
<field name="name">helpdesk.ticket.form.customization</field>
4545
<field name="model">helpdesk.ticket</field>
46-
<field name="inherit_id" ref="helpdesk.helpdesk_ticket_view_form"/>
47-
<field name="mode">extension</field>
46+
<field name="inherit_id" ref="helpdesk_stock.helpdesk_ticket_view_form_inherit_helpdesk_stock"/>
4847
<field name="priority">800</field>
4948
<field name="type">form</field>
5049
<field name="arch" type="xml">
51-
<xpath expr="//field[@name='email_cc']" position="after">
52-
<field name="product_id"/>
53-
<field name="lot_id"/>
54-
<field name="x_warranty_end_date"/>
55-
</xpath>
50+
<field name="tracking" position="after">
51+
<field name="product_id" groups="stock.group_stock_user"/>
52+
<field name="lot_id" groups="stock.group_stock_user"/>
53+
<field name="x_warranty_end_date" groups="stock.group_stock_user"/>
54+
</field>
5655
</field>
5756
</record>
5857
<record id="stock_pr_lot_form" model="ir.ui.view">

0 commit comments

Comments
 (0)