Skip to Content
Menú
This question has been flagged
1 Respondre
1284 Vistes

I'm currently testing Odoo for my rental business and I've come across a detail that I don't like.

We have graduated prices, which cannot be displayed in Odoo, so I have created a separate price for each day. This doesn't look nice in the web frontend, as these are displayed as product prices in a rather long table.

I have already tried to hide this via CSS, but somehow I can't get any further. Does anyone have a tip for me?



Avatar
Descartar
Best Answer

Hi Marco:

I roughly understand your needs,  and I think the module "delivery carrier" might be referenced:

there are 2 sets of pricing mechanism, one is fixed price, and the other is based on rules which can be customized.  Once you select the "base on rules" for a certain carrier,  at the frontend the delivery cost will automatically match your rules and be calculated, without showing the other scale prices.


I haven't studied the source code of such module yet, so just propose a concept for your reference:


  • the rules actually maintained in an indiviual model,  with fields used for evaluation factor(such as weight,dimensions, order amount etc.);
  • then in the delivery carrier model,  a one2many field mapping to the rules model as above;
  • and then the type of pricing mechanism,  it could be a selection;
  • lastly i think there might need some logical method to determine how the final price will be.
Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de gen. 25
813
1
de set. 24
1213
2
de gen. 23
6642
0
de febr. 21
2442
0
de març 17
3507