summaryrefslogtreecommitdiff
path: root/addons/note_pad/models/note.py
AgeCommit message (Collapse)Author
2018-03-05[FIX] pad, pad_project, note_pad: duplicate objectNicolas Martinelli
The duplication of a task crashes at the following: `content = myPad.getHtml(path).get('html', '')` The copy mechanism is quite cumbersome: - In `copy` method, generate an URL of a pad which doesn't exist since `object_id` is still undefined. - The `create` method somehow attempts to fill in the previously created pad thanks to `_set_pad_value`. The logic is made simpler. The pad URL field is set as `copy=False`, therefore the create mechanism will take care of handling the pad creation and its synchronization. opw-1818757
2016-05-03[MIG] note_pad : migration to new apiJérome Maes
2016-05-03[MOV] note_pad : move filesJérome Maes