This question has been flagged
1 Reply
2564 Views
Hi,

I have using INVOICING/CUSTOMER/INVOICE to create an invoice.
but INVOICING/VENDOR/BILL work just fine.
This happens one day power fluctuated, then my odoo/addons somehow has been affected.
Whenever i click the existing invoice, it prompted me below message:
 File "/opt/odoo12/odoo/addons/account/models/account_invoice.py", line 508, in _get_sequence_number_next
    number_next = journal_sequence._get_current_sequence(sequence_date=sequence_date).number_next_actual
TypeError: _get_current_sequence() got an unexpected keyword argument 'sequence_date'
I checked INVOICING/CONFIGURATION/JOURNAL/CUSTOMER INVOICE/INV SEQUENCE nothing seems change.

Hope for your kindness, i ready dont know what to do.
Thank you.
Avatar
Discard
Best Answer

Hello Gain Charlie

Please check, I think it's helpful for you. https://www.odoo.com/forum/help-1/question/error-on-invoice-creation-on-odoo-13-163716

Avatar
Discard
Author

Thank you Nikul. Yes it the source code problem.