[IMP] add access rights in purchase & requisition module
bzr revid: fka@tinyerp.com-20130325110937-psvojsoq7vmo7z4k
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
<field name="payment_term_id" widget="selection"/>
|
||||
<field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}" />
|
||||
<!-- We do not need these fields anymore, the information is in open chatter -->
|
||||
<field name="validator" groups="base.group_no_one"/>
|
||||
<field name="validator" groups="base.group_no_one" context="{'default_groups_ref': ['base.group_user', 'purchase.group_purchase_user', 'account.group_account_invoice']}"/>
|
||||
<field name="date_approve" groups="base.group_no_one"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</h1>
|
||||
<group>
|
||||
<group>
|
||||
<field name="user_id"/>
|
||||
<field name="user_id" context="{'default_groups_ref': ['base.group_user', 'purchase_requisition.group_purchase_requisition_user', 'purchase.group_purchase_user', 'account.group_account_invoice']}"/>
|
||||
<field name="exclusive"/>
|
||||
</group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user