~savoirfairelinux-openerp/knowledge-addons/document_multiple_records

Viewing all changes in revision 28.

  • Committer: Sandy Carter
  • Date: 2014-04-17 00:24:17 UTC
  • Revision ID: sandy.carter@savoirfairelinux.com-20140417002417-8g0vdoaqd88yfc1f
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'

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: