c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04417
[Bug 675800] [NEW] account_fiscalyear_close, ValidationError
Public bug reported:
6.0rc1, trunk update 15.11.10.
WHen trying to install the Sales and CRM profiles (which probably
depends upon accounting since I get this error), this message appears on
the server:
l
[2010-11-15 23:58:20,789][bktest60] INFO:init:module account: loading test/account_fiscalyear_close.yml
[2010-11-15 23:58:20,970][bktest60] ERROR:tests.account:('ValidateError', u'Error occurred while validating the field(s) account_id: You can not create move line on receivable/payable account without partner')
Traceback (most recent call last):
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 723, in process
self._process_node(node)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 738, in _process_node
self.process_python(node)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 412, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/test/account_fiscalyear_close.yml", line 3, in <module>
-
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/wizard/account_fiscalyear_close.py", line 117, in data_save
}, {'journal_id': new_journal.id, 'period_id':period.id})
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/account_move_line.py", line 1194, in create
result = super(osv.osv, self).create(cr, uid, vals, context=context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 3747, in create
self._validate(cr, user, [id_new], context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 1065, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) account_id: You can not create move line on receivable/payable account without partner')
[2010-11-15 23:58:21,728][bktest60] INFO:init:module crm: loading crm_data.xml
[2010-11-15 23:58:21,742][bktest60] INFO:init:module crm: loading crm_meeting_data.xml
[2010-11-15 23:58:21,768][bktest60] INFO:init:module crm: loading crm_lead_data.xml
[2010-11-15 23:58:21,842][bktest60] INFO:init:module crm: loading crm_meeting_data.xml
[2010-11-15 23:58:21,865][bktest60] INFO:init:module crm: loading crm_opportunity_data.xml
[2010-11-15 23:58:21,912][bktest60] INFO:init:module crm: loading crm_phonecall_data.xml
[2010-11-15 23:58:21,926][bktest60] INFO:init:module crm: loading security/crm_security.xml
[2010-11-15 23:58:22,011][bktest60] INFO:init:module crm: loading security/ir.model.access.csv
[2010-11-15 23:58:22,286][bktest60] INFO:init:module crm: loading wizard/crm_lead_to_partner_view.xml
[2010-11-15 23:58:22,312][bktest60] INFO:init:module crm: loading wizard/crm_lead_to_opportunity_view.xml
[2010-11-15 23:58:22,369][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_phonecall_view.xml
[2010-11-15 23:58:22,396][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_partner_view.xml
[2010-11-15 23:58:22,438][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_opportunity_view.xml
[2010-11-15 23:58:22,464][bktest60] INFO:init:module crm: loading wizard/crm_opportunity_to_phonecall_view.xml
[2010-11-15 23:58:22,489][bktest60] INFO:init:module crm: loading wizard/crm_partner_to_opportunity_view.xml
[2010-11-15 23:58:22,527][bktest60] INFO:init:module crm: loading wizard/crm_send_email_view.xml
[2010-11-15 23:58:22,587][bktest60] INFO:init:module crm: loading wizard/crm_add_note_view.xml
[2010-11-15 23:58:22,613][bktest60] INFO:init:module crm: loading wizard/crm_merge_opportunit
It is a fresh install, fresh compile, fresh database.
If there is something that should have been done beforehand, I believe
this could maybe be checked for. Also no mesage is given in the client
(I use the GTK client since the web client has errors, which I will
report shortly).
** Affects: openobject-addons
Importance: Undecided
Status: New
--
account_fiscalyear_close, ValidationError
https://bugs.launchpad.net/bugs/675800
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
6.0rc1, trunk update 15.11.10.
WHen trying to install the Sales and CRM profiles (which probably depends upon accounting since I get this error), this message appears on the server:
l
[2010-11-15 23:58:20,789][bktest60] INFO:init:module account: loading test/account_fiscalyear_close.yml
[2010-11-15 23:58:20,970][bktest60] ERROR:tests.account:('ValidateError', u'Error occurred while validating the field(s) account_id: You can not create move line on receivable/payable account without partner')
Traceback (most recent call last):
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 723, in process
self._process_node(node)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 738, in _process_node
self.process_python(node)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/tools/yaml_import.py", line 412, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/test/account_fiscalyear_close.yml", line 3, in <module>
-
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/wizard/account_fiscalyear_close.py", line 117, in data_save
}, {'journal_id': new_journal.id, 'period_id':period.id})
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/addons/account/account_move_line.py", line 1194, in create
result = super(osv.osv, self).create(cr, uid, vals, context=context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 3747, in create
self._validate(cr, user, [id_new], context)
File "/home/tbri/iterate/trunk6/openerp/virtual/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 1065, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) account_id: You can not create move line on receivable/payable account without partner')
[2010-11-15 23:58:21,728][bktest60] INFO:init:module crm: loading crm_data.xml
[2010-11-15 23:58:21,742][bktest60] INFO:init:module crm: loading crm_meeting_data.xml
[2010-11-15 23:58:21,768][bktest60] INFO:init:module crm: loading crm_lead_data.xml
[2010-11-15 23:58:21,842][bktest60] INFO:init:module crm: loading crm_meeting_data.xml
[2010-11-15 23:58:21,865][bktest60] INFO:init:module crm: loading crm_opportunity_data.xml
[2010-11-15 23:58:21,912][bktest60] INFO:init:module crm: loading crm_phonecall_data.xml
[2010-11-15 23:58:21,926][bktest60] INFO:init:module crm: loading security/crm_security.xml
[2010-11-15 23:58:22,011][bktest60] INFO:init:module crm: loading security/ir.model.access.csv
[2010-11-15 23:58:22,286][bktest60] INFO:init:module crm: loading wizard/crm_lead_to_partner_view.xml
[2010-11-15 23:58:22,312][bktest60] INFO:init:module crm: loading wizard/crm_lead_to_opportunity_view.xml
[2010-11-15 23:58:22,369][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_phonecall_view.xml
[2010-11-15 23:58:22,396][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_partner_view.xml
[2010-11-15 23:58:22,438][bktest60] INFO:init:module crm: loading wizard/crm_phonecall_to_opportunity_view.xml
[2010-11-15 23:58:22,464][bktest60] INFO:init:module crm: loading wizard/crm_opportunity_to_phonecall_view.xml
[2010-11-15 23:58:22,489][bktest60] INFO:init:module crm: loading wizard/crm_partner_to_opportunity_view.xml
[2010-11-15 23:58:22,527][bktest60] INFO:init:module crm: loading wizard/crm_send_email_view.xml
[2010-11-15 23:58:22,587][bktest60] INFO:init:module crm: loading wizard/crm_add_note_view.xml
[2010-11-15 23:58:22,613][bktest60] INFO:init:module crm: loading wizard/crm_merge_opportunit
It is a fresh install, fresh compile, fresh database.
If there is something that should have been done beforehand, I believe this could maybe be checked for. Also no mesage is given in the client (I use the GTK client since the web client has errors, which I will report shortly).
Follow ups
References