Adding a line to Supplier/Customer invoice with account_tax_include module generates error

Asked by vvlads

When I use OpenERP Servewr 6.0.3 with account_tax_include module, then in any invoice, when I add a line, the OpenERP GTK 6.0.3 client generates an error as follows:
nvironment Information :
System : Windows-Vista-6.1.7601-SP1
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7601
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "C:\Program Files (x86)\OpenERP\6.0\Server\addons\account\invoice.py", line 1426, in uos_id_change
  File "C:\Program Files (x86)\OpenERP\6.0\Server\addons\account_analytic_default\account_analytic_default.py", line 77, in product_id_change
  File "C:\Program Files (x86)\OpenERP\6.0\Server\addons\product_visible_discount\product_visible_discount.py", line 109, in product_id_change
TypeError: product_id_change() got multiple values for keyword argument 'context'

Uninstalling the module allows adding lines.

Can you fix the issue?

Thank you in advance.

Question information

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello,

We have already added a functionality of account_tax_include module's in account module itself. So no need to install this module.

I have checked your scenario with product_visible discount and account_analytic_default but all are working as expected.

So would you please try without account_tax_include module which is currently also not available on extra-addons.

That's why this is not a bug and I am closing this issue.

Thanks you!

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
vvlads (t-vla7-l) said :
#3

Actually, the problem occurs only if the module is installed, so I can switch off the module, add more lines, switch on the module and continue working.

If you add such a functionality into the core system, I will find a way to use it, thank you.