Commit Graph

7 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
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
b30711948f [IMP] More clear message for the user 2014-07-18 17:18:28 -04:00
Joao Alfredo Gama Batista
eff1598336 [FIX] Use attachment_document_ids to get list of attachments 2014-07-18 17:18:28 -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