Hello,
I am using Odoo V16 Online Enterprise in Germany.
I am currently unable to apply a global discount to any order in the Point of Sale (PoS) system. The error log indicates an issue related to a specific module for the German accounting. This error has prevented me from applying a global discount, and I've had to apply discounts to individual products instead. I encountered a similar problem with discount coupons. This resulted in unsynchronized orders remaining in the local PoS session, which cannot be recovered afterward.
Here is the error log:
TaxError: The tax for the product 'Discount' with id 2 is not allowed.
at Proxy.check_germany_taxes (https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:11226:323\)
\ \ \ \ at\ Proxy\.add_product\ \(https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:11226:389\)
\ \ \ \ at\ add_product\ \(patch\ l10n_de_pos_cert\.Order\)\ \(https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:1894:22\)
\ \ \ \ at\ Proxy\.add_product\ \(https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:11306:474\)
\ \ \ \ at\ add_product\ \(patch\ pos_sale_product_configurator\.Order\)\ \(https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:1894:22\)
\ \ \ \ at\ DiscountButton\.apply_discount\ \(https://test\-050923\.odoo\.com/web/assets/17924\-99cea8c/point_of_sale\.assets_prod\.min\.js:10478:474\)
\ \ \ \ at\ DiscountButton\.click\ \(https://test-050923.odoo.com/web/assets/17924-99cea8c/point_of_sale.assets_prod.min.js:10476:288)