This question has been flagged

I'd like Thierry Godin or another developper to help me to debug my POS installation. I still have a validation error since 10 days now, I checked all the accounts set in my POS module a hundred times. IF I update the table account_account and set all records with type = view to other the POS session closing works but I still don t know which account is my problem !!!!!!

I would really appreciate your help to show me what is wrong with my instance

Avatar
Discard

Hello,Could you please paste the content of openerp-server.log (only lines with errors). That may help to start debugging. Thanks.

Author

2013-11-01 05:41:08,404 5924 ERROR Test openerp.tools.safe_eval: Cannot eval u'wkf_action_close()' Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\tools\safe_eval.py", line 241, in safe_eval File "", line 1, in <module> File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\orm.py", line 374, in function_proxy File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server\openerp\addons\point_of_sale\point_of_sale.py", line 436, in wkf_action_close (<< SUITE en bas >>)

Author

except_orm: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) account_id: You cannot create journal items on an account of type view.') 2013-11-01 05:41:08,405 5924 ERROR Test openerp.netsvc: ValidateError Une erreur est apparue lors de la validation du/des champ(s) account_id: You cannot create journal items on an account of type view. Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\netsvc.py", line 292, in dispatch rpc

Author

File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\osv.py", line 144, in wrapper except_osv: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) account_id: You cannot create journal items on an account of type view.') 2013-11-01 05:41:08,466 5924 INFO Test werkzeug: 127.0.0.1 - - [01/Nov/2013 05:41:08] "POST /web/dataset/exec_workflow HTTP/1.1" 200 -

Author

2013-11-01 05:41:08,561 5924 INFO ? werkzeug: 127.0.0.1 - - [01/Nov/2013 05:41:08] "GET /web/static/src/img/warning.png HTTP/1.1" 304 -

Author

<< SUITE 1 >> File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server\openerp\addons\point_of_sale\point_of_sale.py", line 455, in _confirm_orders File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server\openerp\addons\point_of_sale\point_of_sale.py", line 1126, in _create_account_move_line File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server\openerp\addons\account\account.py", line 1387, in write

Author

<< SUITE 2 >> File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\orm.py", line 4182, in write File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\fields.py", line 557, in set File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server\openerp\addons\account\account_move_line.py", line 1226, in create

Author

<< SUITE 3 >> File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\orm.py", line 4474, in create File "C:\Program Files (x86)\OpenERP 7.0-20131002-231025\Server\server.\openerp\osv\orm.py", line 1548, in _validate

Ok, you should redownload Openerp , because your version is a bit old "OpenERP 7.0-20131002-231025" (fevrier 2013). I had also troubles with POS, and I saw that code has changed in some POS files in recent version.

Author

thank you !

Author

Where can i get this version, because when i download the windows version from http://openerp.com this is the version i got!

I don't know if source code is same on Windows and Linux, but you should download source code (for linux) , then try to replace POS module . On W7 : C:\Programs\OpenERP 7.0xxxxx\Server\server\openerp\addons

(just rename actual point_of_sale folder (au cas où) ), and restart server

In se same way, you may get all other modules ;o)

Regards

Author

many thanks for your appreciated help, I ll keep you posted JC