跳至内容
菜单
此问题已终结
1 回复
3380 查看

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)

形象
丢弃
相关帖文 回复 查看 活动
1
11月 23
1768
2
3月 21
9601
4
3月 16
10497
1
3月 15
6034
2
5月 25
2192