← Back to team overview

openerp-india team mailing list archive

[Bug 877495] Re: set up your invoicing method

 

I followed Serpent Consultings advice and that worked for me.

You have to go to addons/product/product_data.xml, replace the line no.3
<data noupdate="1"> by <data>.

And, update the product module.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/877495

Title:
  set up your invoicing method

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  in a db with sales installed, go to administration, from the
  configuration pannel, open (in sales category) set up your invoicing
  method. Check based on delivery orders and change the delivery cost.

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 718, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 710, in call_common
      return getattr(req.session.model(model), method)(*args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/addons/base/res/res_config.py", line 117, in action_next
      next = self.execute(cr, uid, ids, context=context)
    File "/home/aline/source/addons/trunk/sale/sale.py", line 1315, in execute
      prod_id = data_obj.get_object(cr, uid, 'hr_timesheet', 'product_consultant').id
    File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 637, in get_object
      res_model, res_id = self.get_object_reference(cr, uid, module, xml_id)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 629, in get_object_reference
      data_id = self._get_id(cr, uid, module, xml_id)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/aline/source/server/trunk/openerp/addons/base/ir/ir_model.py", line 622, in _get_id
      raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
  ValueError: No such external ID currently defined in the system: hr_timesheet.product_consultant

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/877495/+subscriptions