c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34757
[Bug 873456] Re: yaml_import cannot specify empty value
** Branch linked: lp:~credativ/openobject-server/fix-yaml-import
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/873456
Title:
yaml_import cannot specify empty value
Status in OpenERP Server:
New
Bug description:
I have a multi-company set up and I'm importing existing data using
yaml format and "import module".
I have two companies set up and I'd like to import objects with company_id set to:
* base.company
* other.company
* None
Where none share the contacts.
If I don't specify company_id tag, then the record ends up having the company_id of the user_id=1 which is base company.
If I specify valid company_id, then the record ends up having the company_id set to the correct company.
When specify python None value, or serialised as null in yaml, openerp-server doesn't import it.
Attaching a branch preposal to fix this problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/873456/+subscriptions
Follow ups
References