← Back to team overview

openerp-community team mailing list archive

Re: Rationale for proposing the project"openerp-nomenclature" to join the OCA projects

 

@Jeff @martin

Please open a different thread for xml/csv import discussion.

Regards


Franco Tampieri
System Engineer

>_
abstract.it - +39 06 9294 6938

Registro Imprese di Napoli 788429 / Cap. Soc. 10.000 Euro I.V.
Avvertenze Legali – D. Lgs. 196/03 Tutela dei dati personali. Le
informazioni contenute in questo messaggio
e in ogni eventuale allegato sono riservate e ne è vietata ogni forma
di diffusione. Se avete ricevuto questa
comunicazione per errore, Vi preghiamo di informare immediatamente il
mittente del messaggio e di eliminare l'e-mail.



2014-03-16 6:16 GMT+01:00 Martin Collins <martin@xxxxxxxxxxxxx>:

> On 2014-03-15 22:06, jeff.wang wrote:
> >
> > Yes, CSV is noupdate="0", this make me really fantastic surprises during
> > implement the security access control.
>
> Yeah, and they say ERP is boring ;-/
>
> > each time you upgrade a module, all access come from CSV __REPLACE__ the
> > ones you set up in your database, this make the security setting in
> > openerp can not been used by non-developer, how do you solve it in your
> > project?
>
> Not sure 'solve' is the word I would use but here's how I do it:
> Always run with -P (partial import) which won't load a file it has
> already loaded.
> Make sure all my unsafe CSV files are commented out in __openerp__.py
> before every update (in case the -P gets forgotten or status.pickle gets
> lost).
> If I want to update a whole CSV file I hack it out of the status.pickle
> file (delete the existing records first).
> If I want to add some new lines from a CSV file I copy them into a
> separate file and import that through the user interface.
>
> Martin
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>

References