Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5365 มุมมอง

I get this error: ValueError: "name 'procurement_lines_get' is not defined" while evaluating u'procurement_lines_get()'

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

I've got that issue too.  It does not appear with a new database, but only with a previously created database. This is probably due to a change in the workflow XML that does is not updated in existing databases.

To fix the issue:

  • go to Settings -> Technical -> Workflows -> Transitions
  • advanced search "Trigger expression = procurement_lines_get()"
  • Delete the transition
  • upgrade the "sale" module, that will recreate the transition with the correct parameters.

After that, confirming sale orders should work again.

Regards,

Jos

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thank you... works great!!!

อวตาร
ละทิ้ง