Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
466 Zobrazení
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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
181
4
čvc 25
1552
1
čvc 25
862
2
čvc 25
877
1
čvc 25
1985