Tuesday, March 16, 2021
2 changes · master
Resolved issues and error corrections
Users now see a normal, understandable error dialog when creating an unbalanced journal entry instead of a technical crash screen. The point of sale session closing flow still offers the existing wizard to help resolve imbalance amounts.
Original PR description
The crash manager doesn't recognize ImbalanceJournalEntryError as a user error and when creating a journal entry that is not balanced, a traceback is shown instead of the normal UserError dialog. In this commit, we fix this issue by getting rid of the new error and put back the use of UserError when checking the balance of an account move. We also make sure that the feature in pos where we show a wizard to unblock the user from closing session with imbalance amount is intact. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix updates the partner import template and improves how states or regions are found during import. It helps users import contact data more reliably and reduces confusion when matching addresses to the correct country subdivisions.
Original PR description
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