summaryrefslogtreecommitdiff
path: root/addons/barcodes/static/src/js/barcode_parser.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-07-14 15:52:23 +0200
committerDenis Ledoux <dle@odoo.com>2015-07-14 17:12:28 +0200
commitc15c07c40517bfece5df66106772ed16eedcf6fa (patch)
tree73087e46f737bcb0a4847565685345a759365efd /addons/barcodes/static/src/js/barcode_parser.js
parent6dfbca2ba06b4f2b3d908509b6b4ae1d44e0cc15 (diff)
[FIX] expression: search inactive records for multi-path domains
When searching records with a many2one multi-path domain e.g. [('employee_id.user_id', '=', uid)] on `hr.holidays`, inactive records were ignored e.g. if the employee of the leave request is disabled. For instance, this was not possible to search holidays of a disabled employee, while you would want to see holidays of an employee who is no longer working in the company. This leads to a huge change of behavior, and this is why we decided to not apply this fix within a stable release, such as 7.0 or 8.0, as companies in production might rely on the current behavior for their business, and changing this suddenly is not accepted. This must not be applied for one2many fields: Disabled records of a one2many fields must be considered as deleted. A search with a multi-path domain on a one2many must exlude inactive records. opw-644718
Diffstat (limited to 'addons/barcodes/static/src/js/barcode_parser.js')
0 files changed, 0 insertions, 0 deletions