Merge lp:~elbati/enapps-csv-import-tool/fix-get_related_id into lp:~enapps-london-uk/enapps-csv-import-tool/old_trunk
Proposed by
Lorenzo Battistini
Status: | Needs review |
---|---|
Proposed branch: | lp:~elbati/enapps-csv-import-tool/fix-get_related_id |
Merge into: | lp:~enapps-london-uk/enapps-csv-import-tool/old_trunk |
Diff against target: |
25 lines (+4/-0) 2 files modified
ea_import/ea_import_template.py (+2/-0) ea_import/ea_import_template_line.py (+2/-0) |
To merge this branch: | bzr merge lp:~elbati/enapps-csv-import-tool/fix-get_related_id |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Enapps Ltd OpenERP Partner London UK | Approve | ||
Review via email: mp+125226@code.launchpad.net |
Description of the change
To post a comment you must log in.
Unmerged revisions
- 10. By Lorenzo Battistini
-
[FIX] many2one_rel_type == 'template' too
- 9. By Lorenzo Battistini
-
[FIX] also, when csv field is empty, we should not check the 'update_current'
- 8. By Lorenzo Battistini
-
[FIX] when importing m2o by template,
if csv field is empty, the get_related_id method should not return the list of every record for current model.
This happens when key=[], so
self.low_level_ search( cr, uid, [template.id], key, context=context)
returns the list of all records
Nice :)