← Back to team overview

openerp-india team mailing list archive

[Bug 487702] Re: Context is lost in DMS with connected user in FTP lose

 

** Summary changed:

- [5.0] context in DMS with connected user in FTP lose
+ Context is lost in DMS with connected user in FTP lose

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/487702

Title:
  Context is lost in DMS with connected user in FTP lose

Status in OpenERP Addons (modules):
  Fix Released
Status in OpenERP Addons 5.0 series:
  Triaged
Status in OpenERP Addons trunk series:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/487702/+subscriptions