Daily updates from Odoo
Navigate
Branch
Tuesday, January 15, 2019
9 changes
Security fixes and vulnerability patches
Survey access has been tightened so employees, portal users, and public visitors use the intended survey pages instead of backend records. Survey sharing is now clearer with options for public, login-only, employee-only, or invitation-only access, and the invitation flow has been simplified with recipient-specific tokens.
Original PR description
Purpose of this merge is to refactor, clarify and fix surveys access rights and rules. Indeed currently surveys access rights and rules are not very clear. This application is currently used mainly for external and public surveys. In this merge we clean access on survey models. Basically only surveys officers and managers have access to the models. Other people including employees, portal users and anonymous people users have to use the portal view and dedicated routes instead of accessing data through the backend. In this merge we also expand the access options of surveys. Surveys can be public, limited to authenticated people, limited to employees or on invitation only. Invite wizard has been redone to simplify it and better support those options. For more details about the content please have a look at each subcommits. This merge is linked to task ID 1911586 and PR #28986.
New functionality added to Odoo
Adds a depreciation table report for fixed assets so accounting firms can prepare required annual accounts documentation. This helps meet legal reporting needs by making asset depreciation information available in a dedicated report.
Original PR description
OPW 1925898 We absolutely need the depreciation table for accounting firms. This is a legal document for "comptes annuels"..
Enhancements to existing features
Payroll can now identify whether a work schedule counts as full-time or part-time based on the required weekly hours for that calendar. This helps salary rules and leave eligibility reflect country- or sector-specific full-time definitions, such as different weekly hour thresholds in Belgium.
Original PR description
Purpose ======= In order to be able to manage payroll, we need to know if a resource calendar is a full time or a part time. For instance, in belgium, 23h a week is a full time for a teacher but in cp 200 it is 38h. In belgium every employee can take a parental leave in part time but he cannot take it in part time if they are not full time. Having a field indicating if the contract is full time or not is useful for computing salary rules. Specification ============= On the calendar model - Display a computed field with the number of hours in the calendar - Display a field with the required number of hours to be full time - Display a computed checkbox, ticked if full time or not On the contract model - Add a related on these fields, to ease the access on the salary rules computation. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Survey test-mode submissions are no longer included in statistics and reports, keeping survey results accurate for decision-making. Users also see a warning when viewing surveys in test mode, reducing the risk of confusing test activity with real responses.
HR administrators must now choose a default working calendar in the company settings, helping ensure new employees are created with expected working hours. Project managers can also see and adjust a project's working calendar without needing debug mode, making project scheduling setup easier.
Original PR description
https://www.odoo.com/web#id=1827986&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720
Testing a survey no longer adds test answers to the real survey results. This keeps reporting accurate by automatically removing responses created during survey testing, including unfinished test attempts.
Original PR description
Description of the issue/feature this PR addresses:
Currently testing a survey will add your result to the answers of the survey. It should not be taken into account as you just want to test your form.
{Testing a survey will not impact the result of your answers anymore}
Current behavior before PR:
Currently testing a survey will add your result to the answers of the survey
Desired behavior after PR is merged:
When the user validates his Survey (so use test feature), he can still access his form, but as soon as he comes back to the back end, the answers are lost.
If the user test a survey and leave it before the end, the answers in progress are also deleted.
id: 1865453
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prCustomer barcodes must now be unique within each company, preventing duplicate records from causing the wrong customer to be selected when scanning in Point of Sale. This improves checkout accuracy and reduces confusion for staff using barcode-based customer lookup.
Original PR description
If two customers have same barcode - Current functionality : To select customer in POS, if we scan barcode, only the newly created customer will be selected. To resolve this: Created the unique sql constraint for customer per company. This commit is related to task# 1877329. 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
Financial report tooltips have been improved to make on-screen guidance clearer for users. This helps finance teams better understand report information without needing extra support or technical knowledge.
The appraisal app now follows the updated survey access rules, so appraisal officers and managers automatically get the survey permissions they need. Appraisal surveys are also easier to manage and invite-only by default, helping keep employee review information confidential while simplifying invitations.
Original PR description
Recent community merge updated survey ACLs. Notably survey access groups officer and manager have been updated to really give access to survey models management. Other people cannot access survey models as they are considered technical. Controllers give a way to take and complete surveys. In this merge we update appraisal to remove custom rights and rules definition for survey models. Instead we make appraisal groups use the survey groups. Being an appraisal officer or manager automatically makes the user a survey officer. Another recent community merge rewrote part of the invite wizard to be easier to use, understand and override and help the use of mail templates. In this merge we adapt appraisal survey-related code about invite. Some views are also added to ease daily use of surveys in appraisal. For more details about content please see sub-commits. This merge is linked to task ID 1911586 and PR #3197.