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

Open ERP server error

By
Pal Dozsa
on 11/12/14, 3:35 PM 1,398 views

Hello, 

I have tried to make a sales process and the product transfer is complete. Now I have tried to create the invoice, but it shows "OPEN ERP server error"

If you need more details, please answer

br,

Pal

here are the details Traceback (most recent call last): File "/home/odoo/src/odoo/8.0/openerp/http.py", line 500, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/src/odoo/8.0/openerp/http.py", line 517, in dispatch result = self._call_function(**self.params) File "/home/odoo/src/odoo/8.0/openerp/http.py", line 283, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/http.py", line 280, in checked_call return self.endpoint(*a, **kw) File "/home/odoo/src/odoo/8.0/openerp/http.py", line 733, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/8.0/openerp/http.py", line 376, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/8.0/addons/web/controllers/main.py", line 952, in call_button action = self._call_kw(model, method, args, {}) File "/home/odoo/src/odoo/8.0/addons/web/controllers/main.py", line 940, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/stock_account/wizard/stock_invoice_onshipping.py", line 89, in open_invoice invoice_ids = self.create_invoice(cr, uid, ids, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/stock_account/wizard/stock_invoice_onshipping.py", line 132, in create_invoice context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/stock_account/stock.py", line 250, in action_invoice_create invoices += self._invoice_create_line(cr, uid, moves, journal_id, type, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/stock_account/stock.py", line 291, in _invoice_create_line invoice_id = self._create_invoice_from_picking(cr, uid, move.picking_id, invoice_vals, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/delivery/stock.py", line 124, in _create_invoice_from_picking invoice_id = super(stock_picking, self)._create_invoice_from_picking(cr, uid, picking, vals, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/sale_stock/sale_stock.py", line 442, in _create_invoice_from_picking created_lines = sale_line_obj.invoice_line_create(cr, uid, sale_line_ids, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/sale_analytic_plans/sale_analytic_plans.py", line 33, in invoice_line_create create_ids = super(sale_order_line, self).invoice_line_create(cr, uid, ids, context=context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/account_analytic_plans/account_analytic_plans.py", line 445, in invoice_line_create rec = acct_anal_def_obj.account_get(cr, uid, line.product_id.id, sale_line.order_id.partner_id.id, uid, time.strftime('%Y-%m-%d'), context) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/addons/account_analytic_default/account_analytic_default.py", line 61, in account_get for rec in self.browse(cr, uid, self.search(cr, uid, domain, context=context), context=context): File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/models.py", line 1672, in search return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) File "/home/odoo/src/odoo/8.0/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/models.py", line 4549, in _search cr.execute(query_str, where_clause_params) File "/home/odoo/src/odoo/8.0/openerp/sql_db.py", line 158, in wrapper return f(self, *args, **kwargs) File "/home/odoo/src/odoo/8.0/openerp/sql_db.py", line 234, in execute res = self._obj.execute(query, params) TypeError: not all arguments converted during string formatting

Pal Dozsa
on 11/12/14, 3:36 PM
0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 12/31/14, 7:26 AM

Pal,

Did you report this to github https://github.com/odoo/odoo/issues/ ?

Thanks.

0
Pal Dozsa
On 11/13/14, 4:53 AM

I have the solution. If I add the shipment cost (as a separate item) to the sales order than I can not turn the shipped orders to invoice.

That caused the problem. 

Now I add the shipment cost at the Invoicing phase

 

br,

P.

 

 

Both of them coming up in case I have start the sales process from the beginning (I mean from opportunity stage)

Pal Dozsa
on 11/13/14, 4:54 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: 11/12/14, 3:35 PM
Seen: 1398 times
Last updated: 3/16/15, 8:10 AM