[FIX] account: default domain on journal_id field for invoices
authorDenis Ledoux <dle@odoo.com>
Mon, 16 Jun 2014 14:55:58 +0000 (16:55 +0200)
committerDenis Ledoux <dle@odoo.com>
Mon, 16 Jun 2014 14:55:58 +0000 (16:55 +0200)
commit63ea0df73ffd6bf659b2ef29cdc3d3387bec92ac
treefaa5cf2237f3b7774bece74f561d7970b0859292
parent390c811db87ab7404db420f9cd4e3b4e8db9e048
[FIX] account: default domain on journal_id field for invoices

Prior to this fix, the domain was set in the onchange methods onchange_company_id. Therefore, if the onchange was not triggered, the domain wasnt apply (e.g. while editing an existing invoice).
addons/account/account_invoice.py