Merge lp:~openerp-dev/openobject-server/6.0-opw-51026-skh into lp:openobject-server/6.0
Proposed by
Somesh Khare
Status: | Merged |
---|---|
Approved by: | Olivier Laurent (Open ERP) |
Approved revision: | 3572 |
Merged at revision: | 3584 |
Proposed branch: | lp:~openerp-dev/openobject-server/6.0-opw-51026-skh |
Merge into: | lp:openobject-server/6.0 |
Diff against target: |
33 lines (+4/-5) 1 file modified
bin/osv/orm.py (+4/-5) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.0-opw-51026-skh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Laurent (Open ERP) (community) | Needs Fixing | ||
Naresh(OpenERP) (community) | Approve | ||
Review via email: mp+89831@code.launchpad.net |
Description of the change
Hello Sir,
Import a blank record using csv does not makes effect on the record (field).
Scenario:
If you try to import product record using CSV and the CSV has a record as blank( ex: default_code ="") and .id = "any existing DB id", the record imported successfully but with any effect on the reference field(default_code field). The field will not replaced with blank.
Expected behavior:
Record should be modified with the blank.
Kindly review the branch and please share your views.
Thanks,
Somesh Khare
To post a comment you must log in.
Hi Naresh,
runbot does not like the fix. I've reverted it.
A problem with null values.
The error message is:
"null value in column "report_type" violates not-null constraint"
I can give you the complete log if you need it.