avanzosc team mailing list archive
-
avanzosc team
-
Mailing list archive
-
Message #00185
[Bug 879464] Re: Manufacturing Anaytic Accounting Error
** Branch linked: lp:avanzosc
--
You received this bug notification because you are a member of Avanzosc
Developers, which is subscribed to Avanzosc developments.
https://bugs.launchpad.net/bugs/879464
Title:
Manufacturing Anaytic Accounting Error
Status in Avanzosc OpenERP modules:
New
Bug description:
After installing the modules and making my company`s currency, euro,
to be able to work with them, I got this error when trying to do
analytic accounting creation on Manufacturing Order Form
Environment Information :
System : Linux-2.6.32-5-686-i686-with-debian-6.0.3
OS Name : posix
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.3 (squeeze)
Release: 6.0.3
Codename: squeeze
Operating System Release : 2.6.32-5-686
Operating System Version : #1 SMP Mon Oct 3 04:15:24 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : es_CO.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !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 636, in dispatch
res = fn(db, uid, *params)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 663, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 645, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 177, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 72, in execute_cr
action_res = action(self, cr, uid, data, context)
File "/usr/share/pyshared/openerp-server/addons/mrp_analytics_control/wizard/ana_acc_wiz.py", line 180, in create_analytic
new_id = account_analytic_line_obj.create(cr, uid, values)
File "/usr/share/pyshared/openerp-server/osv/orm.py", line 3651, in create
cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
File "/usr/share/pyshared/openerp-server/sql_db.py", line 78, in wrapper
return f(self, *args, **kwargs)
File "/usr/share/pyshared/openerp-server/sql_db.py", line 131, in execute
res = self._obj.execute(query, params)
IntegrityError: inserción o actualización en la tabla «account_analytic_line» viola la llave foránea «account_analytic_line_general_account_id_fkey»
DETALLE: La llave (general_account_id)=(950) no está presente en la tabla «account_account».
To manage notifications about this bug go to:
https://bugs.launchpad.net/avanzosc/+bug/879464/+subscriptions
References