← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 813329] [NEW] Traceback while opening invoice line to select product

 

Public bug reported:

Hello,

First of all install the account_anglo_sexon module.

Now while i am trying to creating an invoice and try to add invoice
line, i am getting this Traceback.

Traceback (most recent call last):
  File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 118, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: product_id_change() takes at most 15 arguments (16 given)
.
.
.

This is becouse the product_id_change in account/invoice.py modified and
it takes one extra argument company_id.

Thanks,
Purnendu Singh

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/813329

Title:
  Traceback while opening invoice line to select product

Status in OpenERP Modules (addons):
  New

Bug description:
  Hello,

  First of all install the account_anglo_sexon module.

  Now while i am trying to creating an invoice and try to add invoice
  line, i am getting this Traceback.

  Traceback (most recent call last):
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 118, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/tiny/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
  TypeError: product_id_change() takes at most 15 arguments (16 given)
  .
  .
  .

  This is becouse the product_id_change in account/invoice.py modified
  and it takes one extra argument company_id.

  Thanks,
  Purnendu Singh

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


Follow ups

References