← Back to team overview

openerp-india team mailing list archive

[Bug 510668] Re: init_xml also updates security/ir.model.access.csv

 

TL;DR How do we load CSV files at --init only?

Sorry to step into a dead conversation but the question raised by this
bug report has not been answered and I'm having this issue as well.

I'm running a fairly fresh version (ie. a couple of days) of OpenERP
Server 6.1.

I would like (just like the original op) to ship CSV data with a module
but that CSV data should not be updated (-u or --update) and should only
be loaded at install time (-i or --init).

Neither update_xml, init_xml or data work as advertised either by their
name or by the documentation[1]. Using noupdate="1" is not applicable
for CSV files and would in my opinion only be a work-around for a what I
would call a defect of the software.

I think the problem is fairly clear and does not necessitate a proo-of-
concept module but do let me know if it does.

Thanks in advance.

[1] http://doc.openerp.com/v6.1/developer/03_modules_1.html#openerp-
module-descriptor-file-openerp-py

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/510668

Title:
  init_xml also updates security/ir.model.access.csv

Status in OpenERP Server:
  Invalid

Bug description:
  if we provide a security/ir.model.access.csv file for access rights on init_xml instead update_xml,
  it also updates the csv though it was shifted to init_xml.....

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/510668/+subscriptions


Follow ups