openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22207
[Bug 1104292] [NEW] [7.0] Boolean fields set to False take their default values when importing data from yaml
Public bug reported:
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
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
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 Addons (modules):
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-addons/+bug/1104292/+subscriptions
Follow ups
References