İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5370 Görünümler

Hello,

I have created a inherit module on sale.order module because I need to add discount fields on detail lines.
I define a function product_id_change() where I call super() and calculate a new unit price.
The execution is doing well, but I see the amount per line is right but the unit price is still the same. 
I guess my inherit module is executed before some existing inherit modules on sale.order, do you know if it's possible to define an execution order?

Thanks,

Avatar
Vazgeç
En İyi Yanıt

One solution is to find that other inheritance, and add that module as a dependency of your module.

This is assuming that this is actually what is happening.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 23
8579
0
Mar 15
3550
0
Şub 16
3563
2
Mar 15
4226
1
Mar 15
3579