Odoo Help


How do I bring my workflow from OpenOffice Draw to OpenERP?

on 3/26/14, 6:12 AM 1,370 views

I'm currently setting up a system for a medium-size company. I'm trying to implement the workflow chart I generated in OpenOffice Draw. I want to get everything running smoothly in a test bubble insulated from the real world before going live.

Currently I'm stuck. I can't generate an invoice to simulate the further procedures in my workflow (accounting, warehouse). I can generate a quotation, confirm the order but then I cant create the invoice. Why do I get the following error?

"Client Traceback (most recent call last): File "D:\OpenERP 7\Server\server\openerp\addons\web\http.py", line 203, in dispatch File "D:\OpenERP 7\Server\server\openerp\addons\web\controllers\main.py", line 1121, in call_button File "D:\OpenERP 7\Server\server\openerp\addons\web\controllers\main.py", line 1109, in _call_kw File "D:\OpenERP 7\Server\server\openerp\addons\web\session.py", line 43, in proxy File "D:\OpenERP 7\Server\server\openerp\addons\web\session.py", line 31, in proxy_method File "D:\OpenERP 7\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last): File "D:\OpenERP 7\Server\server\openerp\addons\web\session.py", line 90, in send File "D:\OpenERP 7\Server\server.\openerp\netsvc.py", line 293, in dispatch_rpc File "D:\OpenERP 7\Server\server.\openerp\service\web_services.py", line 618, in dispatch File "D:\OpenERP 7\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "D:\OpenERP 7\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "D:\OpenERP 7\Server\server.\openerp\osv\osv.py", line 197, in execute File "D:\OpenERP 7\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "D:\OpenERP 7\Server\server\openerp\addons\sale\wizard\sale_make_invoice_advance.py", line 170, in create_invoices File "D:\OpenERP 7\Server\server\openerp\addons\sale\sale.py", line 436, in manual_invoice File "D:\OpenERP 7\Server\server.\openerp\workflow\wkf_service.py", line 119, in trg_validate File "D:\OpenERP 7\Server\server.\openerp\workflow\instance.py", line 43, in validate File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 60, in process File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 175, in _split_test File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 183, in _join_test File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 40, in create File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 52, in process File "D:\OpenERP 7\Server\server.\openerp\workflow\workitem.py", line 127, in _execute File "D:\OpenERP 7\Server\server.\openerp\workflow\wkf_expr.py", line 67, in execute File "D:\OpenERP 7\Server\server.\openerp\workflow\wkf_expr.py", line 57, in _eval_expr File "D:\OpenERP 7\Server\server.\openerp\tools\safe_eval.py", line 241, in safe_eval File "", line 1, in <module> File "D:\OpenERP 7\Server\server.\openerp\osv\orm.py", line 374, in function_proxy File "D:\OpenERP 7\Server\server\openerp\addons\sale_stock\sale_stock.py", line 192, in action_invoice_create File "D:\OpenERP 7\Server\server\openerp\addons\sale\sale.py", line 537, in action_invoice_create File "D:\OpenERP 7\Server\server\openerp\addons\sale\sale.py", line 405, in _make_invoice File "D:\OpenERP 7\Server\server\openerp\addons\mail\mail_thread.py", line 242, in create File "D:\OpenERP 7\Server\server.\openerp\osv\orm.py", line 4479, in create File "D:\OpenERP 7\Server\server.\openerp\osv\orm.py", line 4627, in _store_set_values File "D:\OpenERP 7\Server\server.\openerp\osv\fields.py", line 1131, in get File "D:\OpenERP 7\Server\server.\openerp\osv\fields.py", line 1197, in _fnct_read File "D:\OpenERP 7\Server\server.\openerp\osv\orm.py", line 383, in __getitem__ KeyError: "Field 'commercial_partner_id' does not exist in object 'browse_record(res.partner, 10)'"

Another question that I have: Is there a function to set my system to go live or does it depend on the initial setup? (the IT of the company set it up before I started my job)

could you be more precise for your question "Is there a function to set my system to go live or does it depend on the initial setup?".

Jean-Sébastien Hederer
on 3/26/14, 8:05 AM

I'm logging into a database called "Testsystem". I'm used to a CMS website environment. Therefore I think of the system to be "offline". I'm here to mimic all business processes in the system until it runs smoothly and we can completely change to OpenERP. I want to avoid setting it all up twice. So is there a function to export the database or parts of it or at least rename it once I set everything up? Any advice what I should be aware of?

on 3/27/14, 12:55 AM

Field 'commercial_partner_id' does not exist in object 'browse_record(res.partner, 10)'". so you have to search for 'commercial_partner_id' in modules you have installed. perhaps you haven't installed a module that defines 'commercial_partner_id' and you've created a view. or you haven't defined the field in a custom module and you try to initialize datas in an xml

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/26/14, 6:12 AM
Seen: 1370 times
Last updated: 3/16/15, 8:10 AM