Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1301 Widoki

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?



Awatar
Odrzuć
Najlepsza odpowiedź

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.
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 25
829
1
wrz 24
1263
2
sty 23
6666
0
lut 21
2476
0
mar 17
3523