Skip to Content
Menu
This question has been flagged

I have developed a child registration and accounting application for aprivate  school.

Idea is quite simple: One 'child' record for each child The 'child' record contains all data bound to the student.

The student subscribes to a program, and gets an invoice every year for the fees.

The fact is, they generate invoices for multiple years, and change their prices every year.

And, they can generate invoices for this year, last year or next year (so 3 years, and 3 different prices)

What I have done so far is:

- create a new pricelist every year

- every 'product' (subscription fee) has a fixed pricelist price in every pricelist

 - Add the link to the pricelist of reference in the invoice, and add the computing of prices on invoices based on pricelist (only sales is bound to pricelist, at least in odoo V12)


I would now like to upgrade the module to newer version of V13.

Almost ready to upgrade to V13.

However, I have the impression that V13 has changed their way of handling pricelists, and:

1) I can't see the pricelist prices any more in the products (or, maybe, I'm missing an access right to enable the feature?)

2) It seems that now pricelists are more decoupled from products (in V12, you had the ability to link a product to a pricelist, it seems to me this option is gone in V13?).


So I'm reconsidering all this link pricelist-year-product price, and am thinking of using variants instead.

Ida would be:

- one variant every year

- fixed price on variant for every year

- variant on product fixed by the program and set from 'somewhere' within the invoice


So I would like to understand:

If to keep pricelist-based approach (and if it will break compatibility at some point)

Or to implement variants

and in that case, how I can achieve the 'set variant based on a global variable in invoice'



Avatar
Discard
Related Posts Replies Views Activity
4
Mar 16
7337
1
Dec 24
159
3
Nov 24
5845
3
Mar 24
621
3
Sep 24
4398