diff options
| author | Olivier Dony <odo@openerp.com> | 2012-12-19 00:20:01 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-12-19 00:20:01 +0100 |
| commit | 3fe6987ce7788524ad54d403ed6473da69dc04a5 (patch) | |
| tree | 9b92230077de676aacd4a7c7cf2753e3e862ad7c /addons/purchase/security | |
| parent | 72387cef3b4e43a1d33df7a25e10981e090612c7 (diff) | |
| parent | 5101771cd9ea7218695d31ce7c7bf2b12a1d417f (diff) | |
[MERGE] Harmonization of noupdate flag on security XML data, courtesy of Alexis de Lattre (Akretion)
ir.rule records are in noupdate data blocks to let the admin
alter them without fear of them being reset at next update.
Other records such as groups are in normal mode, so they
can be updated whenever necessary
bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
Diffstat (limited to 'addons/purchase/security')
| -rw-r--r-- | addons/purchase/security/purchase_security.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/purchase/security/purchase_security.xml b/addons/purchase/security/purchase_security.xml index f9a711c1c75..4e1cf8b6107 100644 --- a/addons/purchase/security/purchase_security.xml +++ b/addons/purchase/security/purchase_security.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <openerp> -<data noupdate="1"> +<data noupdate="0"> <record id="group_purchase_user" model="res.groups"> <field name="name">User</field> @@ -21,6 +21,9 @@ <field name="implied_ids" eval="[(4, ref('analytic.group_analytic_accounting'))]"/> </record> +</data> +<data noupdate="1"> + <record model="ir.rule" id="purchase_order_comp_rule"> <field name="name">Purchase Order multi-company</field> <field name="model_id" ref="model_purchase_order"/> |
