Monday, February 27, 2023
3 changes
Resolved issues and error corrections
The Knowledge top bar now correctly opens the dialog needed to move articles from the More Options menu. This fixes a missed connection in the new top bar and adds test coverage to ensure users can move private articles under root articles reliably.
Original PR description
We are adding the dialog service to the new TopBar Component which was forgotten when creating it. We are also adding a new test for the Move To Dialog, this test ensures that we can move an article with the Move To button present inside of the more options panel. task-3208255
The Mexican localization now sets the correct fiscal regime based on whether a partner is Mexican or foreign. This prevents foreign customers from being assigned an invalid default and lets users review or adjust the value directly.
Original PR description
The Mexican localization has a custom field for the fiscal regime. Currently this field is only shown for Mexican partners and defaulting to `601` (General de Ley Personas Morales). Foreign partners can legally only have the regime `616` (Sin obligaciones fiscales). Since we default to `601` and the field is not shown for foreign partners, the field is always incorrect. This fix computes the field depending on whether the partner is Mexican or not and also allows the user to change it manually. The field is shown for all partners now, so foreign partners can get the correct fiscal regime. An upgrade script has also been added to automatically set all foreign customers to regime `616`. task-3143841 Related: https://github.com/odoo/odoo/pull/111230 Related: https://github.com/odoo/upgrade/pull/4277
The share panel for Knowledge articles now includes a missing visual separator between the publish button and permission settings. This makes the panel easier to scan and reduces confusion when managing article visibility and access.
Original PR description
This commit adds a missing separator between the button to publish an article and all the permission options for the said article. task-3207781