translate.py : inspect.stack() problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Christophe Simonis (OpenERP) |
Bug Description
Hi,
openerp 5.02 in all-in-one, base terp with demo data and profil manufacturing and account chart "France". Fiscal year defined.
Add sale account, purchase account, sale tax, purchase tax on product PC1.
A user, member of group salesman, with salesman's rule create a sale order to Axelor.
He chooses PC1 on line order. Result :
Environment Information :
System : Windows-XP-5.1.2600
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 240, in dispatch
File "netsvc.pyo", line 73, in __call__
File "service\
File "osv\osv.pyo", line 59, in wrapper
File "osv\osv.pyo", line 119, in execute
File "osv\osv.pyo", line 111, in execute_cr
File "osv\orm.pyo", line 2048, in read
File "tools\misc.pyo", line 680, in cached_result
File "C:\Program Files\OpenERP AllInOne\
File "tools\
AttributeError: 'tuple' object has no attribute 'get'
The same operation with admin user has no problem.
Thank's in advance
Christian Draux
Changed in openobject-server: | |
status: | New → Confirmed |
summary: |
- add product in sale order crashes the client + translate.py : inspect.stack() problem |
Changed in openobject-server: | |
assignee: | nobody → Christophe (OpenERP) (kangol) |
Hello Christian,
I just had checked with OpenERP 5.0.6 version and the problem does not appear anymore.
I doubt on the record rules set by you too.
Kindly provide more information(the flow you follow, rules, access rights,groups for non-admin users) for this bug and reopen if you
still face the issue.
Thanks.