Saturday, August 13, 2022
3 changes · master
Miscellaneous changes
Steps to reproduce: - Install l10n_ar_website_sale - Go to shop and add a product to cart - Go to cart and click on `Checkout` - Ensure `AFIP Responsibility` is not field - Click on `Next` Issue: Traceback raised. Cause: During the validation of the form, even if the pre-validation (by calling super) returns an error for the afip fields because there are empty while they are required, we still try to get the code of the afip responsibility. Solution:
Original PR description
Steps to reproduce: - Install l10n_ar_website_sale - Go to shop and add a product to cart - Go to cart and click on `Checkout` - Ensure `AFIP Responsibility` is not field - Click on `Next` Issue: Traceback raised. Cause: During the validation of the form, even if the pre-validation (by calling super) returns an error for the afip fields because there are empty while they are required, we still try to get the code of the afip responsibility. Solution: Raise an error if the afip fields are empty before continuing the validation. opw-2941199 Forward-Port-Of: odoo/odoo#98019
Steps to reproduce: - Install l10n_ar module (or any l10n_* module that depends on l10n_latam_invoice_document) - Go to Accounting -> Vendors -> Bills - Click on Upload and select a bill file - Open draft bill - Click on `Send For Digitalization` Issue: Digitalization don't start and a warning message is displayed saying that some required fields are invalid. Cause: When clicking on the button to digitalize the invoice, we try to save the form first be
Original PR description
Steps to reproduce:
- Install l10n_ar module (or any l10n_* module that depends on
l10n_latam_invoice_document)
- Go to Accounting -> Vendors -> Bills
- Click on Upload and select a bill file
- Open draft bill
- Click on `Send For Digitalization`
Issue:
Digitalization don't start and a warning message is displayed saying
that some required fields are invalid.
Cause:
When clicking on the button to digitalize the invoice, we try
to save the form first before executing the action.
By doing so, if some fields are required and empty, a warning message
will be displayed.
In this case, the issue is with the fields `Document Type` and
`Document Number`.
Solution:
Set `Document Type` and `Document Number` to not required if there is
no partner_id set on the bill.
opw-2797444
Forward-Port-Of: odoo/odoo#98020
Forward-Port-Of: odoo/odoo#96004- When trying to delete tasks with an user who does not have read access on model `account.analytic.line`, an access error will be raised. 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 Forward-Port-Of: odoo/odoo#95718
Original PR description
- When trying to delete tasks with an user who does not have read access on model `account.analytic.line`, an access error will be raised. 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 Forward-Port-Of: odoo/odoo#95718