Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Can Invoice Validation fail without error message?

By
Gregor Huyskens
on 7/4/13, 1:42 PM 1,417 views

Rel. 7.0 : My DB is configured with Sales, CRM and Accounting. No warehousing since only services are sold. I cannot validate invoices, but don't get error message or log entry about problems.

I have run the server in debug (debug_rpc) mode and can see, what the system calls in another test db, where validation works. I compare with my "problem-db" and see no relevant difference. How can I find out more? Here the log with no indication of any problem ... The method "validate" is never called, but it is not visible in case of a success either (on test db).

2013-07-04 07:47:14,357 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.exec_workflow time:0.388s mem: 93596k -> 105356k (diff: 11760k)('huy13', 1, '*', 'account.invoice', 'invoice_open', 5)
2013-07-04 07:47:14,373 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.002s mem: 105356k -> 105356k (diff: 0k)('huy13', 1, '*', 'account.invoice', 'name_get', (...,), {...})
2013-07-04 07:47:14,422 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.049s mem: 105356k -> 105780k (diff: 424k)('huy13', 1, '*', 'account.invoice', 'read', (...), {...})
2013-07-04 07:47:14,442 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.004s mem: 105780k -> 105780k (diff: 0k)('huy13', 1, '*', 'res.partner', 'name_get', (...,), {...})
2013-07-04 07:47:14,456 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.003s mem: 105780k -> 105780k (diff: 0k)('huy13', 1, '*', 'res.partner', 'read', (...), {})
2013-07-04 07:47:14,510 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.039s mem: 105780k -> 114376k (diff: 8596k)('huy13', 1, '*', 'mail.message', 'message_read', (...), {})
2013-07-04 07:47:14,519 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.004s mem: 122568k -> 122568k (diff: 0k)('huy13', 1, '*', 'account.move.line', 'read', (...), {...})
2013-07-04 07:47:14,540 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.041s mem: 114228k -> 122568k (diff: 8340k)('huy13', 1, '*', 'account.invoice.line', 'read', (...), {...})
2013-07-04 07:47:14,586 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.017s mem: 122568k -> 122716k (diff: 148k)('huy13',
2013-07-04 07:47:14,588 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    1,
2013-07-04 07:47:14,588 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    '*',
2013-07-04 07:47:14,588 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    'account.invoice',
2013-07-04 07:47:14,589 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    'message_get_subscription_data',
2013-07-04 07:47:14,589 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    (...),
2013-07-04 07:47:14,589 18773 DEBUG huy13 openerp.netsvc.rpc.request:                                                                    {})
2013-07-04 07:47:14,591 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.009s mem: 122716k -> 122716k (diff: 0k)('huy13', 1, '*', u'res.partner', 'read', (...), {})
2013-07-04 07:47:14,643 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.016s mem: 122716k -> 122716k (diff: 0k)('huy13', 1, '*', 'mail.message', 'set_message_read', (...), {})
2013-07-04 07:47:14,689 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.003s mem: 122716k -> 122716k (diff: 0k)('huy13', 1, '*', 'ir.attachment', 'search', (...), {})
2013-07-04 07:47:14,690 18773 DEBUG huy13 openerp.netsvc.rpc.request: object.execute_kw time:0.001s mem: 122716k -> 122716k (diff: 0k)('huy13', 1, '*', 'ir.attachment', 'read', (...), {})

Version 7.0-20130529-231031

check the sales workflow, you probably modified it, and now the validate function is not called, compare with the healthy db workflow

Felipe
on 7/4/13, 2:25 PM

Sales workflow is not different and Authorization via button attribute groups="account.group_account_invoice" is given. The validation transition is called "invoice_open" (not "validate" as I thought first) and is present, like on healthy db.

HUYREKA Solutions, Gregor Huyskens
on 7/5/13, 5:50 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/4/13, 1:42 PM
Seen: 1417 times
Last updated: 3/16/15, 8:10 AM