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