Comment 1 for bug 1107771

Revision history for this message
André Winkler (aw-i) wrote :

I have found the solution for this problem.

ERROR: "2013-01-28 11:05:56,827 17373 ERROR xx openerp.tools.yaml_import: AssertionError in Python code : Procurement order hasn't Created."

File: "stock_location/test/stock_location_pull_flow.yml"

Line: 196 -> procurement_ids=self.search(cr, uid, [('name','=','E001')])

Solution: procurement_ids=self.search(cr, uid, [('name','=','Testing pulled flow')])

__________________________

ERROR: " 2013-01-28 11:05:56,828 17373 ERROR xx openerp.tools.yaml_import: AssertionError in Python code : Picking hasn't Created."

File: "procurement/procurement_workflow.xml"

Line: 156 -> <field name="condition">not check_produce() and not check_buy()</field>

Solution: <field name="condition">not check_produce() and not check_buy() and not check_move()</field>

The secound Problem of the test is that the workflow didn't create the stock.picking object. The extended part of the procurement workflow in "stock_location/procurement_pull_workflow.xml" didnt work, because the base workflow in "procurement/procurement_workflow.xml" has a Item with incomplete condition.