Daily updates from Odoo
Friday, December 7, 2018
9 changes · master
New functionality added to Odoo
The reconciliation screen now alerts users when a bank statement line appears to match a sent or invoice-ready sales order. This helps teams quickly confirm the order, create the invoice, and reconcile prepayments with less manual searching.
Original PR description
…ing un-invoiced sale order Task: 1879015 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
The website now reuses the standard live chat channel instead of creating a separate one, making setup easier and more consistent. Demo environments also include the administrator as a default live chat operator, so testing live chat works with less manual configuration.
Original PR description
In order to facilitiate the configuration of a livechat on the website, the first livechat channel that was demo data from im_livechat is now set as data. Website is now using this first livechat channel instead of creating a new one and using it. Merge related to task ID 1912056.
When a signature request is sent, eligible internal users who need to sign now automatically receive a To Do activity called "Sign document." Completing the signature marks the activity as done, helping teams track pending signatures without changing the document if the task is manually closed.
Original PR description
When you ask for a signature, To Do "Sign document" activity is created for each internal users that have to sign the document. Signing the document marks the activity as done, but marking the activity as done has no impact on the document. Task : https://www.odoo.com/web#id=1912199&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720
Resolved issues and error corrections
Payroll salary rules can now correctly treat a quantity or rate of zero as an intentional value instead of replacing it with a default. This avoids incorrect payslip totals when a rule is meant to produce no amount.
Original PR description
Fixes https://github.com/odoo/odoo/issues/29205 Should probably be backported to previous versions. /cc @tivisse -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @xoe-labs
Features or functions removed from Odoo
This change removes an overly generic benefit template model from salary contract handling and moves related configuration into the relevant payroll localization. This should make the setup easier to maintain and better aligned with country-specific payroll needs, with limited direct impact for most business users.
Original PR description
It was a failed attempt to make somethig generic. Sometimes we are not the only ones to choose. 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
Code cleanup and technical improvements
This change reorganizes how Odoo’s web interface builds and manages the control panel and search tools. It should make the interface easier to maintain and extend, especially for dashboards, favorites, spreadsheets, attendance, mail, point of sale, and accounting workflows that rely on these shared controls.
Original PR description
This branch introduces a large-scale reorganization of the component tree generated by the web client. The short version is that now, the control panel is a child of the view controller and no longer…
This branch introduces a large-scale reorganization of the
component tree generated by the web client. The short version is
that now, the control panel is a child of the view controller and
no longer a sibling. Graphically (and simplified), we go from
this:
webClient
/ | \
... ... actionManager
/ \
controlPanel viewController
/ \
to this:
webClient
/ | \
... ... actionManager
|
viewController
/ | \
ControlPanelController
/ \
CPRenderer CPModel
The motivation is that this work moves the code where it should be.
Before this commit, it was kind of weird to have code in the
controllers to render buttons outside of their root node (in
renderButtons). Also, the action manager had to take care of
coordinating search view states between view transitions.
So, this work simplifies the code. It also makes it easier to
extend. We see day after day that Odoo needs to take care of more
complex UI needs, and in many cases, these needs were quite
difficult to implement (we prefer spaghettis in our plates, not in
our code). The changes in this branch should open the way to
implement these features.
For example,
- it will now be easy to add the possibility of views (for example,
the search view or a new ControlPanel view) to add custom buttons
(of type action or object) in the control panel.
- Another need will be to serialize/ restore the state of the
search view across action boundaries (needed by the dashboard).
- Another example is the possibility for views to customize easily
the presence/absence of sub menus (filters/groupbys/favorites/
time range/...)
- Another need is an easier way for views/client action to customize
their control panel.
This commit also contains a large rewrite of the search view (so it
is more inline with our architecture and easier to maintain).
Part of task 1893568
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Co-authored-by: Martin Geubelle <mge@odoo.com>
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update streamlines how outgoing emails are prepared and sent across Mail-related features. It removes unnecessary internal steps, making email delivery code easier to maintain while preserving existing business workflows for mail, mass mailing, and website channels.
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
Document management has been separated from the general attachment system, making attachments simpler and documents easier to manage as their own business object. The update also restores the attachment button for records without chatter, so users can still find related files where expected.
Original PR description
The first implementation of `documents` was based on `ir_attachment`, adding fields only useful when the attachment was a document. This task splits documents in a new model called documents.documents, and clean the logic accordingly. This task also recovers the "attachment" action button, to list attachments on a model without chatter. related to: odoo/enterprise#3048 task: #1908896
This update restructures how page controls and search options are embedded inside Odoo screens, aligning Enterprise apps with a broader web client change. Users should see the same functionality, while teams benefit from a cleaner foundation for maintaining Studio, reports, dashboards, barcode flows, documents, and other custom actions.
Original PR description
This PR is the enterprise version of PR https://github.com/odoo/odoo/pull/29106. This PR contains the necessary adaptations to the new component structure. The code most impacted is certainly web_studio and custom client actions.