[FIX] pos_restaurant: missing fields note, mp_skip
The note and mp_skip field of pos.order.line only exist in the frontend application, this causes errors in some task of the PoS and IoT teams. This pr adds the fields to the database, resolving these problems. closes odoo/odoo#34210 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class PosOrderLine(models.Model):
|
||||
_inherit = 'pos.order.line'
|
||||
|
||||
note = fields.Char('Note added by the waiter.')
|
||||
mp_skip = fields.Boolean('Skip line when sending ticket to kitchen printers.')
|
||||
|
||||
|
||||
class PosOrder(models.Model):
|
||||
_inherit = 'pos.order'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user