-
lucaorioli
-
-
Offline
-
Junior Boarder
-
- Messaggi: 22
-
Karma: 0
-
|
Ciao a tutti, sono nuovo di OpenErp quindi perdonate se faccio domande o scrivo cose stupide... imparerò!
Ho appena installato il sistema e le localizzazioni e sto provando le funzioni di base nel mese di dicembre con l'idea di partire in produzione (per ora solamente con i moduli vendite, acquisti, progetti e contabilità solo per la fatturazione) a gennaio e, progressimante, crescere nell'utilizzo del software man mano che ci prendo/prendiamo la mano. Tutto questo solo per farvi capire le mie reali necessità.
Ho un primo problema che non riesco a risolvere: quando da un ordine voglio fatturare una percentuale mi dà questo errore, mi sapete aiutare?
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1132, in call_button
action = self._call_kw(req, model, method, args, {})
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line1120, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/sale/wizard/sale_make_invoice_advance.py", line 186, in create_invoices
for sale_id, inv_values in self._prepare_advance_invoice_vals(cr, uid, ids, context=context):
File "/usr/lib/pymodules/python2.7/openerp/addons/sale/wizard/sale_make_invoice_advance.py", line 81, in _prepare_advance_invoice_vals
uom_id=False, partner_id=sale.partner_id.id, fposition_id=sale.fiscal_position.id)
File "/usr/lib/pymodules/python2.7/openerp/addons/account_analytic_plans/account_analytic_plans.py", line 312, in product_id_change
res_prod = super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom_id, qty, name, type, partner_id, fposition_id, price_unit, currency_id, context=context, company_id=company_id)
File "/usr/lib/pymodules/python2.7/openerp/addons/account_analytic_default/account_analytic_default.py", line 77, in product_id_change
res_prod = super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom_id, qty, name, type, partner_id, fposition_id, price_unit, currency_id=currency_id, context=context, company_id=company_id)
File "/usr/lib/pymodules/python2.7/openerp/addons/salesagent_commissions/account/account.py", line 130, in product_id_change
res['value']['no_commission'] = self.pool.get('product.product').browse(cr, uid, product).no_commission
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 494, in __getattr__
return self[name]
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 402, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3620, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3672, in _read_flat
cr.execute(query, [tuple(sub_ids)] + rule_params)
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...d FROM "product_product" WHERE product_product.id IN (false)...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.ù
|