Tower: upload laundry_management 19.0.19.0.4 (was 19.0.19.0.4, via marketplace)

This commit is contained in:
2026-05-02 11:57:30 +00:00
parent ee9b1958f1
commit d7bc4a4b88
230 changed files with 17001 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
from odoo import models, fields
class AccountPaymentLaundryExt(models.Model):
"""Informational stamp — links settlement payments to the POS session
that was open when the cashier collected the money.
This field is purely for visibility (closing-screen summary). It does
NOT inject settlement totals into POS cash-control math.
"""
_inherit = 'account.payment'
pos_session_id = fields.Many2one(
'pos.session', string='POS Session',
readonly=True, copy=False, index=True,
help='POS session that was open when this settlement was created.',
)
settlement_pos_pm_id = fields.Many2one(
'pos.payment.method', string='Settlement Payment Method',
readonly=True, copy=False, index=True,
help='Original POS payment method chosen by the cashier during settlement.',
)