add field zone for printer
This commit is contained in:
parent
e26ee969cd
commit
42c819fb7d
@ -14,6 +14,9 @@ class Printer(Device, ModelSQL, ModelView):
|
||||
'Printer'
|
||||
__name__ = 'sale.printer'
|
||||
|
||||
zone = fields.Selection([('bar', "Bar"),
|
||||
('kitchen', "Kitchen"),
|
||||
('recepcion', "Recection")])
|
||||
shop = fields.Many2One('sale.shop', "Shop")
|
||||
api = fields.Many2One('sale.printer_api', "API")
|
||||
|
||||
|
@ -8,4 +8,6 @@
|
||||
<field name="ip_address"/>
|
||||
<label name="api"/>
|
||||
<field name="api"/>
|
||||
<label name="zone"/>
|
||||
<field name="zone"/>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user