175
181
return move_ids, so_ids, invoice_ids
177
def _get_problem_tender(self, cr, uid, order, context={}):
183
def _get_problem_tender(self, cr, uid, order, context=None):
179
185
Check if all request for quotations and all purchase orders
180
186
generated from the tender is closed or canceled
182
190
po_ids = self.pool.get('purchase.order').search(cr, uid, [('state', 'not in', ['cancel', 'done']), ('tender_id', '=', order.id)], context=context)
183
191
if context.get('count', False):
188
def _get_problem(self, cr, uid, ids, field_name, args, context={}):
196
def _get_problem(self, cr, uid, ids, field_name, args, context=None):
190
198
Returns True if at least one doc stop the manually done processe
194
204
c.update({'count': True})