Community mailing list archives

community@mail.odoo.com

Re: Please take me from the mailing list!

by
Angelos Sfakianakis
- 08/28/2015 05:44:17


Hello,


Please take me out from the mailing list!

Angelos

On 27 August 2015 at 23:23, Tilo Oliver Eggert <tilo.eggert@to-do.de> wrote:

Please take me from the mailing list!




Mit freundlichem Gruß
Tilo Eggert


       
            

                Tilo O. Eggert
              Goethestrasse 68
              40237 Düsseldorf

     Telefon    +49 211 444434
     Mobil       +49 178 8778961
     Email      tilo.eggert@to-do.de


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

This e-mail may contain confidential and/or privileged information. If you are not 
the intended recipient (or have received this e-mail in error) please notify the 
sender immediately and destroy this e-mail. Any unauthorised copying, disclosure 
or distribution of the material in this e-mail is strictly forbidden. 

Am 27.08.2015 um 22:17 schrieb aasim ansari <aasim333@gmail.com>:

Ok I got it. I can get the user id using-

from openerp.http import request

request.session.uid

Now, my next challenge is when I use xmlrpclib to connect to another instance then this throws an exception.: RuntimeError: object unbound
Simply because it is not an http request.

I need the community support to find out a way to start a http session and set user id via Odoo API.

Thanks.




--
Aasim Ahmed Ansari
Cell: +91 9619 424 386

On Thu, Aug 27, 2015 at 9:17 PM, aasim ansari <aasim333@gmail.com> wrote:
Ok I am trying to implement this functionality. I created property_digits field. But when I try to override get_precision() function there is no way to get uid. 

get_precision()  accepts only one parameter 'application'. Any suggestions how to get uid of current user logged in.

Thanks.



--
Aasim Ahmed Ansari
Cell: +91 9619 424 386

On Mon, Aug 10, 2015 at 11:18 PM, Ferdinand Gassauer <ferdinand.gassauer@camptocamp.com> wrote:
you must create a property field

but I am not sure how the database field will be created, because these are numeric whereas odoo uses float
has anyone tried this ?

On 2015-08-10 13:33, Caudal Eric wrote:
<blockquote cite="mid:CABxYQ6VRWziQN55ijn8kx5zU+Vn6idcH_BZ35Cf7oLad1JR=QA@mail.gmail.com" type="cite">

This is not possible without dev. Decimal accuracy is per instance, not per company...


On Mon, Aug 10, 2015, 19:02 aasim ansari <aasim333@gmail.com> wrote:
Hello Community,

Is anyone aware how to implement decimal precision in different companies. 
For eg. I have 2 companies- A & B. For A I want decimal precision of Account to be 0 and for B I want it to be 2. 

Regards.
--
Aasim Ahmed Ansari
Cell: +91 9619 424 386

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Angelos

99368000