Closed FlyingPigSolutions closed 5 years ago
TypeError: not enough arguments for format string
The issue is coming from the sequence that was giving a draft number /
and *XXXXX
due to a conflict to find the right sequence.
In sequence: Attribute a code sequence
In journal: Attribute the same code sequence
To make sure the link is made and there is no conflict.
Problem solved just by :
Having this error since Last July 2018:
Can't validate some entries as it creates an error. Seems its on 2 types of entry only (accounting module or now called invoicing)
Traceback (most recent call last):
Although I understand the issue, I don't understand where it comes from as its not from a module installation and it was working file for 6 months in production.
I was looking into the odoo config sequences to see what would cause this issue because :
However, making changes on the sequences, didn't solved it.
I don't think I have to get into the code itself and make any change. I believe it is more during configuration that it creates the issue afterwards.
https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_sequence.py#L193
Is it possible to come from a python version? Should I pass to python 3.6 ? I have python 2.7 and python 3.5 installed
Appreciate if anyone would have a clue, but I'll dig some more too.