Commit Graph
3 Commits
Author SHA1 Message Date
Joseph Caburnay 6b443b7981 [FIX] l10n_in_pos: receipt rendering error when company has no country
To reproduce:

1. Start with empty instance with point_of_sale (no demo).
2. Install Indian localization from Invoicing.
3. Start a pos session with that config.
4. Sell a product.
5. Assign a customer to the order.
6. Invoice the order during payment.
7. Validate. [BUG] Empty receipt is shown in the receipt screen.

This is because of empty country field of the pos.config's company.
We modify the check for country code in the receipt template to
account for empty country as fix.

closes odoo/odoo#60814

X-original-commit: 86423e2da90e1d023bd616cbc719c80f087a4206
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Joseph Caburnay (jcb) <caburj@users.noreply.github.com>
2020-10-27 11:15:26 +00:00
Joseph Caburnay 548af5781f [REF] l10n_in_pos: migration to OWL framework 2020-05-12 12:48:58 +00:00
mgh-odoo acda5c58ac [IMP] ipoint_of_sale,l10n_in_pos: customer and HSN code on receipt
To be compliant with the indian law, some informations should be
displayed on the receipt in the POS.

So we've added the customer name and phone nulber if any. We've also
added the HSN code of products for each line.

closes odoo/odoo#36590

Task-id: 2000231
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-10-18 07:20:30 +00:00