Created on 2020-08-04.09:57:18 by ced, last changed 1 month ago by roundup-bot.
New changeset 6cec3e4db32d by Cédric Krier in branch 'default': Allow setting the tax date on taxable lines https://hg.tryton.org/tryton-env/rev/6cec3e4db32d
New changeset 623395f86849 by Cédric Krier in branch 'default': Allow setting the tax date on taxable lines https://hg.tryton.org/modules/sale/rev/623395f86849
New changeset 8b8feaf064af by Cédric Krier in branch 'default': Allow setting the tax date on taxable lines https://hg.tryton.org/modules/purchase/rev/8b8feaf064af
New changeset d2a32b625e72 by Cédric Krier in branch 'default': Allow setting the tax date on taxable lines https://hg.tryton.org/modules/account_invoice/rev/d2a32b625e72
New changeset 0dc546d3cbff by Cédric Krier in branch 'default': Allow setting the tax date on taxable lines https://hg.tryton.org/modules/account/rev/0dc546d3cbff
Indeed reworking TaxableMixin permit to set the date on the taxable lines. This is probably more flexible. Here is review323791002 which implements it.
It is not really doable with the design of TaxableMixin. Also if you already have to split the lines, you can split the invoice for the same.
I would prefer to have this date on the invoice line as there are cases where a service needs to be split in two lines because of different taxation. Think of a telecommunication service that has a service period from 2020-06-12 to 2020-07-11 and a vat rate change on 2020-07-01. The invoice to the customer should contain the complete service period from 2020-06-12 to 2020-07-11 but the taxation of the service must be split in two periods from 2020-06-12 to 2020-06-30 and from 2020-07-01 to 2020-07-11.
A tax can have different rates depending on the date. Most of the time, the date corresponds to the accounting date because what is invoiced is related to this period or because the rate changes are not frequent. But during a transition period where the rate is changing, it may happen that you have to post an invoice now but using the previous rate. For example, if you do a credit note for an invoice before the rate change or if you are invoicing services or goods that were done or delivered before the rate change. So I think we should have a third optional date to define which tax rate applies.
|2020-09-05 23:38:37||roundup-bot||set||messages: + msg59983|
|2020-09-05 23:38:34||roundup-bot||set||messages: + msg59982|
|2020-09-05 23:38:28||roundup-bot||set||messages: + msg59981|
|2020-09-05 23:38:22||roundup-bot||set||messages: + msg59980|
|2020-09-05 23:38:19||roundup-bot||set||status: testing -> resolved|
nosy: + roundup-bot
messages: + msg59979
|2020-08-05 13:18:07||ced||set||title: Add taxing date on invoice -> Add taxes date on invoice|
|2020-08-04 16:23:21||reviewbot||set||messages: + msg59611|
messages: + msg59609
|2020-08-04 11:47:12||ced||set||status: in-progress -> testing|
messages: + msg59608
keyword: + review
|2020-08-04 10:24:45||ced||set||messages: + msg59607|
Showing 10 items. Show all history (warning: this could be VERY long)