diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-11 13:20:06 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-11 13:22:48 +0200 |
| commit | 9d2dbda8cacbdefecd530e3e43049b5fc55e7a7d (patch) | |
| tree | c0ce79cae0eed61b49ed128cfff046eb5e18b05a /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | fdc6ba18206d7ee00118e58e9eb1d75350e1b498 (diff) | |
[FIX] stock_dropshipping: not enough stock warning for MTOs
When 'stock_dropshipping' was installed, in a sale order,
choosing a product being stockable + buy + MTOs returned
the "Not Enough Stock" warning, while it shouldn't.
It's because the according method `_check_rounting` was
overriden in this module, with a @api.one, which aggregates, while
the method expects to return a simple boolean even for a list of
multiple ids.
Converting the method to @api.multi solves the issue.
opw-639426
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
