İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
501 Görünümler
I have added a custom module which should change the attribute from hide to show. But no change is made. If I click on it directly via the list, then it works.

<record id="mymodule_crm_lead_search_opportunity" model="ir.ui.view"> <field name="name">mymodule.crm.lead.search.opportunity</field> <field name="model">crm.lead</field> <field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/> <field name="arch" type="xml"> <xpath expr="//field[@name='activity_ids']" position="attributes"> <attribute name="optional">show</attribute> </xpath> </field> </record>

Avatar
Vazgeç
Üretici En İyi Yanıt

I use odoo sh and have made the changes in the editor via the cloud instead of uploading it via github. The error is now fixed.

Avatar
Vazgeç
En İyi Yanıt

Hi,

Please check the code below:

<record id="crm_case_tree_view_oppor" model="ir.ui.view">
<field name="name">crm.lead.inherit.module.name</field>
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_tree_view_oppor"/>
<field name="arch" type="xml">
<field name="activity_ids" position="attributes">
<attribute name="optional">show</attribute>
</field>
</field>
</record>

Hope it helps.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ağu 25
132
1
Ağu 25
293
4
Tem 25
1627
1
Tem 25
917
2
Tem 25
935