Daily updates from Odoo
Wednesday, April 17, 2019
6 changes · master
Enhancements to existing features
Inventory procurement now checks whether enough stock is already available before triggering make-to-order replenishment. This helps businesses use returned or existing items first, reducing unnecessary purchasing or manufacturing while still replenishing when stock is insufficient.
Original PR description
In some occasions, products can be available in a location, but are still ignored when the MTO is set on those products.
(e.g.: When a product is returned)
To avoid this, we add a `procure_method` named `mts_else_mto`, allowing procurement to reserve the products if enough of them are available in his source location.
In order to achieve this, we apply the MTS or the MTO `procure_method` on the moves from the procurement depending on whether or not there are enough quantities of the needed products in the source location ('All or nothing' logic).
TaskID: 1831347Payroll teams now have a dedicated dashboard to review key payslip and payroll indicators. This makes it easier to monitor payroll activity, spot trends, and access reporting information from the payroll app.
Original PR description
Create a dashboard to get some kpi about payslips and payroll id=1936802
This update adjusts Belgian payroll calculations to the 2019 employer ONSS rate and adds a dedicated private car commuting option with rule-based reimbursement. It also updates salary package choices by changing commission payment timing and simplifying phone subscription options and defaults.
Original PR description
[FIX] l10n_be_hr_payroll: Change employer ONSS rate to 2019 value ========== New ONSS rate: 27.14% [IMP] hr_contract_salary: Change commission plan ======= Currently, commissions are warrants every…
[FIX] l10n_be_hr_payroll: Change employer ONSS rate to 2019 value ========== New ONSS rate: 27.14% [IMP] hr_contract_salary: Change commission plan ======= Currently, commissions are warrants every month. After this commit, commission are paid 3 months in warrant and 9 months in cash. [IMP] hr_contract_salary: Change phone subscription layout and amount ========= Currently: --------- The layout looks like: (radio) "Yes" (radio) "No" [checkbox] "+ International communication" The default value for mobile plus is 50 (total: 80) The international communication checkbox is only displayed when "Yes" is selected. After this commit: ----------------- Layout: - [x] "No" - [ ] "30 €" - [x] "50 € (+ International Communication)" Radio buttons are displayed in column instead of line because it doesn't fit in one line anymore. Default value for mobile plus is 20 (total: 50) [IMP] l10n_be_hr_payroll: Add private car transport mode ============= Purpose -------------- Currently when an employee comes to work with his private car, the reimbursed amount is provided with the `transport_mode_others`. Any amount can be entered without restriction. However CP200 has a rule to compute the reimbursed amount in this case, based on the number of kilometers between home and the work place. Specification ---- Add a transport mode "Uses private car". Compute the amount to reimbursed based on `km_home_work`. See task 1913545 for the computation rule. Add a salary rule for this new reimbursed amount. Hide "Other Reimbursed amount" on the contract form. Task 1941406
Payslip users can now choose clear work entry and input types instead of having to remember internal codes. This makes manual payroll entry easier and reduces the risk of selecting or typing the wrong payroll information.
Original PR description
We would like a normal human (not a developer) records manually a payslip without knowing "Code" by heart. So in payslip, we would like "Worked Day" be linked to work_entry_type and Other Input be selectable according possible one on the structure. Replace the field code in work day line with an work entry type. In Other input fields, we can select a type. We doesn't need to know the code anymore. id=1958673
Resolved issues and error corrections
Point of Sale users can now process negative payments from the touchscreen when refunding money to a customer. This makes refunds easier to handle directly at checkout and avoids workarounds for return transactions.
Original PR description
currently, if a user wants to return fund to the customer. we don't have a button to bill negatively. that will fixed. Task-ID: 1929650 Closes: #31054 Task:https://www.odoo.com/web#id=1929650&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.5745606edc51c9662beff81d277af3e3 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update prevents the email editor from saving changes before the page element is ready, avoiding a client error when opening mail template previews. It also tidies related checks in the mass mailing editor code, improving reliability without changing the user workflow.
Original PR description
Task:https://www.odoo.com/web#id=1950784&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.60b7430cf6fbf05a3551172fd4852e5b -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr