mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: change where security is given to group_account_invoice: from contract_sale to contract
This commit is contained in:
committed by
Christopher Rogos
parent
b36db56b6a
commit
289e7160ea
@@ -40,4 +40,16 @@
|
|||||||
name="domain_force"
|
name="domain_force"
|
||||||
>['|',('company_id','=',False),('company_id','in',company_ids)]</field>
|
>['|',('company_id','=',False),('company_id','in',company_ids)]</field>
|
||||||
</record>
|
</record>
|
||||||
|
<!-- For the sake of the OCA ecosystem, please do not remove this rule, as
|
||||||
|
it is used in other modules as contract_sale and maintenance_equipment_contract-->
|
||||||
|
<record id="contract_contract_see_all" model="ir.rule">
|
||||||
|
<field name="name">See All Contracts</field>
|
||||||
|
<field name="model_id" ref="contract.model_contract_contract" />
|
||||||
|
<field name="domain_force">[(1,'=',1)]</field>
|
||||||
|
<field
|
||||||
|
name="groups"
|
||||||
|
eval="[
|
||||||
|
(4,ref('account.group_account_invoice'))]"
|
||||||
|
/>
|
||||||
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user