~account-core-editors/account-financial-tools/7.0

« back to all changes in this revision

Viewing changes to account_constraints/__openerp__.py

[MRG]  Remove the possibility to modify or delete a move line related to an
  invoice or a bank statement, no matter what the status of the move
  (draft, validated or posted). This is usefule in standard context but
  moreover if you're using : account_default_draft_move. This way you ensure
  user cannot make mistake even in draft, he must pass through the
  parent object to make his modification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 
49
49
* Add a check on entries that user cannot provide a secondary currency
50
50
  if the same than the company one.
 
51
  
 
52
* Remove the possibility to modify or delete a move line related to an
 
53
  invoice or a bank statement, no matter what the status of the move
 
54
  (draft, validated or posted). This is useful in a standard context but
 
55
  even more if you're using `account_default_draft_move`. This way you ensure
 
56
  that the user cannot make mistakes even in draft state, he must pass through the 
 
57
  parent object to make his modification.
51
58
 
52
59
    """,
53
60
    'website': 'http://www.camptocamp.com',