summaryrefslogtreecommitdiff
path: root/addons/account_tax_python
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-06-01 09:58:47 +0200
committerJoren Van Onder <jov@odoo.com>2016-06-01 09:58:47 +0200
commitdffd4d51f3503987e026ca0edf6a5e4c9a10d192 (patch)
tree7cdf3524c276852bb7d7833dff8ca0b70f02d18f /addons/account_tax_python
parent9499b5d4d2481f79226ddbcf1e66176ce216b6fc (diff)
[FIX] point_of_sale: hide QWeb header/footer from non-ESC/POS receipt
We allow users to specify QWeb in the header and footer fields of the receipt. Because the browser receipt and the ESC/POS receipt use a different format (HTML and ESC/POS XML respectively) we don't render this QWeb to both receipts. Currently it is only rendered for the ESC/POS receipt. When this is the case however, we shouldn't display the unrendered QWeb on the regular browser receipt. This commit simply hides it. Perhaps in the future we can provide an additional parameter in the <DOCTYPE declaration that allows the user to specify whether he wants the QWeb to apply to the HTML receipt and/or the ESC/POS receipt. opw-678170
Diffstat (limited to 'addons/account_tax_python')
0 files changed, 0 insertions, 0 deletions