Purpose: - Move PoS settings in general settings to be consistent with the rest of Odoo (PoS being the only app where settings are split in two locations) - Clean settings by enabling obvious settings or dropping unnecessary ones. closes odoo/odoo#84719 Task-id: 2753430 Related: odoo/upgrade#3260 Related: odoo/enterprise#24425 Signed-off-by: Masereel Pierre <pim@odoo.com>
11 lines
263 B
Python
11 lines
263 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
# pos.config fields
|
|
pos_employee_ids = fields.Many2many(related='pos_config_id.employee_ids', readonly=False)
|