Tryton - Issues

 

Issue6013

Title Add flat tax report based on formula
Priority feature Status chatting
Superseder Nosy List Timitos, ced, pokoli
Type feature request Components
Assigned To Keywords
Reviews

Created on 2016-11-04.02:05:46 by ced, last changed by ced.

Messages
msg32918 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-03-30.10:44:48
Indeed I think the tax code should be completely redesigned.
For me, the tax report of some countries are too complex to be just computed with sum (see issue6404).
So I propose to create a new flat model which will contains a formula using the tax code values (using simpleeval). This way we could use a single tax code per taxes and reuse it in many formula without being tight by a tree structure.
For backward compatibility we could keep the tree structure of the tax code even if it is no more useful.
msg30177 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-11-04.02:05:45
Following the discussion on issue6001, I think we could implement a distribution tax code like we did for analytic on issue5908. This will keep the invoice tax code simple and reduce the complexity of tax definition (because often we just need to put the base/tax amount on two or more code).
History
Date User Action Args
2017-04-12 15:38:40cedsettitle: Add tax code distribution -> Add flat tax report based on formula
2017-03-30 10:44:48cedsetstatus: unread -> chatting
messages: + msg32918
2016-12-02 09:56:17pokolisetnosy: + pokoli
2016-11-04 09:48:21Timitossetnosy: + Timitos
2016-11-04 02:05:46cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)