i want to hide the fields which already exist in same form !! can anyone help me
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
You can try this code. if you need to remove the duplicates from the form view
<record id="view_order_form_duplicate" model="ir.ui.view">
<field name="name">sale.order.form.duplicate</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<form position="attributes">
<attribute name="string">Add the non duplicate string</attribute>
<attribute name="duplicate">false</attribute>
</form>
</field>
</record>
Hope it helps
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Mar 15
|
4464 | ||
How to hide fields?
Solved
|
|
3
Mar 15
|
28536 | |
|
3
Mar 16
|
8513 | ||
|
1
Mar 16
|
10081 | ||
|
2
Mar 15
|
4030 |
i just tried like this .
<record id="view_order_form_duplicate" model="ir.ui.view">
<field name="name">sale.order.form.duplicate</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//form" position="attributes">
<attribute name="duplicate">False</attribute>
</xpath>
</field>
</record>
but its not working :(
please help me !!