{"method":"model.party.contact_mechanism.write","params":[5,"e7fe29ce9296436c9fa8759a75fg047d",{"type":"email"},{"value":"[email protected]"},{"party":"6"}]}

Is this right JSON RPC body?


On Friday, June 10, 2016 at 1:25:56 PM UTC+5:30, Sergi Almacellas Abellana 
wrote:
>
> El 10/06/16 a les 09:27, Akshay patel ha escrit: 
> > 
> > Hello, 
> >   I have couple of questions: 
> > 
> > 1) How to create a contact_mechanism for a specific party? I am trying 
> > to finding how *domains* works for this? 
> > i.e. How to give party ID when create method. 
>
> Domains are used on search operations to filter records. There are not 
> used on record creation. To realte a contact mechanims to a party you 
> have to assign it's party field with the id of the related party. 
>
> > 
> > 2) I am unable to create a new party via create method. 
> > 
> > 
> Can not help if you don't provide more information. 
> > Thank you, 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "tryton" group. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/tryton/24d4a9af-deec-4ece-93ee-5b8856426e5d%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/tryton/24d4a9af-deec-4ece-93ee-5b8856426e5d%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
>
>
> -- 
> Sergi Almacellas Abellana 
> www.koolpi.com 
> Twitter: @pokoli_srk 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/c26f0259-3386-4123-b688-3c41eb3c3830%40googlegroups.com.

Reply via email to