← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 487702] Re: [5.0] context in DMS with connected user in FTP lose

 

** Changed in: openobject-addons/trunk
       Status: New => Triaged

** Changed in: openobject-addons/5.0
       Status: New => Triaged

-- 
[5.0] context in DMS with connected user in FTP lose
https://bugs.launchpad.net/bugs/487702
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: Triaged
Status in OpenObject Addons 5.0 series: Triaged
Status in OpenObject Addons trunk series: Triaged

Bug description:
Server revno: 1880
Addons revno: 2461
Client revno: 1014

I create a new module, i use the 
process_read_%(ext)s method (where %(ext)s is the extension i choose)

but when i load my file by FTP, the file is correct, no problem, but i want to format date with the user's lang
but when i had a print to method context, i see {'lang': False}

In my module, i have test if False and read the lang from the uid connected, but it's not clean

Look the method open in ftpserver.py, the lang in context is False
 
Regards,

Distribution: Ubuntu
Version: 8.10 (intrepid)
Python 2.5.2

Locale:
  LANG=fr_FR.UTF-8