mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-25 04:22:00 +02:00
19.0 vanilla
This commit is contained in:
parent
6e54c1af6c
commit
3ca647e428
1087 changed files with 132065 additions and 108499 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class PosOrderLine(models.Model):
|
||||
_inherit = 'pos.order.line'
|
||||
course_id = fields.Many2one('restaurant.order.course', string="Course Ref", ondelete="set null", index='btree_not_null')
|
||||
|
||||
@api.model
|
||||
def _load_pos_data_fields(self, config):
|
||||
result = super()._load_pos_data_fields(config)
|
||||
return result + ["course_id"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue