Hi everyone
I am trying to add an attribute on the button action with id %(action_repair_order_form)d
This button is added through src/enterprise/helpdesk_repair/views/helpdesk_views.xml
It is already an override of the standard helpdesk ticket view
The id of the record where we find this button action is : helpdesk_ticket_view_form_inherit_stock_user
So i am trying this :
record id="inherited_helpdesk_ticket_view_form_inherit_stock_user" model="ir.ui.view"
field name="name" helpdesk.ticket.form.inherit.repair.stock.user.custo
field name="model">helpdesk.ticket
field name="inherit_id" ref="helpdesk.ticket.helpdesk_ticket_view_form_inherit_stock_user"
field name="priority">60
field name="arch" type="xml"
xpath expr="//header/button[@name='%(action_repair_order_form)d']" position="attributes"
t t-if="repairs_count != 0"
attribute name="attrs">{'confirm': 'Une réparation ... une nouvelle réparation '}/attribute
/t
/xpath
/field
/record
But i am having the issue :
And ... I understand, but ... in this situation, what should I give in the field inherit_id to allow odoo to find this button action I want to override ?..
Thank you for your help !
Sorry for removing every '' but the site was replacing every code by blank ...