Skip to Content
Menu
This question has been flagged
4 Replies
16896 Views

Hi all, I have a big problem, I hope some of you can help me. I'm trying to import this simple data to my accounts C:\fakepath\account.account.png

at the moment to validate OpenERP show me this message

'NoneType' object has no attribute 'group'

the logs show me this

2014-01-26 16:54:12,546 1816 ERROR inicial openerp.netsvc: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "C:\openerp70\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\openerp70\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\openerp70\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\openerp70\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\openerp70\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\openerp70\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\openerp70\Server\server\openerp\addons\base_import\models.py", line 320, in do File "C:\openerp70\Server\server.\openerp\osv\orm.py", line 1374, in load File "C:\openerp70\Server\server.\openerp\osv\orm.py", line 5336, in convert_pgerror_23502 AttributeError: 'NoneType' object has no attribute 'group' 2014-01-26 16:54:12,651 1816 INFO inicial werkzeug: 127.0.0.1 - - [26/Jan/2014 16:54:12] "POST /web/dataset/call_kw HTTP/1.1" 200 -

I don't know what is the problem, I can create the account from the account form, but I cant import this from a csv file, what is the problem??

another thing I did was add all account columns to file account.account.csv and still not working :(

please help me.

Avatar
Discard
Author Best Answer

please!!! somebody can help me with this error??? I can create account one by one, but it is more easy to import from a csv file.

thank you in advance for your help.

Avatar
Discard
Best Answer

I do have the same problem.

 

I filled all the required fields : reconcile, code, name, parent_id/id, user_type/id, type, ID, Active, company_id/id, currency_mode.

And I always have the same error message : 'NoneType' object has no attribute 'group'.

 

If anyone has any suggestion plz share.

Thank U.

Avatar
Discard
Best Answer

To make sure your format is correct, create an export from within odoo selecting "import compatible" csv format with only one line. Then you can change the external ids to internal ids, then you can try to import the file. This will help you figure out what is missing.

Good luck

Avatar
Discard
Best Answer

Hy,

You should have not fill one manadory field. Your logs are not so usefull, have a look above those line, you'll see messages that explain which are missing. Maybe, use the  --log-sql option in your command so that you'll see what's going on in the DB.

Another option could be that the import trying to change the code of an account that already have moves.

Did you try to split your file?

Anyway, better logs would explain you what's wrong

Hope it can help

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 15
7685
0
Oct 17
4181
0
Dec 16
2697
1
Mar 15
5749
0
Mar 16
2888