[FIX] pos_loyalty: ensure partner name is printed on reprinted receipts
Before this commit, due to a recent change, the customer name was not being printed on reprinted receipts. This was inconsistent with user expectations, as they expected to see the customer name on the receipt, regardless of whether a loyalty program was in place or not. With this commit, we ensure that the customer name is always printed on reprinted receipts, aligning the system behavior with user expectations. opw-3760165 closes odoo/odoo#155543 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
</t>
|
||||
<br />
|
||||
</div>
|
||||
</t>
|
||||
<t t-if="props.data.partner">
|
||||
<br/>
|
||||
<div>Customer <span t-esc='props.data.partner.name' class='pos-receipt-right-align'/></div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user