Commit Graph

8 Commits

Author SHA1 Message Date
Sandy Carter
3f9ea85e45 Cleanup code and fix possible bugs
create():
    Avoid duplicating data locally
    Fix boolean comparison problem
    Use name_get rather than name field
unlink():
    Use more specific context identifiers
    Remove redundant loop and if statement
model:
    Add ondelete='cascade'
2014-07-18 17:18:29 -04:00
EL HADJI DEM
6e5f52a548 [IMP]Change condition to pass test 2014-07-18 17:18:29 -04:00
EL HADJI DEM
a9a91394ef [IMP]Change condition to pass test 2014-07-18 17:18:29 -04:00
EL HADJI DEM
dbe7aac614 [IMP]Fix bug to pass tests 2014-07-18 17:18:29 -04:00
EL HADJI DEM
2889c10a50 [IMP] Refresh automatically list of documents in the form view;from knownlege, delete the documents and references; when delete document from form view, juste delete the reference; informations about the model are saved in the attachment_document_ids 2014-07-18 17:18:29 -04:00
Joao Alfredo Gama Batista
b23ac72daf [FIX] Partial refactoring based on MP comments 2014-07-18 17:18:28 -04:00
EL HADJI DEM
e1bf00a575 [IMP]comment from lp, create line for attachement if we don't get a res_model 2014-07-18 17:18:28 -04:00
EL HADJI DEM
97503d09ae Added document_multiple_records module: It allows to manage a document with a multiple records. 2014-07-18 17:18:28 -04:00