When the government changes the VAT percent from a certain date:
- Can some python code in a tax record lookup the date and then return the correct VAT percent?
- Can taxes be updated when the I10n module is updated, or can the module update only the template taxes?
(1) I was able to set Tax Type = Python Code:
time_of_change = datetime.date(2015,1,1)
today = datetime.date.today()
if today < time_of_change:
result = price_unit * 0.14
result = price_unit * 0.15
(2) I found the community model account_chart_update for v7.0 that updates taxes++ based on the templates.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/16/14, 10:53 AM|
|Seen: 685 times|
|Last updated: 3/16/15, 8:10 AM|