Daily updates from Odoo
Navigate
Branch
Wednesday, November 21, 2018
6 changes
New functionality added to Odoo
A new button on the contact form lets users open signature requests related to that contact directly. This saves time for teams managing customer or partner documents by reducing navigation steps.
Enhancements to existing features
When an automated website tour fails, the logs now include more complete page information and identify the exact failed step. This makes troubleshooting faster and helps teams resolve test issues with less guesswork.
Original PR description
With this commit, a failing tour will display more information in the logs, which may be useful for debugging purpose. - display full html instead of just the content of body - display the 'content' flag of the step, which is very useful to see which step failed 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
Resolved issues and error corrections
This change makes barcode setup mandatory for Point of Sale configurations. It helps ensure POS sessions have the required barcode rules in place, preventing barcode scans from consistently failing during sales operations.
Original PR description
set barcode_nomenclature_id as required field barcode nomenclature must be required because the pos session needs it to be able to work properly. Without this scanning barcodes will always give an error. task: https://www.odoo.com/web#id=1909350&action=333&active_id=1428&model=project.task&view_type=form&menu_id=4720 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
This fixes an issue in Time Off where selected start and end hours could be stored incorrectly because partial-hour values were rounded. The change preserves the exact selected hours, improving accuracy for leave requests and related calculations.
Original PR description
In the following commit (744de4e) we introduced some floats as keys to Selection fields (namely request_hour_from and request_hour_to) This lead to the ORM creating a column of type int4 to store this field which rounded the values. In order to fix that faulty behaviour, we change these keys into strings and then convert them to floats. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
The survey invitation tool was cleaned up so it no longer carries unused email composer behavior behind the scenes. This makes the survey module easier to maintain while keeping the invitation-sending experience focused on its business purpose.
Original PR description
Purpose of this merge is to clean survey composer model. It currently inherits from mail.compose.message which also inherits from mail.message. That means a lot of fields and behavior coming from…
Purpose of this merge is to clean survey composer model. It currently inherits from mail.compose.message which also inherits from mail.message. That means a lot of fields and behavior coming from both models are present on the survey composer. Most of them are not necessary as * send_mail method of mail composer is overriden and super is not called. Nothing from the complex behavior of mail.compose.message is used; * templates are just basically supported in survey, notably mass mailing or mass posting mode are not used; * methods from mail.message should not be available on survey composer; * most m2m fields coming from mail.message and composer have no use here; In this merge we simply add the required fields and template behavior on the survey composer and remove inheritance on mail.compose.message. In this merge we also rename survey.mail.compose.message to survey.invite as it simplifies code and is easier to understand. This commit is linked to task ID 1909804.
The appraisal module was updated to work with recent changes in Odoo's survey tools. This keeps appraisal survey invitations functioning correctly after the underlying survey component was renamed and refactored.
Original PR description
Purpose is to adapt enterprise code to community changes in survey module. This commit is linked to task ID 1909804.