sale_order.py 197 B

1234567
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields, api
  3. class SaleOrder(models.Model):
  4. _inherit = 'sale.order'
  5. from_pos = fields.Boolean(string='Created from POS', default=False)