تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3400 أدوات العرض

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
نوفمبر 23
1793
2
مارس 21
9631
4
مارس 16
10540
1
مارس 15
6085
2
مايو 25
2226