El 26/05/16 a les 09:16, Akshay patel ha escrit:
Hello!
Hi, first of all it will be great if you can introduce what are you
trying to achieve and which are your objectives.
*1) Fields which are missing in **model.party.party.search_read**:*
1. Private Email
2. Skype
3. invoice address
4. delivery address
5. Birthday
6. image
7. abonnement
8. outstanding dept.
9. liabilities
10. location to show in the map
So just create a custom module and add all the fields you need.
*2) Edit not working except first name , last name & notes*
**
*e.g. *
**
***{"method":"model.party.party.write","params":[5,"70f21535a5a24db88f7f0b7ced9bf3ef",[5],{"notes":"My
first note","first_name":"XXX","email":"[email protected]
<mailto:[email protected]>","phone":"1234","name":"YYYYY"},{"ids":[5],"values":{"notes":"My
first note","first_name":"XXX","email":"[email protected]
<mailto:[email protected]>","phone":"1234","name":"YYYYY"}}]}*
**Here only notes,name & first name are edited successfully, email,phone
field are ignored
Because they are functional fields without a setter function. You should
directly edit the contact_mechanisms or create a setter function for
those fields.
**
**
*3) Getting null result while Editing*
*JSON_Result: {*
* "id" : 0,*
* "result" : null*
*}*
**
**
Don't understand whats the problem/question.
*4) As we are showing address from full_address field then how can we
make request call to edit party address?*
full_address is also a functional field, so you should edit the address
fields directly or provide a setter function for the functional field.
--
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/be7f941f-9564-4f63-a4ba-c22f52915d84%40googlegroups.com
<https://groups.google.com/d/msgid/tryton/be7f941f-9564-4f63-a4ba-c22f52915d84%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/5746AF55.3050803%40koolpi.com.