Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4308 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
sep. 18
9585
2
mei 25
1975
1
dec. 24
2298
1
mrt. 21
2722
1
jan. 16
3825