Skip to Content
Menú
This question has been flagged
2 Respostes
4234 Vistes

Hello,

I want Odoo to update my Receipt as soon as I update my PO.


For example i have a PO with the product shirt and quantity 10. Its already confirmed so a receipt was created.


I now change the quantity to 5 but in the receipt it is still on 10 but i want it to update automatically.


How can i change this?


Many thanks in advance.


Avatar
Descartar
Best Answer

Hello,


you have to write your custom code for updating receipt while you updating PO. write your custom code in write() method of purchase.order model.

regards

Avatar
Descartar
Autor Best Answer

Ah okay thank you.

Is there a good course on Odoo customization that you could recommend?

I´m pretty new to this but i wanna learn it.


Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de set. 18
9494
2
de maig 25
1903
1
de des. 24
2242
1
de març 21
2667
1
de gen. 16
3770