Browse Source

Modif droit transaction + Transaction en display only

12.0
Juliana 4 years ago
parent
commit
cbbbf2528b
  1. 4
      security/ir.model.access.csv
  2. 24
      views/pos_transaction.xml

4
security/ir.model.access.csv

@ -1,3 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_pos_transaction_pos_user,access_pos_transaction_pos_user,model_pos_transaction,point_of_sale.group_pos_user,1,0,0,0
access_pos_transaction_pos_manager,access_pos_transaction_pos_manager,model_pos_transaction,point_of_sale.group_pos_manager,1,0,0,0
access_pos_transaction_pos_user,access_pos_transaction_pos_user,model_pos_transaction,point_of_sale.group_pos_user,1,1,1,1
access_pos_transaction_pos_manager,access_pos_transaction_pos_manager,model_pos_transaction,point_of_sale.group_pos_manager,1,1,1,1

24
views/pos_transaction.xml

@ -24,20 +24,20 @@
<sheet>
<group>
<group>
<field name="balance_id"/>
<field name="name"/>
<field name="product_id"/>
<field name="write_date"/>
<field name="date_iso"/>
<field name="balance_id" readonly="1"/>
<field name="name" readonly="1"/>
<field name="product_id" readonly="1"/>
<field name="write_date" readonly="1"/>
<field name="date_iso" readonly="1"/>
</group>
<group>
<field name="ean13"/>
<field name="ean13_verif"/>
<field name="qrcode"/>
<field name="weight_net"/>
<field name="weight_tare"/>
<field name="price_product"/>
<field name="price_net"/>
<field name="ean13" readonly="1"/>
<field name="ean13_verif" readonly="1"/>
<field name="qrcode" readonly="1"/>
<field name="weight_net" readonly="1"/>
<field name="weight_tare" readonly="1"/>
<field name="price_product" readonly="1"/>
<field name="price_net" readonly="1"/>
</group>
</group>
</sheet>

Loading…
Cancel
Save