Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4267 Widoki

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.


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 18
9537
2
maj 25
1944
1
gru 24
2272
1
mar 21
2688
1
sty 16
3789