77
75
proc_ids = self.search(cr, uid, [('state','=','confirmed')])
78
76
assert proc_ids, _('No Procurements!')
82
80
!function {model: procurement.order, name: run_scheduler}:
83
81
- model: procurement.order
84
82
search: "[('state','=','confirmed')]"
86
84
I check that the procurement for the product table is in exception state.
89
87
!python {model: procurement.order}: |
90
88
from tools.translate import _
91
proc_ids = self.search(cr, uid, [('state','=','exception')])
89
proc_ids = self.search(cr, uid, [('state','=','exception'),('product_id','=',ref('sale.product_product_table0'))])