[MERGE] [FIX] l10n_be_invoice_bba: correctly create bba reference when creating an...
authorXavier ALT <xal@openerp.com>
Mon, 24 Jun 2013 09:32:49 +0000 (11:32 +0200)
committerXavier ALT <xal@openerp.com>
Mon, 24 Jun 2013 09:32:49 +0000 (11:32 +0200)
commitbc04244ec86843ee00a964ac0b10de17d897feae
tree191b82ad28f5a512bc97c6c3964b6c2f791da3df
parent34ca8aeccea9d705829e21df46a3518300dfe30e
[MERGE] [FIX] l10n_be_invoice_bba: correctly create bba reference when creating an invoice

  When creating an invoice from another object (sale: invoice from sale order
  line, sale: invoice on delivery order, ...) we have to make sure that newly
  created invoice respect partner's default ``communication type``, and
  accordingly generate a new BBA if required and none provided.

  backport of v7.0 revid: xal@openerp.com-20130624083322-h3h4h8nn876585m3

lp bug: https://launchpad.net/bugs/1135710 fixed

bzr revid: xal@openerp.com-20130624093249-atrodbt0shwwvwg1
addons/l10n_be_invoice_bba/invoice.py