Afegir GA per passar tests dels mòduls per separat #1
GitHub Actions / Unit Test Results
failed
Feb 2, 2024 in 0s
1 errors, 72 pass in 2s
Annotations
github-actions / Unit Test Results
test_add_invoices_to_payment_order__in_invoices_ok (account_invoice_som.tests.tests_wizard_payment_order_add_invoices.TestsWizardPaymentOrderAddInvoices) with error
test-results/destral/account_invoice_som.xml
Raw output
Traceback (most recent call last):
File "/home/runner/work/openerp_som_addons/erp/server/bin/addons/account_invoice_som/tests/tests_wizard_payment_order_add_invoices.py", line 99, in test_add_invoices_to_payment_order__in_invoices_ok
wf_service.trg_validate(uid, "account.invoice", inv_id, "invoice_open", cursor)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/wkf_service.py", line 83, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/instance.py", line 51, in validate
workflow.workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 66, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 179, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 187, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 46, in create
process(cr, res, ident, stack=stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 58, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/workitem.py", line 112, in _execute
workflow.wkf_expr.execute(cr, ident, workitem, activity)
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/wkf_expr.py", line 73, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/runner/work/openerp_som_addons/erp/server/bin/workflow/wkf_expr.py", line 63, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/runner/work/openerp_som_addons/erp/server/bin/tools/safe_eval.py", line 286, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/runner/work/openerp_som_addons/erp/server/bin/osv/orm.py", line 242, in <lambda>
return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv)
File "/home/runner/work/openerp_som_addons/erp/server/bin/addons/account/invoice.py", line 1506, in action_invoice_open
self.action_move_create(cursor, uid, ids, *args)
File "/home/runner/work/openerp_som_addons/erp/server/bin/addons/account_invoice_base/account_invoice.py", line 988, in action_move_create
cursor, uid, ids, *args
File "/home/runner/work/openerp_som_addons/erp/server/bin/addons/account_payment_extension/account_invoice.py", line 65, in action_move_create
ret = super(account_invoice, self).action_move_create(cr, uid, ids, *args)
File "/home/runner/work/openerp_som_addons/erp/server/bin/addons/account/invoice.py", line 1230, in action_move_create
raise osv.except_osv(_("Some fields are missing"), raise_msg)
except_osv: warning -- Some fields are missing
- Invoice and Journal types are incoherent
Invoice ID: 39, type: in_invoice, Journal type: sale
Loading