Thursday, December 6, 2018
16 changes
New functionality added to Odoo
Odoo Studio now lets users add an Activity view to an action, making it easier to track and manage follow-up tasks directly from customized apps. When Activity features or chatter are added, Studio also enables the needed activity capability on the underlying model automatically.
Original PR description
The `activity` view can now be added on an action using Studio. The mixin `mail.activity.mixin` is added on the model (using `is_mail_activity`) when adding the view but also when adding the chatter in the form view. Task 1889687
Adds a new dashboard for Live Chat Enterprise that gives teams a quicker overview of chat sessions and operator performance. This helps managers monitor support activity and make staffing or service decisions more easily.
Original PR description
Uses the channel report view from community to make a Dashboard in order to get a better and quicker vision of the sessions and operators stats. Task ID : 1895998 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
This update simplifies Belgian payroll calculations by consolidating salary rules and using official formulas for withholding tax, which should make payroll processing clearer and faster. It also refreshes Belgian legal payroll data, updates deprecated classifications, and improves payroll localization setup for Belgium, India, Brazil, and France.
Resolved issues and error corrections
This fix prevents line charts from failing when they encounter missing label values, especially when multiple groupings are used or users switch from bar charts to line charts. Business users get a more reliable graph view instead of an error traceback when opening reports.
Original PR description
Description of the issue/feature this PR addresses: Issue-Link: https://www.odoo.com/web#id=1882328&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad-ID: https://pad.odoo.com/p/r.d6a3403499a66e5503978336375515ae Before this commit: While the user was opening first-time line chart graph, at that time undefined label values were not being converted into undefined string due to misplacing code. So it was giving traceback error. After this commit: The code has been moved to the proper place. Issue-ID: 1882328 Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Original PR description
1/ hr_contract_salary: Remove hr.contract.advantage.template model It was a failed attempt to make somethig generic. Sometimes we are not the only ones to choose. Closes #28727 2/ hr_payroll:…
1/ hr_contract_salary: Remove hr.contract.advantage.template model
It was a failed attempt to make somethig generic. Sometimes we are not the only ones to choose.
Closes #28727
2/ hr_payroll: Retrieve localdict default value from a method
3/ l10n_be_hr_payroll: Merge both miscellaneous onss rules
This is useless to have 2 separate rules.
4/ l10n_be_hr_payroll: Move withholding tax reductions into the same rule
Compute the 'precompte professionnel' directly instead of having more than
10 rules just for that.
5/ l10n_be_hr_payroll: Update 'Bonus à l'emploi' up to 01/09/2018
See: https://www.socialsecurity.be/employer/instructions/dmfa/fr/latest/instructions/deductions/workers_reductions/workbonus.html
6/ l10n_be_hr_payroll: Remove duplicated salary rule
This rule is a reduction for the ONSS contribution, not a reduction for
the précompte professionnel.
The reduction for the ONSS contribution is already implemented.
7/ l10n_be_hr_payroll: Rename C.P. 218 into CP 200
The CP 218 is deprecated since 2015. See https://www.jesuisemployeur.be/banque-d-info/actualites/la-cp-218-devient-la-cp-200-qu-en-est-il-des-entreprises-qui-relevent-actuellement-des-cp-100-et-200
8/ l10n_be_hr_payroll: Use the magic formula for the PP computation
The 'Précompte Professionel' can be deducted from a formula if you're
patient enough to read https://finances.belgium.be/sites/default/files/downloads/700-formule-cle-20180101.pdf
This commit remove all the hr.salary.rules from the official tables
and use the formula instead. This should improve the performances too.
9/ hr_payroll: Show only localizations on res_config
10/ hr_payroll: Install the correct module when enabling accounting
Closes #29207
11/ l10n_br_hr_payroll_account: Remove useless dependency
12/ l10n_in_hr_payroll: Add dependency to l10n_in
13/ l10n_be_hr_payroll: Add dependency to l10n_be
TaskID: 1915125Partner autocomplete now informs users when the service cannot return suggestions because available credits have been exhausted. This makes the limitation clear at the point of use, reducing confusion and helping users take action to restore access.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The reconciliation screen now warns users when a bank statement line appears to match a sales order that is sent or waiting to be invoiced. This helps staff confirm the sales order and create the invoice first, so the customer prepayment can be reconciled correctly afterward.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Product and product variant screens were cleaned up with clearer labels and layout improvements. Sales, purchase, and manufacturing shortcuts now show more accurate information and open the expected analysis views, while archiving a single remaining active variant also archives its related product template.
Original PR description
Several last cleaning in the product and product variant form : - various labelling and design improvements - sales, purchased and manufactured stat button (number of sales was incorrect and click will now open normal sales analysis) - now archiving related product.template if there is only one active product.product Task-1880039 closes #28633 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website and portal pop-ups now handle long content more smoothly by scrolling inside the pop-up instead of moving the whole page. This makes forms, dialogs, and other pop-ups easier for visitors to use on smaller screens or when content is lengthy.
Original PR description
Odoo overrides the modal behavior to make the modal-body scroll instead of the <body/> when the modal would overflow the window. This was however only done for "technical" modals i.e. the ones of the Odoo UI, not the website/portal ones which are displayed to visitors. This commit makes the behavior active for all bootstrap modals wherever bootstrap is used.
CRM Reveal has been made easier to configure with clearer labels, better field ordering, and additional filtering options. Users can now refine lead generation rules by location/state, contact type, and company size, helping teams target better prospects with less setup friction.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The HR organization chart now supports recursive reporting structures, so an employee can appear in more than one place when real-world management relationships overlap. This makes charts more accurate for complex organizations, while improving how expanded hierarchy views show subordinate employees.
Original PR description
Purpose ======= Allow recursive hierarchy (an employee can be its own manager; e.g. the CEO is manager of everyone but is also member of a department managed by the CTO who is himself managed by the CEO). This means an employee might appear in multiple place in the organisational chart. The button to see more of the hierarchy in the organisation chart opens all employees under the N+2 of the current employee being displayed but does not open the view of the N+2. It onl Specification ============= Add 'subordinates_ids' computed field on 'hr.employee' to get all subordinates (direct and indirect). Task 1251 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Custom business objects can now be marked as supporting activities more reliably, including those created through Studio. This prevents crashes when showing activity reminders for custom objects and makes empty activity screens clearer for users.
Live chat reporting now includes more useful indicators such as unanswered chats, activity days, visitor country, operator assignment history, and per-operator ratings. Support teams can use nicknames instead of full names in live chat, improving privacy while keeping dashboards and statistics more accurate.
Original PR description
**Adds indicators in channel report** in order to use them in the new enterprise livechat dashboard. Those indicator are added here to re-use directly the channel report view. It allows the users to use also those new indicators in the existing reports. **Adds optional livechat_username :** To avoid to know the complete name of the support members (for privacy purpose). **Adds livechat_operator_id on the mail.channel :** we ensure that, even if the operator of the discussion is removed from the operators of the livechat.channel, we can still know who was the operator, at the time of the discussion. In that way, we can still keep the history of the former assigned operator. **Adds more precision about ratings per operators** that worked on the last 100 feedbacks for a specific channel **on the channel stat webpage**. Also, uses anonymous name only if visitor is anonymous. If visitor is logged in, we use directly his partner.name. Task ID : 1895998
The Lunch app now supports alerts that can show messages to users during ordering. The ordering wizard has been simplified for a cleaner experience, and toppings are now organized by product category instead of supplier to make setup and selection more intuitive.
Original PR description
We want to be able to use alerts in order to display a message to the users. We want to have a minimal display in the wizard. We want to link the toppings to the categories instead of the suppliers.
Users are now notified when partner autocomplete cannot continue because there are not enough credits. This makes the situation clearer and helps users understand why company or contact suggestions are unavailable.
Original PR description
Show notification when not enough credits for partner_autocomplete -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The VoIP calling component was updated to work better with current web browsers, resolving issues where audio streams could fail to open. The change should improve call reliability and also makes it easier for support teams to diagnose SIP call traces when needed.
Original PR description
Before this commit, the version of SIP JS used was 0.7.3, which was not fully compatible with last versions of web browsers. Which results in multiple errors with audio media stream (the streams were not opened, etc). With the version 0.10.0, these errors are solved. In addition, this commit adds the possibility to debug the SIP trace without changing the JS code.
This update simplifies Belgian payroll calculations by consolidating overlapping rules and using official formulas for withholding tax. It also refreshes Belgian payroll data, removes obsolete salary setup logic, and improves module configuration so payroll and accounting dependencies are installed more reliably.
Original PR description
1/ hr_contract_salary: Remove hr.contract.advantage.template model It was a failed attempt to make somethig generic. Sometimes we are not the only ones to choose. Closes #28727 2/ hr_payroll:…
1/ hr_contract_salary: Remove hr.contract.advantage.template model
It was a failed attempt to make somethig generic. Sometimes we are not the only ones to choose.
Closes #28727
2/ hr_payroll: Retrieve localdict default value from a method
3/ l10n_be_hr_payroll: Merge both miscellaneous onss rules
This is useless to have 2 separate rules.
4/ l10n_be_hr_payroll: Move withholding tax reductions into the same rule
Compute the 'precompte professionnel' directly instead of having more than
10 rules just for that.
5/ l10n_be_hr_payroll: Update 'Bonus à l'emploi' up to 01/09/2018
See: https://www.socialsecurity.be/employer/instructions/dmfa/fr/latest/instructions/deductions/workers_reductions/workbonus.html
6/ l10n_be_hr_payroll: Remove duplicated salary rule
This rule is a reduction for the ONSS contribution, not a reduction for
the précompte professionnel.
The reduction for the ONSS contribution is already implemented.
7/ l10n_be_hr_payroll: Rename C.P. 218 into CP 200
The CP 218 is deprecated since 2015. See https://www.jesuisemployeur.be/banque-d-info/actualites/la-cp-218-devient-la-cp-200-qu-en-est-il-des-entreprises-qui-relevent-actuellement-des-cp-100-et-200
8/ l10n_be_hr_payroll: Use the magic formula for the PP computation
The 'Précompte Professionel' can be deducted from a formula if you're
patient enough to read https://finances.belgium.be/sites/default/files/downloads/700-formule-cle-20180101.pdf
This commit remove all the hr.salary.rules from the official tables
and use the formula instead. This should improve the performances too.
9/ hr_payroll: Show only localizations on res_config
10/ hr_payroll: Install the correct module when enabling accounting
Closes #29207
11/ l10n_br_hr_payroll_account: Remove useless dependency
12/ l10n_in_hr_payroll: Add dependency to l10n_in
13/ l10n_be_hr_payroll: Add dependency to l10n_be
TaskID: 1915125