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

Hi! New in Odoo.. my version is  8.0

I have a procurement (from a SO) and the item has a supplier, the warehouse check "Purchase to resupply this warehouse" is on. I think all is ok, but...
I try to make a PO from the procurement  ("Extra Information" Tab) clicking in "Create an Edit" and I get to create a PO but... when I return to the procurement and push "Save" (to save the changes) the PO number disappears! 

I`m not sure if it is a Bug or I´m doing something wrong.

Thanks for help and I hope than someday I could be the person thats help you... ;)

Awatar
Odrzuć
Najlepsza odpowiedź

Hello mikel,

If it is Computed field then you have to use (store=True) in that PO field. Like below

PO_numb = fields.Integer(compute='_compute_PO', string="PO_numb" , store=True)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 23
1708
2
mar 21
9519
4
mar 16
10409
1
mar 15
5942
2
maj 25
2081