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.

15 lines
512 B

  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_load_picking = fields.Boolean(string='Load Pickings', default=True)
  9. iface_load_picking_max_qty = fields.Integer(
  10. string='Max Picking Quantity To Load', default=10, required=True)