Skip to content

Commit

Permalink
[FIX] l10n_es_pos: compatibility with kitcheb order printers
Browse files Browse the repository at this point in the history
As we use the simplified invoice ref, the internal reference is usually
useless. But when a kitchen order is printed that's the only reference
we've got. This way we can show that reference in the ticket only when
kitchen printers are configured in the point of sale.

TT52521
  • Loading branch information
chienandalu committed Jan 2, 2025
1 parent 3c927b7 commit 0567c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_es_pos/static/src/xml/pos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
>
<attribute
name="t-if"
>!env.pos.config.is_simplified_config or receipt.is_to_invoice</attribute>
>!env.pos.config.is_simplified_config or receipt.is_to_invoice or env.pos.config.iface_printers</attribute>
</xpath>
</t>
</templates>

0 comments on commit 0567c62

Please sign in to comment.