LaOsaCoop/Odoo16#14 migration pos_customer_required
This commit is contained in:
parent
b062c383d5
commit
08fca37c6d
27 changed files with 1438 additions and 0 deletions
11
pos_customer_required/models/res_config_setting.py
Normal file
11
pos_customer_required/models/res_config_setting.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = "res.config.settings"
|
||||
|
||||
require_customer = fields.Selection(
|
||||
related="pos_config_id.require_customer",
|
||||
readonly=False,
|
||||
help="Require customer in Point of Sale",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue