TypeError: write() missing 1 required positional argument: 'values'

#059969
This commit is contained in:
Raimon Esteve 2023-02-20 09:44:26 +01:00
parent 9d2953c1f4
commit fab818fd35
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class Invoice(metaclass=PoolMeta):
invoice_facturae = facturae_content
to_write[0].append(invoice)
to_write += ({'invoice_facturae': invoice_facturae},)
if to_write:
if to_write[0]:
cls.write(*to_write)
def get_facturae(self):