[IMP] show team on partner in no dev mode

This commit is contained in:
Sébastien BEAU
2022-04-12 00:30:07 +02:00
committed by Alexis de Lattre
parent cad0654983
commit fe96425d84
2 changed files with 16 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
'views/product_pricelist_item.xml',
'views/account_move.xml',
'views/res_company.xml',
"views/res_partner.xml",
],
'installable': True,
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="res_partner_view_team" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="sales_team.res_partner_view_team" />
<field name="arch" type="xml">
<!-- team_id should be visible in no developper mode -->
<field name="team_id" position="attributes">
<attribute name="groups"/>
</field>
</field>
</record>
</odoo>