Thursday, September 19, 2024
3 changes · saas-17.4
Resolved issues and error corrections
This fix prevents Project pages from showing an error after the Sales app is removed. It safely disables Sales-related project actions that depend on data no longer available after uninstalling Sales.
Original PR description
Steps to reproduce: - Install sale_project - Uninstall sale - Open Project and click on any of the projects Issues: Traceback is shown, as we are computing a domain using a field which doesn't exist anymore `allow_billable`. This domain comes from two embedded actions which are in `sale_project`. https://github.com/odoo/odoo/blob/d9d0b1c66dd608e475bdb7d29c162b6251b0f329/addons/sale_project/views/project_views.xml#L23-L43 To solve the issue, we change the domain to something that it always false in order to deactivate those actions. opw-4161620
This fix prevents the Indian Point of Sale module from trying to recreate or update coins and bills that users have intentionally deleted. It helps avoid database upgrade failures and respects prior Point of Sale configuration choices.
Original PR description
To reproduce the issue: 1) Start a database with flag `-i l10n_in_pos` 2) Go to point of sale>configuration>coins/bills. 3) Delete Records of Coins/bills. 4) Start the database again with flag `-u…
To reproduce the issue:
1) Start a database with flag `-i l10n_in_pos`
2) Go to point of sale>configuration>coins/bills.
3) Delete Records of Coins/bills.
4) Start the database again with flag `-u all`.
The records of pos.bill can be deleted, in point of sale module, these records are created at initialization but they can be deleted. They are not created later on as forcecreate="0". But in l10n_in_pos, these records are forcecreated/forceupdated. so setting the forcreate="0". Ensures that the records are created/updated only on initialization.
```
Traceback (most recent call last):
File "/home/odoo/src/odoo/saas-17.4/odoo/tools/convert.py", line 559, in _tag_root
f(rec)
File "/home/odoo/src/odoo/saas-17.4/odoo/tools/convert.py", line 387, in _tag_record
raise Exception("Cannot update missing record %r" % xid)
Exception: Cannot update missing record 'point_of_sale.0_05'
```
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-prThis fixes an issue in Discuss where using 'Unstar all' or 'Mark all read' incorrectly displayed the 'jump to present' banner. The change keeps the interface cleaner and avoids confusing users after bulk message actions.
Original PR description
**Current behavior before PR:** if we click on `Unstar all` or `Mark all read` button from discuss it shows jump to present banner which it shouldn't. **Desired behavior after PR is merged:** now on clicking as above mentioned it does not show jump to present banner anymore. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr