~coopenerp/openobject-italia/7.0-vat_registries_fix

« back to all changes in this revision

Viewing changes to account_vat_period_end_statement/account.py

  • Committer: Lorenzo Battistini
  • Date: 2013-12-11 16:17:21 UTC
  • mfrom: (227.1.1 7.0-bug-1253598-elbati)
  • Revision ID: lorenzo.battistini@agilebg.com-20131211161721-y22qrbvnd5szohjb
[FIX] [7.0] liquidazione IVA - impossibile salvare una nuova liquidazione       

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
    _name = "account.vat.period.end.statement"
201
201
    _rec_name = 'date'
202
202
    _columns = {
203
 
        'debit_vat_account_line_ids': fields.one2many('statement.debit.account.line', 'statement_id', 'Debit VAT', help='The accounts containing the debit VAT amount to write-off', required=True, states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]}),
 
203
        'debit_vat_account_line_ids': fields.one2many('statement.debit.account.line', 'statement_id', 'Debit VAT', help='The accounts containing the debit VAT amount to write-off', states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]}),
204
204
 
205
 
        'credit_vat_account_line_ids': fields.one2many('statement.credit.account.line', 'statement_id', 'Credit VAT', help='The accounts containing the credit VAT amount to write-off', required=True, states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]}),
 
205
        'credit_vat_account_line_ids': fields.one2many('statement.credit.account.line', 'statement_id', 'Credit VAT', help='The accounts containing the credit VAT amount to write-off', states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]}),
206
206
 
207
207
        'previous_credit_vat_account_id': fields.many2one('account.account', 'Previous Credits VAT', help='Credit VAT from previous periods', states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]}),
208
208
        'previous_credit_vat_amount': fields.float('Previous Credits VAT Amount', states={'confirmed': [('readonly', True)], 'paid': [('readonly', True)], 'draft': [('readonly', False)]},