Merge lp://staging/~hbrunn/ocb-addons/6.1-knowledge_attachment_create_fix_duplicate_check into lp://staging/ocb-addons/6.1
Proposed by
Holger Brunn (Therp)
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~hbrunn/ocb-addons/6.1-knowledge_attachment_create_fix_duplicate_check |
Merge into: | lp://staging/ocb-addons/6.1 |
Diff against target: |
32 lines (+9/-8) 1 file modified
document/document.py (+9/-8) |
To merge this branch: | bzr merge lp://staging/~hbrunn/ocb-addons/6.1-knowledge_attachment_create_fix_duplicate_check |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ronald Portier (Therp) | Approve | ||
Review via email: mp+285359@code.staging.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 6852. By Holger Brunn (Therp)
-
[FIX] fix what this branch is actually intended to fix
- 6851. By Holger Brunn (Therp)
-
[FIX] syntax
- 6850. By Holger Brunn (Therp)
-
[FIX] don't return True as id
- 6849. By Holger Brunn (Therp)
-
[FIX] don't choke on missing res_id, fix logic
In the if with the check_duplication, maybe first test the values, because the method call to check_duplication makes no sense if they are not filled.
Do I understand correctly that a create is turned into a write if records are found that are not duplicate according to the check, but that share the same resource and datas_fname?