Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1309 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 25
844
1
zář 24
1286
2
led 23
6678
0
úno 21
2488
0
bře 17
3526