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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
مارس 15
|
4531 | ||
How to hide fields?
تم الحل
|
|
3
مارس 15
|
28615 | |
|
3
مارس 16
|
8592 | ||
|
1
مارس 16
|
10178 | ||
|
2
مارس 15
|
4077 |
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 !!