Tuesday, April 29, 2025
3 changes · master
Resolved issues and error corrections
Invoice and sales documents now keep the correct tax column behavior when Avatax is used. This prevents tax columns from being shown or hidden incorrectly, improving consistency for customer-facing documents and portal views.
Original PR description
Before this fix, inherited views from account_avatax and sale were overwriting attributes from the community modules, causing the tax column to behave incorrectly in certain cases. This update ensures that both the Avatax-specific logic and the original community template logic are applied correctly, preserving consistent tax column behavior. Implementation Details: - Using a separator, both conditions are now integrated into the inherited views. - If is_avatax is true, the tax column will be hidden to follow the Avatax-specific behavior. - If is_avatax is false, the tax column will be displayed according to the display_taxes logic, ensuring accurate visibility based on tax application in order/invoice lines. This change prevents overwriting the original conditions from the account and sale modules, ensuring better compatibility with the community code. Community: odoo/odoo#205166 Upgrade: odoo/upgrade#7594 task-4705734
Users can no longer try to create AI tools from the related search window in AI topic setup. This avoids an error screen and keeps AI tool creation limited to the intended workflow.
Original PR description
When attempting to create an AI tool from the 'Search More' view within the ai.topic form view, a traceback occurs. This change resolves the issue by restricting the creation of ai.tool from that view, as ai.tool is not intended to be generated on the fly by users.
Long document names no longer cause action buttons in the document preview header to shift out of alignment. On larger screens, these actions are grouped under the More menu to keep the viewer clean and easier to use.
Original PR description
Steps to Reproduce: 1. document with long title 2. Upload document 3. preview the document When a document had a long title, action buttons in the DocumentsFileViewer header became misaligned. After this commit: If the screen is not small, all action buttons are moved inside the More dropdown to maintain alignment. Task-4600177