Daily updates from Odoo
Friday, March 29, 2019
2 changes · master
New functionality added to Odoo
Online shops can now place a product search bar anywhere on the website, including autocomplete to help shoppers find items faster. The shop page also uses this improved search by default, and website editors can customize it through snippet options.
Original PR description
* website When the e-commerce is installed, you can now add a new snippet that can be dropped anywhere: a search bar to search for products with an autocomplete feature. That snippet is also used as default "/shop" search bar. Finally, you have the possibility to customize the snippet via snippet options. task-1866973 Co-authored-by: qsm-odoo <qsm@odoo.com>
Belgian payroll now includes a dedicated meal voucher report showing eligible vouchers per employee and per month, with export-ready spreadsheet output. The calculation is based on qualifying work days from work entries, helping payroll teams review and apply meal voucher quantities more accurately.
Original PR description
Purpose ======= Add a nice report with meal vouchers. Allow to export a clean xls with meal voucher by employee and by month. Specification ============= A meal voucher should be granted for each normal work day of at least 4 hours. Work days are based on work entries. Pivot view: - rows: employees - columns: number of meal vouchers by month Default filter: this year. An sql view report is added to compute meal voucher for each day. It is used both in the pivot view and in the meal voucher salary rule (through a computed field) as the quantity. Note: In the pivot view, we would like months to be sorted the more recent on the left. However this is currently not supported neither by the pivot view, nor by `read_group` through the `_order`.