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.

13 lines
469 B

  1. # Copyright (C) 2017 - 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 models, fields
  5. class SaleOrder(models.Model):
  6. _inherit = 'sale.order'
  7. final_pos_order_id = fields.Many2one(
  8. string='Final PoS Order', comodel_name='pos.order', readonly=True,
  9. help="This Sale Order has beend replaced by this PoS Order")