- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
16 lines
636 B
Python
16 lines
636 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
KEY_LENGTH = 16
|
|
|
|
SREG2AX = { # from http://www.axschema.org/types/#sreg
|
|
'nickname': 'http://axschema.org/namePerson/friendly',
|
|
'email': 'http://axschema.org/contact/email',
|
|
'fullname': 'http://axschema.org/namePerson',
|
|
'dob': 'http://axschema.org/birthDate',
|
|
'gender': 'http://axschema.org/person/gender',
|
|
'postcode': 'http://axschema.org/contact/postalCode/home',
|
|
'country': 'http://axschema.org/contact/country/home',
|
|
'language': 'http://axschema.org/pref/language',
|
|
'timezone': 'http://axschema.org/pref/timezone',
|
|
}
|