mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-22 07:32:02 +02:00
19.0 vanilla
This commit is contained in:
parent
4607ccbd2e
commit
825ff6514e
487 changed files with 184979 additions and 195262 deletions
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
|
@ -7,5 +6,5 @@ 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')
|
||||
last_lunch_location_id = fields.Many2one('lunch.location', groups='lunch.group_lunch_user', copy=False)
|
||||
favorite_lunch_product_ids = fields.Many2many('lunch.product', 'lunch_product_favorite_user_rel', 'user_id', 'product_id', groups='lunch.group_lunch_user', copy=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue