Wednesday, March 11, 2020
2 changes · master
Resolved issues and error corrections
This fixes an issue that could interrupt cleanup of Latin American invoice documents when related accounting entries were removed. The change uses the correct purchase document check, making the process more reliable and reducing the risk of errors during record deletion.
Original PR description
The `type` field was renamed `move_type` in d675dbaa4c7174591e0e7c1a3caf3e76877312ce but the forward-port #44415 of #43312 re-added a use of the old `type` name, which breaks if an account.move is unlinked while l10n_latam_invoice_document is unlinked (and there are related moves to update). Instead of renaming the field, use the proper utility method for the category (purchase) provided by account.move, that should be more reliable and make for clear code.
The website editor now closes open dropdowns and widgets when a user clicks outside them. This prevents menus from staying open unexpectedly, making editing pages feel cleaner and less confusing.
Original PR description
Description of the issue/feature this PR addresses: Purpose:- - The dropdown doesn't closeup when click outside it. Specification:- - For fulfil this purpose, make dropdown able to close up when click outside of the dropdown menu PR #46298 task-2196789