diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-10-19 15:41:37 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-11-14 17:26:37 +0100 |
| commit | 20c19560cd7f8c5403c5e764091cb664f5f27eb1 (patch) | |
| tree | da1b275ff371f781638166338aa6876ea3094cc1 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | fb7e1ed2384c19830451ab9a421d29df8e5435d0 (diff) | |
[FIX] stock_account: to value or not to value
The initial condition was too naive, it only checked the presence of
company_id on the concerned locations. This is problematic because
people need to create, for instance, multile inventory loss locations
once they have multiple companies, as the accounts set on the locations
are not property fields.
We also use the same condition to determine if the move is IN or OUT on
the move valuation mechanism and the accounting entries creation
mechanism.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
