You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
323 B
11 lines
323 B
from odoo import models, fields
|
|
|
|
|
|
class PosConfig(models.Model):
|
|
_inherit = 'pos.config'
|
|
|
|
allow_session_closing_with_stock_errors = fields.Boolean(
|
|
string="Allow closing sessions with stock errors",
|
|
help="If disabled, closing a session that has stock errors "
|
|
"will be blocked.",
|
|
)
|