addons portados en el repo de ecocentral

This commit is contained in:
GitHub Copilot 2026-08-07 16:34:38 +02:00
parent f2194c5367
commit 65818b0155
72 changed files with 2474 additions and 3 deletions

View file

@ -0,0 +1,2 @@
from . import pos_config
from . import res_config_settings

View file

@ -0,0 +1,8 @@
from odoo import fields
from odoo import models
class PosConfig(models.Model):
_inherit = "pos.config"
allow_reorder = fields.Boolean(default=True)

View file

@ -0,0 +1,10 @@
from odoo import fields
from odoo import models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
pos_allow_reorder = fields.Boolean(
related="pos_config_id.allow_reorder", readonly=False
)