Fail sale_advance_payment scenario tests
Since #10088 (closed)
File "/home/raimon/projectes/nandev/nancore/trytond/trytond/modules/sale_advance_payment/tests/scenario_advance_payment.rst", line 174, in scenario_advance_payment.rst
Failed example:
invoice.click('post')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest scenario_advance_payment.rst[103]>", line 1, in <module>
invoice.click('post')
File "/home/raimon/projectes/nandev/nancore/proteus/proteus/__init__.py", line 102, in newfunc
return self.func(owner, [instance], *args, **kwargs)
File "/home/raimon/projectes/nandev/nancore/proteus/proteus/__init__.py", line 908, in click
return getattr(proxy, button)([r.id for r in records], context)
File "/home/raimon/projectes/nandev/nancore/proteus/proteus/config.py", line 188, in __call__
result = rpc.result(meth(*args, **kwargs))
File "/home/raimon/projectes/nandev/nancore/trytond/trytond/model/modelview.py", line 774, in wrapper
return func(cls, records, *args, **kwargs)
File "/home/raimon/projectes/nandev/nancore/trytond/trytond/model/workflow.py", line 37, in wrapper
result = func(cls, filtered, *args, **kwargs)
File "/home/raimon/projectes/nandev/nancore/trytond/trytond/modules/account_invoice/invoice.py", line 1548, in post
invoices=names))
trytond.modules.account_invoice.exceptions.InvoiceFutureWarning: The invoices "(2)" have an invoice date in the future. -