-
Notifications
You must be signed in to change notification settings - Fork 23k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] l10n_es_edi_sii: support missing ref #163792
base: 15.0
Are you sure you want to change the base?
Conversation
FWIW the OCA version of this module requires the |
This field isn't required. However, if not supplied, Odoo fails to notify *all* invoices in a cron run, without speaking about it. Not good. @moduon MT-5819
675a852
to
8013276
Compare
@yajo We do the check for vendor bills in _check_move_configuration.
|
You probably mean this, right? odoo/addons/l10n_es_edi_sii/models/account_edi_format.py Lines 636 to 638 in 8e5dc53
Indeed, that should make this use case impossible to become. I don't know how the error even happened! I took that faulty invoice, reset it to draft and then validate it again, and I got the error that wouldn't let me continue. 👀 |
It seems like With this fix, only the flaky invoice is failed, and it gets a yellow warning, while the rest of the batch is perfectly sent to SII. |
This field isn't required. However, if not supplied, Odoo fails to notify all invoices in a cron run, without speaking about it. Not good.
The traceback:
@moduon MT-5819
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr