2014-12-29 18:41 GMT+01:00 Cédric Krier <cedric.kr...@b2ck.com>:
> On 29 Dec 17:23, Raimon Esteve wrote:
>> 2014-12-29 16:52 GMT+01:00 Cédric Krier <cedric.kr...@b2ck.com>:
>> > Hi,
>> >
>> > I'm trying to solve a problem for price with tax included.
>> > Generally, when companies work this way they store the price with tax
>> > included on the product for example (could be the list price field).
>> > So the problem is how to make it works on the current sale design.
>> >
>> > Here is my idea, we could create a new module
>> > sale_price_list_tax_included (name to be reworked) which will add a flag
>> > on the price list to announce it will return a unit price that should be
>> > considered as tax included.
>> > On the sale, when such price list is used, we reverse compute the unit
>> > price without tax using the tax on the line (for which the tax rule has
>> > been applied).
>>
>> I don't understand how/where to decide if price is include tax or not
>> (flag). In trytond configuration file?
>
> On the price list.

preci list module (1) or list price field (2)?

When companies like to sell prices with tax is included, it's because
you like round prices. 4.0, 4.20, 4.50 or marketing prices: 4.99.

My 2 cénts.

(1) http://hg.tryton.org/modules/product_price_list
(2) http://hg.tryton.org/modules/product/file/5bb41d9ed90f/product.py#l38

Reply via email to