Browse Source

[ADD,CLEAN] change name of pos module to be consistant and add security for bill value

pull/6/head
Thibault Francois 9 years ago
parent
commit
75649d0a4a
  1. 1
      beescoop_pos/models/__init__.py
  2. 0
      beesdoo_pos/__init__.py
  3. 5
      beesdoo_pos/__openerp__.py
  4. 1
      beesdoo_pos/models/__init__.py
  5. 0
      beesdoo_pos/models/beesdoo_pos.py
  6. 4
      beesdoo_pos/security/ir.model.access.csv
  7. 0
      beesdoo_pos/views/beesdoo_pos.xml

1
beescoop_pos/models/__init__.py

@ -1 +0,0 @@
import beescoop_pos

0
beescoop_pos/__init__.py → beesdoo_pos/__init__.py

5
beescoop_pos/__openerp__.py → beesdoo_pos/__openerp__.py

@ -24,8 +24,9 @@
# always loaded # always loaded
'data': [ 'data': [
# 'security/ir.model.access.csv',
'views/beescoop_pos.xml',
'security/ir.model.access.csv',
'views/beesdoo_pos.xml',
], ],
# only loaded in demonstration mode # only loaded in demonstration mode
} }

1
beesdoo_pos/models/__init__.py

@ -0,0 +1 @@
import beesdoo_pos

0
beescoop_pos/models/beescoop_pos.py → beesdoo_pos/models/beesdoo_pos.py

4
beesdoo_pos/security/ir.model.access.csv

@ -0,0 +1,4 @@
"id","name","model_id/id","group_id/id","perm_read","perm_write","perm_create","perm_unlink"
"bill_value_read_all","Read All","beesdoo_pos.model_bill_value","","True","False","False","False"
"bill_value_accountant_all","All Comptable","beesdoo_pos.model_bill_value","account.group_account_user","True","True","True","True"
"bill_value_pos_manager_all","All POS manager","beesdoo_pos.model_bill_value","point_of_sale.group_pos_manager","True","True","True","True"

0
beescoop_pos/views/beescoop_pos.xml → beesdoo_pos/views/beesdoo_pos.xml

Loading…
Cancel
Save