Tower: unpublish laundry_management — remove source from 19.0 branch

This commit is contained in:
2026-05-02 11:15:37 +00:00
parent 22162f9d47
commit 26ae0e14df
230 changed files with 0 additions and 17001 deletions

View File

@@ -1,22 +0,0 @@
"""POS session extension for laundry.
Cash settlements use account.bank.statement.line tagged with
pos_session_id, so POS's native _compute_cash_balance picks them up
automatically — no display/math override is required.
We only override _load_pos_data_models to ship our two new configuration
models (laundry.order.type, laundry.order.attribute) to the POS client.
"""
import logging
from odoo import models
_logger = logging.getLogger(__name__)
class PosSessionLaundryExt(models.Model):
_inherit = 'pos.session'
def _load_pos_data_models(self, config):
models_to_load = super()._load_pos_data_models(config)
models_to_load += ['laundry.order.type', 'laundry.order.attribute']
return models_to_load