odoo_xmlrpc_twisted.functions.get_user_address_values

Module get the address data of a user.

Functions

get_state_language(country, state_id, ...)

Find the matching state based on language or falls back to the base state.

get_user_address_values(partner_id, ...)

Get address values from a user, selected by the partner_id of the user.

odoo_xmlrpc_twisted.functions.get_user_address_values.get_state_language(country, state_id, language_code)[source]

Find the matching state based on language or falls back to the base state. The record of the user will be updated with the matching state.

odoo_xmlrpc_twisted.functions.get_user_address_values.get_user_address_values(partner_id, country_code, user_language_code)[source]

Get address values from a user, selected by the partner_id of the user. Result is an array with the different address ‘type’ like ‘delivery’ or ‘invoice’.