Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3381 Представления

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... ;)

Аватар
Отменить
Лучший ответ

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)

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 23
1775
2
мар. 21
9604
4
мар. 16
10499
1
мар. 15
6044
2
мая 25
2206