I am customizing the Sales Dashboard in Odoo 10. I want to set container i.e "invoiced" so that it displays the values from custom module.
First, I am unable to find exact xpath because i dont see this defined in the view. (the view is attached below)
Secondly, I want to display the values for the current user logged. Can anyone suggest me something?
<record model="ir.ui.view" id="sales_targets_kanban_inherit_id" >
<field name="name">Sales Target Kanban Inherit</field>
<field name="model">crm.team</field>
<field name="inherit_id" ref="sale.crm_team_salesteams_view_kanban"/>
<field name="arch" type="xml">
<data>
<xpath expr="//tr//[@class='oe_secondary']//input[@name='invoiced']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
</data>
</field>
</record>
I want to display my custom module-> field in that "click to set". Will this be done through python or xml
Hopes for suggestion
Hopes for suggestion
Did you find any solution?