New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX]: Fix the traceback when click on the location and warehouse fil… #31316
[FIX]: Fix the traceback when click on the location and warehouse fil… #31316
Conversation
15e1bd7
to
b7cc33c
Compare
b7cc33c
to
2d45534
Compare
2d45534
to
ed9d644
Compare
Linked to #30368 where |
91fc9ae
to
e8e478c
Compare
addons/stock/models/product.py
Outdated
domain += [('company_id', '=', self.env.context['force_company'])] | ||
location_ids = self.env['stock.location'].search(domain).ids | ||
|
||
def _search_ids(model, value, force_company_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
values
addons/stock/models/product.py
Outdated
domain += [('company_id', '=', self.env.context['force_company'])] | ||
location_ids = self.env['stock.location'].search(domain).ids | ||
|
||
def _search_ids(model, value, force_company_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comment: dummy field uset in the search view will always return a list of ids or a list of string
a7da4ca
to
7e39727
Compare
robodoo r+ |
'ci/runbot' failed on this reviewed PR. |
'ci/runbot' failed on this reviewed PR. |
1 similar comment
'ci/runbot' failed on this reviewed PR. |
Purpose: filter product by location of warehouse failed due to the control panel refactoring (odoo#29106). This commit fix the way the product quantities are computed when location/warehouse into filter context. Task:1941639 Co-Authored-By: Martin Geubelle <mge@odoo.com>
7e39727
to
5a2bcf8
Compare
robodoo r+ |
Purpose: filter product by location of warehouse failed due to the control panel refactoring (#29106). This commit fix the way the product quantities are computed when location/warehouse into filter context. Task:1941639 Co-Authored-By: Martin Geubelle <mge@odoo.com> closes #31316 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Staging failed: ci/runbot on 4fd16198707025667427575458e7379912fa7016 (view more at http://runbot.odoo.com/runbot/build/516586) |
@robodoo retry |
Merged, thanks! |
Pad:https://pad.odoo.com/p/r.032e5b9719b7f74f02ff5ca5a1a7e6db
Task:https://www.odoo.com/web#id=1941639&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720