account_bank_statement_cashbox.py 794 B

123456789101112131415161718192021
  1. from openerp import models, fields, tools, api
  2. class casbox_input(models.Model):
  3. _inherit = 'cash.box.in'
  4. date = fields.Date()
  5. message_deleted = fields.Text('Message Deleted')
  6. active = fields.Boolean('Active', default=True)
  7. line_id = fields.Many2one('account.bank.statement.line', 'Bank statement line')
  8. statement_id = fields.Many2one('account.bank.statement', 'Bank statement')
  9. class casbox_output(models.Model):
  10. _inherit = 'cash.box.out'
  11. date = fields.Date()
  12. ref =fields.Char('ref')
  13. message_deleted = fields.Text('Message Deleted')
  14. active = fields.Boolean('Active', default=True)
  15. line_id = fields.Many2one('account.bank.statement.line', 'Bank statement line')
  16. statement_id = fields.Many2one('account.bank.statement', 'Bank statement')