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.

27 lines
1.2 KiB

  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2017 - Today: GRAP (http://www.grap.coop)
  3. # @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. from openerp import models, fields
  6. class PosConfig(models.Model):
  7. _inherit = 'pos.config'
  8. iface_create_draft_sale_order = fields.Boolean(
  9. string='Create Draft Sale Orders', default=True,
  10. help="If checked, the cashier will have the possibility to create"
  11. " a draft Sale Order, based on the current draft PoS Order.")
  12. iface_create_confirmed_sale_order = fields.Boolean(
  13. string='Create Confirmed Sale Orders', default=True,
  14. help="If checked, the cashier will have the possibility to create"
  15. " a confirmed Sale Order, based on the current draft PoS Order.")
  16. iface_create_delivered_sale_order = fields.Boolean(
  17. string='Create Delivered Sale Orders', default=True,
  18. help="If checked, the cashier will have the possibility to create"
  19. " a confirmed sale Order, based on the current draft PoS Order.\n"
  20. " the according picking will be marked as delivered. Only invoices"
  21. " process will be possible.")