[IMP] stock_account: stock journal in multicompany
authorMartin Trigaux <mat@odoo.com>
Tue, 28 Oct 2014 14:57:14 +0000 (15:57 +0100)
committerMartin Trigaux <mat@odoo.com>
Tue, 28 Oct 2014 14:57:14 +0000 (15:57 +0100)
commited5fc84a373920a9740cac990cab33666f3373f8
tree80ce11414722c66a6cf88e1a3920ab5dbe1bee1f
parent4b6363b7a67a4b69baae9486a686aff8a9eda38c
[IMP] stock_account: stock journal in multicompany

Restrict the property_stock_journal to the main company only. This avoids errors in multicompany when the stock journal of the main company (getting an error company mismatch) is used instead of a more useful message explaining the missing stock journal.
Fixes #3251
addons/stock_account/product_data.xml