[FIX]note: notes with undefined stages did not appear if the user had defined stages (they appeared if the user had no stages defined)
bzr revid: dle@openerp.com-20131127151815-gzk9py9wtzmndziw
This commit is contained in:
parent
866a7c92b6
commit
a1eb7fffc2
|
@ -147,6 +147,7 @@ class note_note(osv.osv):
|
|||
if result and result[0]['stage_id'][0] == current_stage_ids[0]:
|
||||
dom_in = result[0]['__domain'].pop()
|
||||
result[0]['__domain'] = domain + ['|', dom_in, dom_not_in]
|
||||
result[0]['stage_id_count'] += nb_notes_ws
|
||||
else:
|
||||
# add the first stage column
|
||||
result = [{
|
||||
|
|
Loading…
Reference in New Issue