** Branch linked: lp:~credativ/openobject-server/wip

-- 
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:
  Confirmed

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

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to