[MERGE] OPW 585231: edi: wait longer for parent transaction to complete
authorXavier ALT <xal@openerp.com>
Thu, 28 Feb 2013 15:30:34 +0000 (16:30 +0100)
committerXavier ALT <xal@openerp.com>
Thu, 28 Feb 2013 15:30:34 +0000 (16:30 +0100)
commitbae5506c7624eb23097147571934e3fc75474ea5
treeb2249f0c9af80e57e994671f1065c6a37c8baaa1
parent42257d1e069b721782ec43fdd6583c8a2d0bf017
parent7975e5cf541247583c356ea439d87aa3a5e46147
[MERGE] OPW 585231: edi: wait longer for parent transaction to complete

  Wait for parent transaction to complete by watching if it's parent cursor
  has been closed or not. For batch transaction (ex: confirming 50 invoices
  at once using 'Confirm Draft Invoices' wizard) that might take longer
  that 3 seconds! and we end up sending edi mail with old record values.

bzr revid: xal@openerp.com-20130228153034-6ttt05qzwoo02ah4