Browse Source

[FIX] beesdoo_base: group_force_barcode (users eval)

- (6, _, [ids]) replaces the list of linked records
  with the provided list.
- (4, id, _) links an already existing record.
  This can only be used for many-to-many fields
pull/189/head
Vincent Van Rossem 4 years ago
parent
commit
eb31a7e11f
  1. 2
      beesdoo_base/__manifest__.py
  2. 2
      beesdoo_base/security/groups.xml

2
beesdoo_base/__manifest__.py

@ -13,7 +13,7 @@
"author": "Beescoop - Cellule IT, Coop IT Easy SCRLfs", "author": "Beescoop - Cellule IT, Coop IT Easy SCRLfs",
"website": "https://github.com/beescoop/Obeesdoo", "website": "https://github.com/beescoop/Obeesdoo",
"category": "Sales", "category": "Sales",
"version": "12.0.1.0.0",
"version": "12.0.1.0.1",
"depends": ["point_of_sale", "purchase", "portal", "partner_firstname"], "depends": ["point_of_sale", "purchase", "portal", "partner_firstname"],
"data": [ "data": [
"security/groups.xml", "security/groups.xml",

2
beesdoo_base/security/groups.xml

@ -2,6 +2,6 @@
<odoo> <odoo>
<record id="group_force_barcode" model="res.groups"> <record id="group_force_barcode" model="res.groups">
<field name="name">Bees Card Force Barcode</field> <field name="name">Bees Card Force Barcode</field>
<field name="users" eval="[(6, 0, [ref('base.user_root')])]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record> </record>
</odoo> </odoo>
Loading…
Cancel
Save