You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
724 B

  1. # Copyright (C) 2015 - Today: GRAP (http://www.grap.coop)
  2. # @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from odoo import fields, models
  5. class PosPaymentChangeWizardOldLine(models.TransientModel):
  6. _name = "pos.payment.change.wizard.old.line"
  7. _description = "PoS Payment Change Wizard Old Line"
  8. wizard_id = fields.Many2one(
  9. comodel_name="pos.payment.change.wizard", required=True,
  10. )
  11. old_journal_id = fields.Many2one(
  12. comodel_name="account.journal",
  13. string="Journal",
  14. required=True,
  15. readonly=True,
  16. )
  17. amount = fields.Float(string="Amount", required=True, readonly=True)