Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3637 Vizualizări

  I want to modify my POS sale detail report, as here in saudi arabia the VAT which is currently 5%, will be changing to 15% from july 1st 2020, for that , I need to apply a condition in POS sale detail report that, 

if the date range is from January 1 2020 -   June 30 2020, the report should calculate the VAT as 5%, 

if the date range is July 1 2020 onwards, the report should calculate the VAT as 15%,

kindly tell me how to do the coding from xml view...

Imagine profil
Abandonează
Cel mai bun răspuns

This should not be done in a report nor in POS. You should create new taxes and assign these new taxes as default taxes to your products as per July 1 2020. Then you will have to adjust your VAT reports based on the VAT transition regulations. The handling of the Swiss VAT change in 2018 should give you the idea: https://www.odoo.com/documentation/user/13.0/accounting/fiscal_localizations/localizations/switzerland.html#updated-vat-for-january-2018

Imagine profil
Abandonează
Autor

I have modified the report manually applied 5% and calculated in the views which does not have any link to product, so might be this will not work for me

IMHO then it is time to do it properly because your approach is against all reasonable business logic. Anyway, if you want to learn about conditionals, please read the QWeb documentation: https://www.odoo.com/documentation/12.0/reference/qweb.html

Related Posts Răspunsuri Vizualizări Activitate
1
mai 20
3571
2
feb. 24
4343
2
ian. 19
3534
2
apr. 18
3376
0
nov. 17
3893