mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-23 10:12:03 +02:00
Initial commit: Vertical Industry packages
This commit is contained in:
commit
d5567a0017
766 changed files with 733028 additions and 0 deletions
11
odoo-bringout-oca-ocb-lunch/lunch/models/res_users.py
Normal file
11
odoo-bringout-oca-ocb-lunch/lunch/models/res_users.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResUsers(models.Model):
|
||||
_inherit = 'res.users'
|
||||
|
||||
last_lunch_location_id = fields.Many2one('lunch.location')
|
||||
favorite_lunch_product_ids = fields.Many2many('lunch.product', 'lunch_product_favorite_user_rel', 'user_id', 'product_id')
|
||||
Loading…
Add table
Add a link
Reference in a new issue