← Back to team overview

openerp-india team mailing list archive

[Bug 1104292] Re: [7.0] Boolean fields set to False take their default values when importing data from yaml

 

** Also affects: openobject-server
   Importance: Undecided
       Status: New

** No longer affects: openobject-addons

-- 
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/1104292

Title:
  [7.0] Boolean fields set to False take their default values when
  importing data from yaml

Status in OpenERP Server:
  New

Bug description:
  1. Create a yaml file with the following data:
  -
    !record {model: res.partner, id: test}:
      is_company: True
      name: Test Supplier
      supplier: True
      customer: False

  2. Create a module that uses the previous yml file as 'update_xml'
  3. Install that module
  4. Note that the partner 'Test Supplier' will have both 'suplier' and 'customer' fields set to True

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


References