← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

We Let the addons1 team decide.

Thanks.

** Changed in: openobject-addons/5.0
    Milestone: 5.0.13 => None

** Changed in: openobject-addons/5.0
     Assignee: xrg (xrg) => Jay (OpenERP) (jvo-openerp)

** Changed in: openobject-addons/trunk
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

** Changed in: openobject-addons/5.0
   Importance: Undecided => Low

** Changed in: openobject-addons/trunk
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/487702

Title:
  [5.0] context in DMS with connected user in FTP lose

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