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