Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1268 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 25
792
1
sept 24
1187
2
ene 23
6615
0
feb 21
2412
0
mar 17
3468