account_bank_statement_config.py 671 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields, tools, api
  3. class PosAccountBankStatementConfig(models.Model):
  4. _inherit = "account.bank.statement.config"
  5. pos_journal_permitted = fields.Many2many('account.journal', 'pos_journal_permitted', 'account_bank_statement_config_id', 'account_journal_id',
  6. domain="[('journal_user', '=', True ), ('type', 'in', ['bank', 'cash'])]", string='Método de pago')
  7. pos_statement_output = fields.Boolean('Permitir sacar dinero', default=False, help="Permitir sacar dinero.")
  8. pos_statement_transfer = fields.Boolean('Permitir realizar transferencia', default=False, help="Permitir realizar transferencia.")