Wednesday, February 10, 2021
3 changes · master
Enhancements to existing features
Users now get clearer warnings when entering a serial number that already exists in inventory, transfers, manufacturing, scrap, or quantity updates. The warning shows where the existing item is located and can automatically correct the source location in some cases, helping prevent mistakes without blocking legitimate workflows.
Original PR description
Add and improve onchange warnings when a duplicate SN is used in following cases: inventory, picking (any type), manufacturing, and scrap. Improvement includes: - include location where the existing SN is - auto-correct source location when appropriate (e.g. trying to scrap a SN in the wrong location) The goal of this is to prevent but not restrict duplicate SNs so users can have some flexibility (especially if a dupe SN occurs because of an error such as doing pick-pack-ship out of order.) Task: 1924758 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Surveys no longer use draft/open/closed states and instead rely on archiving to close or reopen them, reducing steps for teams managing questionnaires. Users can now assign a responsible person to each survey, improving ownership and day-to-day follow-up.
Original PR description
PURPOSE Improve daily management of surveys by adding a responsible and removing states to use an archive-based flow instead. SPECIFICATIONS The goal of the draft state on survey is to have the…
PURPOSE Improve daily management of surveys by adding a responsible and removing states to use an archive-based flow instead. SPECIFICATIONS The goal of the draft state on survey is to have the survey under edition mode before before sending it to participants. Under this mode: - the responsible can test it (can be done with "In Progress" mode) - the survey can't be answered (same as the state closed) The risk that the survey can be leaked before being ready is really limited. If it's a live survey, participants will have to guess the 4 digits access code and wait for the host to go to the next question. Else, participant will have to guess the token. Considering these facts, the use of the draft state is very limited so 'draft' state can be dropped. If we do so, we are left with only two stages that are 'open' and 'closed'. But whether to consider survey open or closed can be simply achieved with active field we already have (if active=False, survey is closed, otherwise it's considered as open). So with this commit, we remove the state field from survey and thus simplify the flow. It means that we no longer require 'Start Survey' button, and so that button is also removed, and for the closed surveys, instead of the button 'Set to draft', now we have a 'Reopen' button which will activate the survey. And instead of displaying few buttons after saving a record, we now display all the buttons from beginning. This commit also enable users to set a 'Responsible' for the survey by adding 'user_id' field. Demo data for the same is also updated. LINKS Task ID-2389434 COM PR odoo/odoo#62712 ENT PR odoo/enterprise#15217 UPG PR odoo/upgrade#2006
The appraisal survey sample data has been adjusted to stay aligned with recent survey changes. This keeps demo appraisal surveys accurate and easier to use for evaluation, training, and demonstrations.
Original PR description
This PR adapts the demo data of the survey to adapt the changes done in https://github.com/odoo/odoo/pull/62712 TaskID - 2389434