Daily updates from Odoo
Friday, October 18, 2019
9 changes · master
Enhancements to existing features
The lunch app now uses the regular lunch order model instead of a temporary ordering wizard. This should make the ordering flow easier to maintain and reduce complexity behind the scenes, while keeping the user experience focused on placing lunch orders.
Original PR description
Replacing the lunch order temp wizard by lunch order model should be achieved and could potentially simplify the models -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now choose whether page sections stretch across the available width or keep side margins. This helps pages look more balanced when narrower content sections appear alongside full-width snippets.
Original PR description
Snippets with side margins look quite compressed between full width snippets. This commit adds an option in the side-menu to control whether a section is stretched or not. This option is available everywhere it would have a reasonable visual impact (the cutoff was arbitrarily chosen to be that the stretched section is at least 5% larger than the unstretched version) task-2080570
This change updates the Chinese small business tax templates and related translations so tax setup better reflects current small business requirements. It helps businesses using the China localization maintain more accurate tax configuration and clearer translated labels.
Original PR description
Hello, In this PR: - Modify the Small and Medium-sized Tax Template - Modify the translation files -- Please review the code. @lap-odoo @mart-e Thanks. I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale receipts for India now include the customer name and phone number when available, plus each product's HSN code. This helps businesses provide receipts that better meet Indian legal and tax information requirements.
Original PR description
task: https://www.odoo.com/web#id=2000231&action=327&model=project.task&view_type=form&menu_id=4720 pad: https://pad.odoo.com/p/r.d45a02d74c77f905291fef8abd30e90a 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 update adds fallback options when creating activity reminders, so users are less likely to encounter missing or incorrect activity types. It improves consistency in approvals, follow-ups, manufacturing, signing, and VoIP workflows.
Original PR description
* hr.approval : default activity_type * Fixes/Clean on activity creation in some modules [Community PR](https://github.com/odoo/odoo/pull/32446) Task ID : 1961156
UPS shipping can now bill a customer's own account more clearly and consistently. Customer account numbers are stored on the customer record, defaulted where available, and the carrier's configured service is used automatically, reducing manual setup on each order.
Original PR description
Clarify the purpose of the bill my account and ease the configuration of the customer account number. Before the task, billing the customer was not clear and the configuration was not intuitive. Now you can change the value more easily and you're given default value while using UPS if they were previously set. Task-Id: 2033849
Resolved issues and error corrections
Odoo now better protects default activity types from being deleted when other processes still depend on them. If an activity type reference is missing, the system can fall back to a standard activity type, reducing errors and keeping reminders and automated actions running smoothly.
Original PR description
If a user deletes one of the default activity types of odoo, a bunch of ref to the xmlid of the activity type may cause errors. To allow more flexibility, this a fallback mechanism is implemented in…
If a user deletes one of the default activity types of odoo, a bunch of ref to the xmlid of the activity type may cause errors.
To allow more flexibility, this a fallback mechanism is implemented in _**mail.activity.mixin**_ s.t. when calling activity_schedule(xmlid, ...), if the given xmlid is not found, _default_activity_type()_ specifies the default activity (and can be overridden in classes using the activity mixin).
```python
def _default_activity_type(self):
"""Define a default fallback activity type when xml id not found
only used in in activity_schedule() for now.
"""
try:
return self.env.ref('mail.mail_activity_data_todo')
except Exception:
return False
```
* Prevent deletion of activity type (hr.plan and ir.actions.server)
* Fallback on default activity type if xmlid ref not found in activity_schedule
* Correct calls to activity_schedule and replace some create calls by activity_schedule
Task ID : 1961156
[Enterprise PR](https://github.com/odoo/enterprise/pull/4032)
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prCode cleanup and technical improvements
This update reorganizes the JavaScript behind Odoo's Mail interface, including chats, attachments, discussions, and message composition. It is mainly an internal cleanup intended to make the mail experience easier to maintain and improve, with limited direct visible impact for users.
Original PR description
Linked to https://github.com/odoo/enterprise/pull/4427 Task-ID 1914207
The bank reconciliation widget has been moved fully into Odoo Enterprise as an advanced accounting capability. This centralizes the feature for Enterprise accounting users while keeping related menus, views, tests, and supporting logic within the accounting enterprise module.
Original PR description
Task [2034073](https://www.odoo.com/web#id=2034073&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720) The reconciliation widget is now entirely part of the enterprise version as it is an advanced accounting feature