On 2017-10-24 08:29, Gonzalo wrote: > The problem is complex, I will try to explain it the best I can. > We are trying to use Tryton + GNU Health for a clinic. The clinic has > a kind of subscription/insurance where you paid an amount per month > and you get an amount of services to use (for example, 3 medical > consultation free...). > So should be able to know the amount of this products/services uses by > a person in the last month, and the price will depend on this. > > To make things more complicated, the subscription can be per family > too, i.e., if your son uses the total of medical consultation that you > had free, you will have to pay. > > I tried to use price_list but I don't understand how it works. Anyway, > I think you can’t consider the historic with that.
No price list is really not the right solution. I think you should automatically append to the invoices deduction line with negative line for each product that is eligible for the deduction. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20171025084331.GT3623%40kei.