[IMP] purchase_usability: show supplier taxes to accounting manager

This commit is contained in:
Alexis de Lattre
2025-09-01 13:09:44 +00:00
parent dbd79c0ed0
commit e864e383ec
2 changed files with 24 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
'views/purchase_order.xml', 'views/purchase_order.xml',
'views/purchase_report.xml', 'views/purchase_report.xml',
'views/account_move.xml', 'views/account_move.xml',
'views/product_template.xml',
], ],
'installable': True, 'installable': True,
} }

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2025 Akretion France (https://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="view_product_supplier_inherit" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="purchase.view_product_supplier_inherit"/>
<field name="arch" type="xml">
<group name="bill" position="attributes">
<!-- native in purchase module : purchase.group_purchase_manager -->
<attribute name="groups">purchase.group_purchase_manager,account.group_account_manager</attribute>
</group>
</field>
</record>
</odoo>