Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty


Hi !


I'm working on migrate Odoo13 to Odoo 14.

I use Xml-Rpc to communicate with my logistic company.

So I update delivery orders with qantity delivered, I validate them by "simulating" a click on validate button. All is ok.

But for those who need backorder and product still unavailable, I'm not able to validate them nor creating the backorder.


I correctly get the "Create backorder ?" message.

I answer it by :

back_order_model = connection.get_model('stock.backorder.confirmation')

back_ord=back_order_model.process([id_to_process])


I get the "true" answer in back_ord but the delivery order is not validate (still in "ready") and no backorder has been created !!


Is something has changed in V14 ?

O did I missed a parameter somewhere in odoo config ?



Thanks to all !

Hedge


Avatar
Hylkää
Tekijä

Hi All !
I have found that the
var_something=stock_model.button_validate
was answering an 'RES_ID' with an ID in Odoo 13 but in Odoo 14 it don't !!

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
marrask. 22
4294
2
maalisk. 22
3631
0
maalisk. 21
2388
1
kesäk. 24
3569
2
elok. 24
8446