Tuesday, February 16, 2021
9 changes · master
Enhancements to existing features
When a point of sale session cannot close because its accounting entries are not balanced, users are now prompted to choose the account used for the balancing amount. This gives businesses clearer control over how closing adjustments are recorded instead of automatically using the default receivable account.
Original PR description
When closing pos.session and it turned out that during the creation of journal entry the move lines are not balanced, pos automatically balances the lines by crediting the amount to balance and recording it to the default pos receivable account. In this commit, we are changing the behavior by allowing the user to choose which account the imbalance amount be recorded. So the workflow becomes: 1. Close pos session fails. 2. Wizard shows the amount to balance and asks which account to record it. 3. Confirm the wizard to successfully close the session. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When users enable decorative background shapes in the website editor, the shape selection menu now opens automatically instead of staying closed. The editor also reuses colors from existing page shapes, making it quicker to keep website designs visually consistent.
Original PR description
Before this commit when toggling shapes on a snippet background, the shape selection dropdown was shown as closed. After this commit when toggling shapes on on a snippet background, the shape selection dropdown is automatically opened. Also, the palette of the shape is based on the previous shape's palette. task-2431445 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
Employees can now delete their own future time off requests as long as they have not yet been validated. This reduces administrative effort by letting employees correct planned absences themselves before approval, with tests added to confirm the access rules.
Original PR description
Add some tests Task - 2428789
This update improves how checkbox-related fields appear on mobile screens across Event, Purchase, and Survey forms. It makes dependent fields easier to show or hide consistently and fixes alignment issues that could make forms harder to read on small devices.
Original PR description
This PR adds a class to be able to show/hide other fields depending on a checkbox status. This class is needed to have this behavior on desktop but also on mobile. We can now fix some alignment issues encountered on mobile. Related task-ID: 1929043
Product category filters now show only the category name instead of the full hierarchy. This makes the search panel easier to read because parent categories are already displayed separately.
Original PR description
Purpose of the commit is to prevent the hierarchical name of category in search panel. So in this commit, Override the the name_get to prevent the category hierarchy on search panel and we already displaying parent category separately in search panel. TaskID: 2417252 Related PR: https://github.com/odoo/enterprise/pull/15550
Website editors now see realistic sample content when a fully configured dynamic snippet has no live data yet, instead of an empty section. This makes page building easier by showing how product or website content blocks will look once real records become available.
Original PR description
Before this commit when a dynamic snippet was fully configured but returned no data, the rendered section remained empty in edit mode. After this commit when a dynamic snippet is fully configured but has no data to display, some sample data is generated in edit mode to give a feel of how the page will look like when data will be available. This commit of merge refactor also the way to get the data to render. We split function to handle data and convert / escape it. The default structure is now simplified and an helper to_generic exists to allow generic template to be used with indexed list. An other PR is coming to change the data getter, and have more generic function to merge 'Recently Viewed' in the "Dynamic products' snippet. task-2446024 PR: https://github.com/odoo/odoo/pull/65176
Demo field service tasks planned for today or future dates now appear only in the new stage instead of being marked as done. This makes sample data reflect realistic upcoming work and avoids confusion when reviewing field service tasks.
Original PR description
Initially, the tasks were stored in both the done stage and the new stage whether it is planned for today or for future, but now these tasks are only stored in new stage but not in done stage. TaskID : 2445906
Field service users can now browse products by category when adding items to a task, making it faster to find the right product in large catalogs. The mobile search panel also shows selected category paths in the correct order, improving navigation clarity.
Original PR description
Purpose of the task is, It is not easy to find the right product when they are hundreds of them so a search panel on product category would help the user quickly access the products. So in this commit, Added a search panel on product category when going to add the product on fsm task. TaskID: 2417252 Related PR: odoo/odoo#65442
The subscription list view now shows fewer columns by default, making it easier for users to focus on the most relevant information. Additional fields can be optionally displayed when needed, improving day-to-day usability without removing access to details.
Original PR description
Before this commit, many columns were visible by default and were not optional. taskid: 2443251