Skip to content
Snippets Groups Projects
user avatar
Adrien Widart (awt) authored
When getting the available quantity of a product, it is possible to
specify the warehouse and/or the location in the context. However,
it does not correctly work. For instance, if we provide the stock
location ID (8) and the warehouse ID (1): we first use the view
location of the warehouse, and we then get the intersection between
this view location and the provided locations: nothing. In such case,
we should keep the stock location. Few other examples are given in
the test.

OPW-3450169

closes odoo/odoo#134680

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
Co-authored-by: default avatarSimon Schmid <simon.schmid@braintec.com>
8b53464d
History
Name Last commit Last update
..
account
account_check_printing
account_debit_note
account_edi
account_edi_facturx
account_edi_proxy_client
account_edi_ubl
account_edi_ubl_bis3
account_edi_ubl_cii
account_fleet
account_lock
account_payment
account_qr_code_sepa
account_sale_timesheet
account_tax_python
account_test
analytic
association
attachment_indexation
auth_ldap
auth_oauth
auth_password_policy
auth_password_policy_portal
auth_password_policy_signup
auth_signup
auth_totp
auth_totp_mail
auth_totp_mail_enforce
auth_totp_portal
barcodes
barcodes_gs1_nomenclature
base_address_city
base_address_extended
base_automation
base_geolocalize
base_iban
base_import
base_import_module
base_setup
base_sparse_field
base_vat
board
bus
calendar
calendar_sms
contacts
coupon
crm
crm_iap_enrich
crm_iap_mine
crm_livechat
crm_mail_plugin
crm_sms
delivery
delivery_mondialrelay
digest
event
event_booth
event_booth_sale
event_crm
event_crm_sale
event_sale
event_sms
fetchmail
fetchmail_gmail
fetchmail_outlook
fleet
gamification
gamification_sale_crm
gift_card
google_account
google_calendar
google_drive
google_gmail
google_recaptcha
google_spreadsheet
hr
hr_attendance
hr_contract
hr_expense
hr_fleet
hr_gamification
hr_holidays
hr_holidays_attendance
hr_maintenance
hr_org_chart
hr_presence
hr_recruitment
hr_recruitment_survey
hr_skills
hr_skills_slides
hr_skills_survey
hr_timesheet
hr_timesheet_attendance
hr_work_entry
hr_work_entry_contract
hr_work_entry_holidays
http_routing
hw_drivers
hw_escpos