changeset df9cb75fd611 in modules/purchase:default details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=df9cb75fd611 description: Add missing access rights for product_suppliers
issue10268 review351791002 diffstat: purchase.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diffs (26 lines): diff -r 1197f4b3cf0d -r df9cb75fd611 purchase.xml --- a/purchase.xml Thu Apr 22 00:03:28 2021 +0200 +++ b/purchase.xml Sun Apr 25 11:38:13 2021 +0200 @@ -429,6 +429,22 @@ action="act_product_supplier_form" id="menu_product_supplier"/> + <record model="ir.model.access" id="access_product_supplier"> + <field name="model" search="[('model', '=', 'purchase.product_supplier')]"/> + <field name="perm_read" eval="True"/> + <field name="perm_write" eval="False"/> + <field name="perm_create" eval="False"/> + <field name="perm_delete" eval="False"/> + </record> + <record model="ir.model.access" id="access_product_supplier_purchase"> + <field name="model" search="[('model', '=', 'purchase.product_supplier')]"/> + <field name="group" ref="group_purchase"/> + <field name="perm_read" eval="True"/> + <field name="perm_write" eval="True"/> + <field name="perm_create" eval="True"/> + <field name="perm_delete" eval="True"/> + </record> + <record model="ir.rule.group" id="rule_group_product_supplier_companies"> <field name="name">User in companies</field> <field name="model" search="[('model', '=', 'purchase.product_supplier')]"/>