openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #04735
[Bug 912953] Re: Product Visible Discount causes error when entering invoice lines
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-912953-mma
--
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/912953
Title:
Product Visible Discount causes error when entering invoice lines
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Openerp Version 6.0.2
When entering invoice lines I get the following error.
Traceback (most recent call last):
File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
TypeError: product_id_change() takes at most 14 arguments (15 given)
I have attributed this to the Product Visible Discount Module, as it
is only since installing this that the error occures.
If you enter an invoice line by filling in the required fields, all it
OK, the error only occurs when you try and reference a product (via
the Product Field) and the system tries to fetch the data on the
product.
The platform is Ubuntu 10.04.1
The following modules are installed
name shortdesc latest_version
account Accounting and Financial Management 6.0.1.1
account_accountant Accountant 6.0.1.1
account_cancel Account Cancel 6.0.1.1
account_chart Charts of Accounts 6.0.1.1
account_followup Accounting follow-ups management 6.0.1.0
account_invoice_layout Invoices Layout Improvement 6.0.1.0
account_payment Payment Management 6.0.1.1
account_voucher Accounting Voucher Entries 6.0.1.0
analytic Analytic Account 6.0.1.1
base Base 6.0.1.3
base_action_rule Action Rule 6.0.1.0
base_calendar Basic Calendar Functionality 6.0.1.0
base_report_designer Report designer interface module 6.0.0.1
base_setup Base Setup 6.0.1.0
base_tools Common base for tools modules 6.0.1.0
base_vat Base VAT - To check VAT number validity 6.0.1.0
board Dashboard main module 6.0.1.0
crm Customer & Supplier Relationship Management 6.0.1.0
decimal_precision Decimal Precision Configuration 6.0.0.1
delivery Carriers and deliveries 6.0.1.0
document Integrated Document Management System 6.0.2.1
email_account Email Invoice - Use to Send Customers or Suppliers the selected invoices attachment by Email. 6.0.1.0
email_sale Email Sale - Use to Send Customers the selected sale orders attachment by Email 6.0.1.0
email_template Email Template for OpenERP 6.0.0.7 RC
google_map Google Map 6.0.1.0
hr Human Resources 6.0.1.1
hr_attendance Attendances Of Employees 6.0.1.1
hr_contract Human Resources Contracts 6.0.1.0
hr_expense Human Resources Expenses Tracking 6.0.1.0
hr_holidays Human Resources: Holidays management 6.0.1.5
hr_payroll Human Resource Payroll 6.0.1.0
hr_payroll_account Human Resource Payroll Accounting 6.0.1.0
hr_timesheet Human Resources (Timesheet encoding) 6.0.1.0
hr_timesheet_invoice Invoice on analytic lines 6.0.1.0
hr_timesheet_sheet Timesheets 6.0.1.0
knowledge Knowledge Management System 6.0.1.0
l10n_fr France - Plan Comptable Général 6.0.1.0
mail_gateway Email Gateway System 6.0.1.0
marketing Marketing 6.0.1.1
marketing_campaign marketing_campaign 6.0.1.1
mrp Manufacturing Resource Planning 6.0.1.1
process Enterprise Process 6.0.1.0
procurement Procurements 6.0.1.0
product Products & Pricelists 6.0.1.1
product_visible_discount Visible Discount 6.0.1.0
profile_tools Miscellaneous Tools 6.0.1.0
purchase Purchase Management 6.0.1.1
purchase_approve Approve PO automatically when confirmed. 6.0.1.0
purchase_requisition Purchase - Purchase Requisition 6.0.0.1
report_designer Reporting Tools 6.0.1.0
resource Resource 6.0.1.1
sale Sales Management 6.0.1.0
sale_crm Creates Sales order from Opportunity 6.0.1.0
sale_layout Sale Order Layout 6.0.1.0
smtpclient Email Client 6.0.1.0
stock Inventory Management 6.0.1.1
stock_invoice_directly Invoice Picking Directly 6.0.1.0
stock_location Warehouse Locations Paths 6.0.1.0
web_livechat Live Chat Support 6.0.1.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/912953/+subscriptions
References