[export/import] fail to import boolean with False value
Bug #831009 reported by
tfr (Openerp)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
how to reproduce :
-export a partner with supplier and customer False, (export dbname also)
got a file like this
"name",
"OpenERP S.A.","1","",""
-Change value of supplier and customer to True
-Save
-Import the previous File => supplier and customer should be set to false.
-But it doesn't
Import this file
"name",
"OpenERP S.A.","
It works
Related branches
lp:~openerp-dev/openobject-server/trunk-bug-831009-nch
- Vo Minh Thu: Pending requested
-
Diff: 127 lines (+16/-16)1 file modifiedopenerp/osv/orm.py (+16/-16)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Not updating data when the field value is '' not a bad practice but
When a boolean field is export should always be "True" or "False" not ""