← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727277] Re: [6.0] - base - "res_partner_rule" - must not updated

 

Hello,

Thanks for reporting.

It has been fixed in lp:~openerp-dev/openobject-server/trunk-bug-727277-ysa.
Revision No:- 3432
Revision ID: # Revision ID: ysa@xxxxxxxxxxx-20110526131551-nvt6tgyrh2ddsctp   and It will be merge soon
in trunk server.

Thanks,


** Branch linked: lp:~openerp-dev/openobject-server/trunk-bug-727277-ysa

** Changed in: openobject-server
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/727277

Title:
  [6.0] - base - "res_partner_rule" - must not updated

Status in OpenERP Server:
  Fix Committed

Bug description:
  this rule gets reinstalled with every update
  in multicompany it's very likely that the group wants to use a common partner database 

  6.0/bin/addons/base/security/base_security.xml

      <record model="ir.rule" id="res_partner_rule">
          <field name="name">res.partner company</field>
          <field name="model_id" ref="model_res_partner"/>
          <field name="global" eval="True"/>
          <field name="domain_force">['|', ('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>
      </record>

  IMHO this rule (and may be others - I didn't check) should reside in a separate file with
   <data noupdate="1">


References