Rename module into party
Move country into his own module Add full_name on party Add full_address on address
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
from category import *
|
||||
from party import *
|
||||
from country import *
|
||||
from address import *
|
||||
|
||||
+9
-6
@@ -1,18 +1,21 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
{
|
||||
"name" : "Relationship",
|
||||
"name" : "Party",
|
||||
"version" : "0.1",
|
||||
"author" : "B2CK",
|
||||
'email': 'info@b2ck.com',
|
||||
'website': 'http://www.tryton.org/',
|
||||
"category" : "Generic",
|
||||
"description": "Define parties, addresses and co.",
|
||||
"depends" : ["ir","res"],
|
||||
"depends" : [
|
||||
"ir",
|
||||
"res",
|
||||
"country",
|
||||
],
|
||||
"xml" : [
|
||||
"relationship.xml",
|
||||
"category.xml",
|
||||
"party.xml",
|
||||
"country.xml",
|
||||
"category.xml",
|
||||
"address.xml",
|
||||
],
|
||||
'translation': [
|
||||
|
||||
+37
-10
@@ -1,4 +1,5 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
'Address'
|
||||
from trytond.osv import fields, OSV
|
||||
|
||||
@@ -9,9 +10,9 @@ STATES = {
|
||||
|
||||
class Address(OSV):
|
||||
"Address"
|
||||
_name = 'relationship.address'
|
||||
_name = 'party.address'
|
||||
_description = __doc__
|
||||
party = fields.Many2One('relationship.party', 'Party', required=True,
|
||||
party = fields.Many2One('party.party', 'Party', required=True,
|
||||
ondelete='cascade', select=1, states=STATES)
|
||||
name = fields.Char('Contact Name', size=64, states=STATES)
|
||||
street = fields.Char('Street', size=128, states=STATES)
|
||||
@@ -19,16 +20,13 @@ class Address(OSV):
|
||||
zip = fields.Char('Zip', change_default=True, size=24,
|
||||
states=STATES)
|
||||
city = fields.Char('City', size=128, states=STATES)
|
||||
country = fields.Many2One('relationship.country', 'Country',
|
||||
country = fields.Many2One('country.country', 'Country',
|
||||
states=STATES)
|
||||
subdivision = fields.Many2One("relationship.country.subdivision",
|
||||
subdivision = fields.Many2One("country.subdivision",
|
||||
'Subdivision', domain="[('country', '=', country)]", states=STATES)
|
||||
email = fields.Char('E-Mail', size=64, states=STATES)
|
||||
phone = fields.Char('Phone', size=64, states=STATES)
|
||||
fax = fields.Char('Fax', size=64, states=STATES)
|
||||
mobile = fields.Char('Mobile', size=64, states=STATES)
|
||||
active = fields.Boolean('Active')
|
||||
sequence = fields.Integer("Sequence")
|
||||
full_address = fields.Function('get_full_address', type='text')
|
||||
|
||||
def __init__(self):
|
||||
super(Address, self).__init__()
|
||||
@@ -42,13 +40,42 @@ class Address(OSV):
|
||||
def default_active(self, cursor, user, context=None):
|
||||
return 1
|
||||
|
||||
def get_full_address(self, cursor, user, ids, name, arg, context=None):
|
||||
if not ids:
|
||||
return []
|
||||
res = {}
|
||||
for address in self.browse(cursor, user, ids, context=context):
|
||||
res[address.id] = ''
|
||||
if address.name:
|
||||
res[address.id] += address.name
|
||||
if address.street:
|
||||
if res[address.id]:
|
||||
res[address.id] += '\n'
|
||||
res[address.id] += address.street
|
||||
if address.streetbis:
|
||||
if res[address.id]:
|
||||
res[address.id] += '\n'
|
||||
res[address.id] += address.streetbis
|
||||
if address.zip or address.city:
|
||||
if res[address.id]:
|
||||
res[address.id] += '\n'
|
||||
res[address.id] += address.zip or '' + ' ' + address.city or ''
|
||||
if address.country or address.subdivision:
|
||||
if res[address.id]:
|
||||
res[address.id] += '\n'
|
||||
if address.subdivision:
|
||||
res[address.id] += ' ' + address.subdivision.name
|
||||
if address.country:
|
||||
res[address.id] += address.country.name
|
||||
return res
|
||||
|
||||
def name_get(self, cursor, user, ids, context=None):
|
||||
if not ids:
|
||||
return []
|
||||
if isinstance(ids, (int, long)):
|
||||
ids = [ids]
|
||||
res = []
|
||||
for address in self.browse(cursor, user, ids, context):
|
||||
for address in self.browse(cursor, user, ids, context=context):
|
||||
res.append((address.id, ", ".join(x for x in [address.name,
|
||||
address.party.name, address.zip, address.city] if x)))
|
||||
return res
|
||||
|
||||
+7
-18
@@ -1,24 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="address_view_tree">
|
||||
<field name="model">relationship.address</field>
|
||||
<field name="model">party.address</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Addresses">
|
||||
<field name="party" select="1"/>
|
||||
<field name="name" select="1"/>
|
||||
<field name="phone" select="2"/>
|
||||
<field name="email" select="2"/>
|
||||
<field name="active" select="2" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="address_view_form">
|
||||
<field name="model">relationship.address</field>
|
||||
<field name="model">party.address</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
@@ -48,23 +47,13 @@
|
||||
<field name="country" completion="1"/>
|
||||
<label name="subdivision"/>
|
||||
<field name="subdivision"/>
|
||||
<newline/>
|
||||
<label name="phone"/>
|
||||
<field name="phone"/>
|
||||
<label name="mobile"/>
|
||||
<field name="mobile"/>
|
||||
<newline/>
|
||||
<label name="fax"/>
|
||||
<field name="fax"/>
|
||||
<label name="email"/>
|
||||
<field name="email" widget="email"/>
|
||||
</form>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_address_form">
|
||||
<field name="name">Addresses</field>
|
||||
<field name="res_model">relationship.address</field>
|
||||
<field name="res_model">party.address</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_address_form_view1">
|
||||
@@ -77,12 +66,12 @@
|
||||
<field name="view" ref="address_view_form"/>
|
||||
<field name="act_window" ref="act_address_form"/>
|
||||
</record>
|
||||
<menuitem name="Addresses" parent="menu_relationship"
|
||||
<menuitem name="Addresses" parent="menu_party"
|
||||
sequence="2" action="act_address_form"
|
||||
id="menu_address_form"/>
|
||||
<record model="ir.action.act_window" id="act_address_form2">
|
||||
<field name="name">Addresses</field>
|
||||
<field name="res_model">relationship.address</field>
|
||||
<field name="res_model">party.address</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_address_form2_view1">
|
||||
|
||||
+6
-4
@@ -1,5 +1,7 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
from trytond.osv import fields, OSV
|
||||
|
||||
STATES = {
|
||||
'readonly': "active == False",
|
||||
}
|
||||
@@ -7,15 +9,15 @@ STATES = {
|
||||
|
||||
class Category(OSV):
|
||||
"Category"
|
||||
_name = "relationship.category"
|
||||
_name = "party.category"
|
||||
_description = __doc__
|
||||
name = fields.Char('Name', required=True, size=64,
|
||||
states=STATES)
|
||||
parent = fields.Many2One('relationship.category', 'Parent',
|
||||
parent = fields.Many2One('party.category', 'Parent',
|
||||
select=1, states=STATES)
|
||||
complete_name = fields.Function('get_complete_name',
|
||||
type="char", string='Name', states=STATES)
|
||||
childs = fields.One2Many('relationship.category', 'parent',
|
||||
childs = fields.One2Many('party.category', 'parent',
|
||||
'Childs', states=STATES)
|
||||
active = fields.Boolean('Active')
|
||||
|
||||
|
||||
+13
-12
@@ -1,9 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="category_view_form">
|
||||
<field name="model">relationship.category</field>
|
||||
<field name="model">party.category</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
@@ -19,7 +20,7 @@
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="category_view_tree">
|
||||
<field name="model">relationship.category</field>
|
||||
<field name="model">party.category</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="field_childs">childs</field>
|
||||
<field name="arch" type="xml">
|
||||
@@ -33,7 +34,7 @@
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_category_tree">
|
||||
<field name="name">Categories</field>
|
||||
<field name="res_model">relationship.category</field>
|
||||
<field name="res_model">party.category</field>
|
||||
<field name="view_type">tree</field>
|
||||
<field name="domain">[('parent', '=', False)]</field>
|
||||
</record>
|
||||
@@ -42,11 +43,11 @@
|
||||
<field name="view" ref="category_view_tree"/>
|
||||
<field name="act_window" ref="act_category_tree"/>
|
||||
</record>
|
||||
<menuitem parent="menu_relationship" sequence="3"
|
||||
<menuitem parent="menu_party" sequence="3"
|
||||
action="act_category_tree" id="menu_category_tree"/>
|
||||
<record model="ir.action.act_window" id="act_category_form">
|
||||
<field name="name">Categories</field>
|
||||
<field name="res_model">relationship.category</field>
|
||||
<field name="res_model">party.category</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_category_form_view1">
|
||||
@@ -63,7 +64,7 @@
|
||||
action="act_category_form" id="menu_category_form"/>
|
||||
<record model="ir.action.act_window" id="act_category_form2">
|
||||
<field name="name">Categories</field>
|
||||
<field name="res_model">relationship.category</field>
|
||||
<field name="res_model">party.category</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_category_form2_view1">
|
||||
@@ -79,16 +80,16 @@
|
||||
<menuitem name="New category" parent="menu_category_tree"
|
||||
action="act_category_form2" id="menu_category_form2"/>
|
||||
|
||||
<record model="ir.model.access" id="access_relationship_category">
|
||||
<field name="model" search="[('model', '=', 'relationship.category')]"/>
|
||||
<record model="ir.model.access" id="access_party_category">
|
||||
<field name="model" search="[('model', '=', 'party.category')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_relationship_category_admin">
|
||||
<field name="model" search="[('model', '=', 'relationship.category')]"/>
|
||||
<field name="group" ref="group_relationship_admin"/>
|
||||
<record model="ir.model.access" id="access_party_category_admin">
|
||||
<field name="model" search="[('model', '=', 'party.category')]"/>
|
||||
<field name="group" ref="group_party_admin"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
|
||||
-183
@@ -1,183 +0,0 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
from trytond.osv import fields, OSV
|
||||
STATES = {
|
||||
'readonly': "active == False",
|
||||
}
|
||||
|
||||
|
||||
class Country(OSV):
|
||||
'Country'
|
||||
_name = 'relationship.country'
|
||||
_description = __doc__
|
||||
name = fields.Char('Name', required=True, translate=True,
|
||||
help='The full name of the country.', select=1)
|
||||
code = fields.Char('Code', size=2, select=1,
|
||||
help='The ISO country code in two chars.\n'
|
||||
'You can use this field for quick search.', required=True)
|
||||
subdivisions = fields.One2Many('relationship.country.subdivision',
|
||||
'country', 'Subdivisions')
|
||||
|
||||
def __init__(self):
|
||||
super(Country, self).__init__()
|
||||
self._sql_constraints += [
|
||||
('name_uniq', 'UNIQUE(name)',
|
||||
'The name of the country must be unique!'),
|
||||
('code_uniq', 'UNIQUE(code)',
|
||||
'The code of the country must be unique!'),
|
||||
]
|
||||
self._order.insert(0, ('code', 'ASC'))
|
||||
|
||||
def name_search(self, cr, user, name='', args=None, operator='ilike',
|
||||
context=None, limit=None):
|
||||
if not args:
|
||||
args=[]
|
||||
ids = False
|
||||
if len(name) <= 2:
|
||||
ids = self.search(cr, user, [('code', '=', name.upper())] + args,
|
||||
limit=limit, context=context)
|
||||
if not ids:
|
||||
ids = self.search(cr, user, [('name', operator, name)] + args,
|
||||
limit=limit, context=context)
|
||||
return self.name_get(cr, user, ids, context)
|
||||
|
||||
def create(self, cursor, user, vals, context=None):
|
||||
if 'code' in vals:
|
||||
vals['code'] = vals['code'].upper()
|
||||
new_id = super(Country, self).create(cursor, user, vals, context=context)
|
||||
if 'module' in context:
|
||||
cursor.execute('INSERT INTO ir_translation ' \
|
||||
'(name, lang, type, src, res_id, value, module, fuzzy) ' \
|
||||
'VALUES (%s, %s, %s, %s, %s, %s, %s, false)',
|
||||
('relationship.country,name', 'en_US', 'model',
|
||||
vals['name'], new_id, '', context.get('module')))
|
||||
return new_id
|
||||
|
||||
def write(self, cursor, user, ids, vals, context=None):
|
||||
if 'code' in vals:
|
||||
vals['code'] = vals['code'].upper()
|
||||
return super(Country, self).write(cursor, user, ids, vals,
|
||||
context=context)
|
||||
|
||||
Country()
|
||||
|
||||
|
||||
class Subdivision(OSV):
|
||||
"Subdivision"
|
||||
_name = 'relationship.country.subdivision'
|
||||
_description = __doc__
|
||||
country = fields.Many2One('relationship.country', 'Country',
|
||||
required=True)
|
||||
name = fields.Char('Name', required=True, select=1)
|
||||
code = fields.Char('Code', required=True, select=1)
|
||||
type = fields.Selection([
|
||||
('administration', 'Administration'),
|
||||
('administrative area', 'Administrative area'),
|
||||
('administrative region', 'Administrative Region'),
|
||||
('administrative territory', 'Administrative Territory'),
|
||||
('area', 'Area'),
|
||||
('atoll', 'Atoll'),
|
||||
('autonomous city', 'Autonomous City'),
|
||||
('autonomous commune', 'Autonomous Commune'),
|
||||
('autonomous communities', 'Autonomous communities'),
|
||||
('autonomous district', 'Autonomous District'),
|
||||
('autonomous island', 'Autonomous island'),
|
||||
('autonomous monastic state', 'Autonomous monastic state'),
|
||||
('autonomous municipality', 'Autonomous municipality'),
|
||||
('autonomous province', 'Autonomous Province'),
|
||||
('autonomous region', 'Autonomous Region'),
|
||||
('autonomous republic', 'Autonomous republic'),
|
||||
('autonomous sector', 'Autonomous sector'),
|
||||
('autonomous territory', 'Autonomous territory'),
|
||||
('borough', 'Borough'),
|
||||
('canton', 'Canton'),
|
||||
('capital city', 'Capital city'),
|
||||
('capital district', 'Capital District'),
|
||||
('capital metropolitan city', 'Capital Metropolitan City'),
|
||||
('capital territory', 'Capital Territory'),
|
||||
('city', 'City'),
|
||||
('city corporation', 'City corporation'),
|
||||
('city with county rights', 'City with county rights'),
|
||||
('commune', 'Commune'),
|
||||
('country', 'Country'),
|
||||
('county', 'County'),
|
||||
('department', 'Department'),
|
||||
('dependency', 'Dependency'),
|
||||
('district', 'District'),
|
||||
('division', 'Division'),
|
||||
('economic prefecture', 'Economic Prefecture'),
|
||||
('economic region', 'Economic region'),
|
||||
('emirate', 'Emirate'),
|
||||
('entity', 'Entity'),
|
||||
('federal dependency', 'Federal Dependency'),
|
||||
('federal district', 'Federal District'),
|
||||
('federal territories', 'Federal Territories'),
|
||||
('geographical region', 'Geographical region'),
|
||||
('geographical unit', 'Geographical unit'),
|
||||
('governorate', 'Governorate'),
|
||||
('included for completeness', 'Included for completeness'),
|
||||
('island council', 'Island council'),
|
||||
('island group', 'Island group'),
|
||||
('local council', 'Local council'),
|
||||
('london borough', 'London borough'),
|
||||
('metropolitan cities', 'Metropolitan cities'),
|
||||
('metropolitan department', 'Metropolitan department'),
|
||||
('metropolitan district', 'Metropolitan district'),
|
||||
('metropolitan region', 'Metropolitan region'),
|
||||
('municipalities', 'Municipalities'),
|
||||
('municipality', 'Municipality'),
|
||||
('oblast', 'Oblast'),
|
||||
('outlying area', 'Outlying area'),
|
||||
('overseas region/department', 'Overseas region/department'),
|
||||
('overseas territorial collectivity', 'Overseas territorial collectivity'),
|
||||
('parish', 'Parish'),
|
||||
('prefecture', 'Prefecture'),
|
||||
('principality', 'Principality'),
|
||||
('province', 'Province'),
|
||||
('rayon', 'Rayon'),
|
||||
('region', 'Region'),
|
||||
('regional council', 'Regional council'),
|
||||
('republic', 'Republic'),
|
||||
('special administrative region', 'Special administrative region'),
|
||||
('special city', 'Special city'),
|
||||
('special district', 'Special District'),
|
||||
('special municipality', 'Special Municipality'),
|
||||
('special region', 'Special Region'),
|
||||
('special zone', 'Special zone'),
|
||||
('state', 'State'),
|
||||
('territorial unit', 'Territorial unit'),
|
||||
('territory', 'Territory'),
|
||||
('town council', 'Town council'),
|
||||
('two-tier county', 'Two-tier county'),
|
||||
('union territory', 'Union territory'),
|
||||
('unitary authority', 'Unitary authority'),
|
||||
], 'Type', required=True)
|
||||
parent = fields.Many2One('relationship.country.subdivision', 'Parent')
|
||||
|
||||
def __init__(self):
|
||||
super(Subdivision, self).__init__()
|
||||
self._order.insert(0, ('code', 'ASC'))
|
||||
|
||||
def name_search(self, cr, user, name='', args=None, operator='ilike',
|
||||
context=None, limit=None):
|
||||
if not args:
|
||||
args=[]
|
||||
ids = self.search(cr, user, [('code', '=', name.upper())] + args,
|
||||
limit=limit, context=context)
|
||||
if not ids:
|
||||
ids = self.search(cr, user, [('name', operator, name)] + args,
|
||||
limit=limit, context=context)
|
||||
return self.name_get(cr, user, ids, context)
|
||||
|
||||
def create(self, cursor, user, vals, context=None):
|
||||
if 'code' in vals:
|
||||
vals['code'] = vals['code'].upper()
|
||||
return super(Subdivision, self).create(cursor, user, vals,
|
||||
context=context)
|
||||
|
||||
def write(self, cursor, user, ids, vals, context=None):
|
||||
if 'code' in vals:
|
||||
vals['code'] = vals['code'].upper()
|
||||
return super(Subdivision, self).write(cursor, user, ids, vals,
|
||||
context=context)
|
||||
|
||||
Subdivision()
|
||||
-34250
File diff suppressed because it is too large
Load Diff
@@ -1,96 +1,68 @@
|
||||
type,name,res_id,src,value,fuzzy
|
||||
error,relationship.address,0,You can not modify the party of an address!,Der Partner für eine Adresse kann nicht geändert werden!,0
|
||||
error,relationship.category,0,You can not create recursive categories!,Kategorien dürfen nicht rekursiv sein,0
|
||||
error,relationship.country,0,The code of the country must be unique!,Der Ländercode kann nicht mehrfach vergeben werden!,0
|
||||
error,relationship.country,0,The name of the country must be unique!,Der Name des Landes kann nicht mehrfach vergeben werden!,0
|
||||
error,relationship.party,0,The code of the party must be unique!,Der Name des Partners kann nicht mehrfach vergeben werden!,0
|
||||
error,relationship.party,0,Wrong VAT number!,Falsche USt-ID Nr.,0
|
||||
field,"relationship.address,active",0,Active,Aktiv,0
|
||||
field,"relationship.address,city",0,City,Stadt,0
|
||||
field,"relationship.address,country",0,Country,Staat,0
|
||||
field,"relationship.address,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.address,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.address,email",0,E-Mail,E-Mail,0
|
||||
field,"relationship.address,fax",0,Fax,Fax,0
|
||||
field,"relationship.address,id",0,ID,ID,0
|
||||
field,"relationship.address,mobile",0,Mobile,Mobil-Telefon,0
|
||||
field,"relationship.address,name",0,Contact Name,Kontakt Name,0
|
||||
field,"relationship.address,party",0,Party,Partner,0
|
||||
field,"relationship.address,phone",0,Phone,Telefon,0
|
||||
field,"relationship.address,sequence",0,Sequence,Sequenz,0
|
||||
field,"relationship.address,state",0,State,Bundesland,0
|
||||
field,"relationship.address,street",0,Street,Anschrift 1,0
|
||||
field,"relationship.address,streetbis",0,Street (bis),Anschrift 2,0
|
||||
field,"relationship.address,subdivision",0,Subdivision,Subnationale Einheit,0
|
||||
field,"relationship.address,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.address,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"relationship.address,zip",0,Zip,Postleitzahl,0
|
||||
field,"relationship.category,active",0,Active,Aktiv,0
|
||||
field,"relationship.category,childs",0,Childs,Untergeordnet (Kategorien),0
|
||||
field,"relationship.category,complete_name",0,Name,Name,0
|
||||
field,"relationship.category,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.category,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.category,id",0,ID,ID,0
|
||||
field,"relationship.category,name",0,Name,Kategorie Name,0
|
||||
field,"relationship.category,parent",0,Parent,Übergeordnet (Kategorie),0
|
||||
field,"relationship.category,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.category,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"relationship.country,code",0,Code,Länderkürzel,0
|
||||
field,"relationship.country,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.country,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.country,id",0,ID,ID,0
|
||||
field,"relationship.country,name",0,Name,Name Staat,0
|
||||
field,"relationship.country,state",0,State,Bundesland,0
|
||||
field,"relationship.country.state,code",0,Code,Staatenkürzel,0
|
||||
field,"relationship.country.state,country",0,Country,Staat,0
|
||||
field,"relationship.country.state,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.country.state,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.country.state,id",0,ID,ID,0
|
||||
field,"relationship.country.state,name",0,Name,Ländername,0
|
||||
field,"relationship.country.state,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.country.state,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"relationship.country.subdivision,code",0,Code,Code,0
|
||||
field,"relationship.country.subdivision,country",0,Country,Land,0
|
||||
field,"relationship.country.subdivision,name",0,Name,Name,0
|
||||
field,"relationship.country.subdivision,parent",0,Parent,Übergeordnet (Subnationale Einheit),0
|
||||
field,"relationship.country,subdivisions",0,Subdivisions,Subnationale Einheiten,0
|
||||
field,"relationship.country.subdivision,type",0,Type,Typ,0
|
||||
field,"relationship.country,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.country,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"relationship.party,active",0,Active,Aktiv,0
|
||||
field,"relationship.party,addresses",0,Addresses,Adressen,0
|
||||
field,"relationship.party,categories",0,Categories,Kategorien,0
|
||||
field,"relationship.party,code",0,Code,Code Partner,0
|
||||
field,"relationship.party,code_length",0,Code Length,Code Länge,0
|
||||
field,"relationship.party,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.party,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.party,id",0,ID,ID,0
|
||||
field,"relationship.party,lang",0,Language,Sprache,0
|
||||
field,"relationship.party,name",0,Name,Name,0
|
||||
field,"relationship.party,type",0,Type,Typ,0
|
||||
field,"relationship.party.type,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"relationship.party.type,create_uid",0,Creation user,Ersteller,0
|
||||
field,"relationship.party.type,id",0,ID,ID,0
|
||||
field,"relationship.party.type,name",0,Name,Name,0
|
||||
field,"relationship.party.type,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.party.type,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"relationship.party,vat_code",0,VAT Code,USt-ID Nr.,0
|
||||
field,"relationship.party,vat_country",0,VAT Country,USt-ID Präfix,0
|
||||
field,"relationship.party,vat_number",0,VAT Number,USt-ID Nr.,0
|
||||
field,"relationship.party,website",0,Website,Website,0
|
||||
field,"relationship.party,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"relationship.party,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
help,"relationship.country,code",0,"The ISO country code in two chars.
|
||||
You can use this field for quick search.",Staatenkürzel (2 Zeichen),0
|
||||
help,"relationship.country,name",0,The full name of the country.,Voller Ländername,0
|
||||
help,"relationship.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Ein Eintrag in USt-ID Präfix aktiviert die Überprüfung der USt-ID Nr.,0
|
||||
help,"relationship.party,vat_number",0,Value Added Tax number,Umsatzsteueridentifikationsnummer,0
|
||||
error,party.address,0,You can not modify the party of an address!,Der Partner für eine Adresse kann nicht geändert werden!,0
|
||||
error,party.category,0,You can not create recursive categories!,Kategorien dürfen nicht rekursiv sein,0
|
||||
error,party.party,0,The code of the party must be unique!,Der Name des Partners kann nicht mehrfach vergeben werden!,0
|
||||
error,party.party,0,Wrong VAT number!,Falsche USt-ID Nr.,0
|
||||
field,"party.address,active",0,Active,Aktiv,0
|
||||
field,"party.address,city",0,City,Stadt,0
|
||||
field,"party.address,country",0,Country,Staat,0
|
||||
field,"party.address,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"party.address,create_uid",0,Creation user,Ersteller,0
|
||||
field,"party.address,email",0,E-Mail,E-Mail,0
|
||||
field,"party.address,fax",0,Fax,Fax,0
|
||||
field,"party.address,id",0,ID,ID,0
|
||||
field,"party.address,mobile",0,Mobile,Mobil-Telefon,0
|
||||
field,"party.address,name",0,Contact Name,Kontakt Name,0
|
||||
field,"party.address,party",0,Party,Partner,0
|
||||
field,"party.address,phone",0,Phone,Telefon,0
|
||||
field,"party.address,sequence",0,Sequence,Sequenz,0
|
||||
field,"party.address,state",0,State,Bundesland,0
|
||||
field,"party.address,street",0,Street,Anschrift 1,0
|
||||
field,"party.address,streetbis",0,Street (bis),Anschrift 2,0
|
||||
field,"party.address,subdivision",0,Subdivision,Subnationale Einheit,0
|
||||
field,"party.address,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"party.address,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"party.address,zip",0,Zip,Postleitzahl,0
|
||||
field,"party.category,active",0,Active,Aktiv,0
|
||||
field,"party.category,childs",0,Childs,Untergeordnet (Kategorien),0
|
||||
field,"party.category,complete_name",0,Name,Name,0
|
||||
field,"party.category,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"party.category,create_uid",0,Creation user,Ersteller,0
|
||||
field,"party.category,id",0,ID,ID,0
|
||||
field,"party.category,name",0,Name,Kategorie Name,0
|
||||
field,"party.category,parent",0,Parent,Übergeordnet (Kategorie),0
|
||||
field,"party.category,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"party.category,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"party.party,active",0,Active,Aktiv,0
|
||||
field,"party.party,addresses",0,Addresses,Adressen,0
|
||||
field,"party.party,categories",0,Categories,Kategorien,0
|
||||
field,"party.party,code",0,Code,Code Partner,0
|
||||
field,"party.party,code_length",0,Code Length,Code Länge,0
|
||||
field,"party.party,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"party.party,create_uid",0,Creation user,Ersteller,0
|
||||
field,"party.party,id",0,ID,ID,0
|
||||
field,"party.party,lang",0,Language,Sprache,0
|
||||
field,"party.party,name",0,Name,Name,0
|
||||
field,"party.party,type",0,Type,Typ,0
|
||||
field,"party.party.type,create_date",0,Creation date,Erstellungsdatum,0
|
||||
field,"party.party.type,create_uid",0,Creation user,Ersteller,0
|
||||
field,"party.party.type,id",0,ID,ID,0
|
||||
field,"party.party.type,name",0,Name,Name,0
|
||||
field,"party.party.type,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"party.party.type,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
field,"party.party,vat_code",0,VAT Code,USt-ID Nr.,0
|
||||
field,"party.party,vat_country",0,VAT Country,USt-ID Präfix,0
|
||||
field,"party.party,vat_number",0,VAT Number,USt-ID Nr.,0
|
||||
field,"party.party,website",0,Website,Website,0
|
||||
field,"party.party,write_date",0,Last modification date,Zuletzt geändert am,0
|
||||
field,"party.party,write_uid",0,Last modification by,Zuletzt geändert von,0
|
||||
help,"party.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Ein Eintrag in USt-ID Präfix aktiviert die Überprüfung der USt-ID Nr.,0
|
||||
help,"party.party,vat_number",0,Value Added Tax number,Umsatzsteueridentifikationsnummer,0
|
||||
model,"ir.action,name",act_address_form,Addresses,Adressen,0
|
||||
model,"ir.action,name",act_address_form2,Addresses,Adressen,0
|
||||
model,"ir.action,name",act_category_tree,Categories,Kategorien,0
|
||||
model,"ir.action,name",act_category_form,Categories,Kategorien,0
|
||||
model,"ir.action,name",act_category_form2,Categories,Kategorien,0
|
||||
model,"ir.action,name",act_country_form,Countries,Staaten,0
|
||||
model,"ir.action,name",report_label,La_bels,_Etiketten,0
|
||||
model,"ir.action,name",act_party_form,Parties,Partner,0
|
||||
model,"ir.action,name",act_party_form2,Parties,Partner,0
|
||||
@@ -99,382 +71,51 @@ model,"ir.action,name",act_party_type_form,Party Types,Partnertypen,0
|
||||
model,"ir.ui.menu,name",menu_address_form,Addresses,Adressen,0
|
||||
model,"ir.ui.menu,name",menu_category_tree,Categories,Kategorien,0
|
||||
model,"ir.ui.menu,name",menu_configuration,Configuration,Einstellungen,0
|
||||
model,"ir.ui.menu,name",menu_country_form,Countries,Staaten,0
|
||||
model,"ir.ui.menu,name",menu_category_form,Edit Categories,Kategorien bearbeiten,0
|
||||
model,"ir.ui.menu,name",menu_address_form2,New Address,Neue Adresse,0
|
||||
model,"ir.ui.menu,name",menu_category_form2,New category,Neue Kategorie,0
|
||||
model,"ir.ui.menu,name",menu_party_form2,New Party,Neuer Partner,0
|
||||
model,"ir.ui.menu,name",menu_party_form,Parties,Partner,0
|
||||
model,"ir.ui.menu,name",menu_party_type_form,Party Types,Partnertypen,0
|
||||
model,"ir.ui.menu,name",menu_relationship,Relationship Management,Kontakte,0
|
||||
model,"relationship.country,name",af,Afghanistan,Afghanistan,0
|
||||
model,"relationship.country,name",ax,Åland Islands,Åland Inseln,0
|
||||
model,"relationship.country,name",al,Albania,Albanien,0
|
||||
model,"relationship.country,name",dz,Algeria,Algerien,0
|
||||
model,"relationship.country,name",as,American Samoa,Samoa,0
|
||||
model,"relationship.country,name",ad,Andorra,Andorra,0
|
||||
model,"relationship.country,name",ao,Angola,Angola,0
|
||||
model,"relationship.country,name",ai,Anguilla,Anguilla,0
|
||||
model,"relationship.country,name",aq,Antarctica,Antarktis,0
|
||||
model,"relationship.country,name",ag,Antigua and Barbuda,Antigua und Barbuda,0
|
||||
model,"relationship.country,name",ar,Argentina,Argentinien,0
|
||||
model,"relationship.country,name",am,Armenia,Armenien,0
|
||||
model,"relationship.country,name",aw,Aruba,Aruba,0
|
||||
model,"relationship.country,name",au,Australia,Australien,0
|
||||
model,"relationship.country,name",at,Austria,Österreich,0
|
||||
model,"relationship.country,name",az,Azerbaijan,Aserbaidschan,0
|
||||
model,"relationship.country,name",bs,Bahamas,Bahamas,0
|
||||
model,"relationship.country,name",bh,Bahrain,Bahrain,0
|
||||
model,"relationship.country,name",bd,Bangladesh,Bangladesh,0
|
||||
model,"relationship.country,name",bb,Barbados,Barbados,0
|
||||
model,"relationship.country,name",by,Belarus,Weißrußland,0
|
||||
model,"relationship.country,name",be,Belgium,Belgien,0
|
||||
model,"relationship.country,name",bz,Belize,Belize,0
|
||||
model,"relationship.country,name",bj,Benin,Benin,0
|
||||
model,"relationship.country,name",bm,Bermuda,Bermudas,0
|
||||
model,"relationship.country,name",bt,Bhutan,Bhutan,0
|
||||
model,"relationship.country,name",bo,Bolivia,Bolivien,0
|
||||
model,"relationship.country,name",ba,Bosnia and Herzegovina,Bosnien-Herzegowina,0
|
||||
model,"relationship.country,name",bw,Botswana,Botswana,0
|
||||
model,"relationship.country,name",bv,Bouvet Island,Bouvet Inseln,0
|
||||
model,"relationship.country,name",br,Brazil,Brasilien,0
|
||||
model,"relationship.country,name",io,British Indian Ocean Territory,Britisch-Indischer Ozean,0
|
||||
model,"relationship.country,name",bn,Brunei Darussalam,Brunei,0
|
||||
model,"relationship.country,name",bg,Bulgaria,Bulgarien,0
|
||||
model,"relationship.country,name",bf,Burkina Faso,Burkina Faso,0
|
||||
model,"relationship.country,name",bi,Burundi,Burundi,0
|
||||
model,"relationship.country,name",kh,Cambodia,Kambodscha,0
|
||||
model,"relationship.country,name",cm,Cameroon,Kamerun,0
|
||||
model,"relationship.country,name",ca,Canada,Kanada,0
|
||||
model,"relationship.country,name",cv,Cape Verde,Kap Verde,0
|
||||
model,"relationship.country,name",ky,Cayman Islands,Kaiman Inseln,0
|
||||
model,"relationship.country,name",cf,Central African Republic,Zentralafrikanische Republik,0
|
||||
model,"relationship.country,name",td,Chad,Tschad,0
|
||||
model,"relationship.country,name",cl,Chile,Chile,0
|
||||
model,"relationship.country,name",cn,China,China,0
|
||||
model,"relationship.country,name",cx,Christmas Island,Christmas Island,0
|
||||
model,"relationship.country,name",cc,Cocos (Keeling) Islands,Kokosinseln,0
|
||||
model,"relationship.country,name",co,Colombia,Kolumbien,0
|
||||
model,"relationship.country,name",km,Comoros,Komoren,0
|
||||
model,"relationship.country,name",cg,Congo,Kongo,0
|
||||
model,"relationship.country,name",cd,"Congo, The Democratic Republic of the","Kongo, Demokratische Republik",0
|
||||
model,"relationship.country,name",ck,Cook Islands,Cook Inseln,0
|
||||
model,"relationship.country,name",cr,Costa Rica,Costa Rica,0
|
||||
model,"relationship.country,name",ci,Côte d'Ivoire,Elfenbeinküste,0
|
||||
model,"relationship.country,name",hr,Croatia,Kroatien,0
|
||||
model,"relationship.country,name",cu,Cuba,Kuba,0
|
||||
model,"relationship.country,name",cy,Cyprus,Zypern,0
|
||||
model,"relationship.country,name",cz,Czech Republic,Tschechische Republik,0
|
||||
model,"relationship.country,name",dk,Denmark,Dänemark,0
|
||||
model,"relationship.country,name",dj,Djibouti,Djibuti,0
|
||||
model,"relationship.country,name",dm,Dominica,Dominika,0
|
||||
model,"relationship.country,name",do,Dominican Republic,Dominikanische Republik,0
|
||||
model,"relationship.country,name",ec,Ecuador,Ecuador,0
|
||||
model,"relationship.country,name",eg,Egypt,Ägypten,0
|
||||
model,"relationship.country,name",sv,El Salvador,El Salvador,0
|
||||
model,"relationship.country,name",gq,Equatorial Guinea,Äquatorial Guinea,0
|
||||
model,"relationship.country,name",er,Eritrea,Eritrea,0
|
||||
model,"relationship.country,name",ee,Estonia,Estland,0
|
||||
model,"relationship.country,name",et,Ethiopia,Äthiopien,0
|
||||
model,"relationship.country,name",fk,Falkland Islands (Malvinas),Falkland Inseln,0
|
||||
model,"relationship.country,name",fo,Faroe Islands,Färöer Inseln,0
|
||||
model,"relationship.country,name",fj,Fiji,Fidschi Inseln,0
|
||||
model,"relationship.country,name",fi,Finland,Finnland,0
|
||||
model,"relationship.country,name",fr,France,Frankreich,0
|
||||
model,"relationship.country,name",gf,French Guiana,französisch Guyana,0
|
||||
model,"relationship.country,name",pf,French Polynesia,französisch Polynesien,0
|
||||
model,"relationship.country,name",tf,French Southern Territories,Französisches Süd-Territorium,0
|
||||
model,"relationship.country,name",ga,Gabon,Gabun,0
|
||||
model,"relationship.country,name",gm,Gambia,Gambia,0
|
||||
model,"relationship.country,name",ge,Georgia,Georgien,0
|
||||
model,"relationship.country,name",de,Germany,Deutschland,0
|
||||
model,"relationship.country,name",gh,Ghana,Ghana,0
|
||||
model,"relationship.country,name",gi,Gibraltar,Gibraltar,0
|
||||
model,"relationship.country,name",gr,Greece,Griechenland,0
|
||||
model,"relationship.country,name",gl,Greenland,Grönland,0
|
||||
model,"relationship.country,name",gd,Grenada,Grenada,0
|
||||
model,"relationship.country,name",gp,Guadeloupe,Guadeloupe,0
|
||||
model,"relationship.country,name",gu,Guam,Guam,0
|
||||
model,"relationship.country,name",gt,Guatemala,Guatemala,0
|
||||
model,"relationship.country,name",gg,Guernsey,Guernsey,0
|
||||
model,"relationship.country,name",gn,Guinea,Guinea,0
|
||||
model,"relationship.country,name",gw,Guinea-Bissau,Guinea Bissau,0
|
||||
model,"relationship.country,name",gy,Guyana,Guyana,0
|
||||
model,"relationship.country,name",ht,Haiti,Haiti,0
|
||||
model,"relationship.country,name",hm,Heard Island and McDonald Islands,Heard und McDonald Islands,0
|
||||
model,"relationship.country,name",va,Holy See (Vatican City State),Vatikan,0
|
||||
model,"relationship.country,name",hn,Honduras,Honduras,0
|
||||
model,"relationship.country,name",hk,Hong Kong,Hong Kong,0
|
||||
model,"relationship.country,name",hu,Hungary,Ungarn,0
|
||||
model,"relationship.country,name",is,Iceland,Island,0
|
||||
model,"relationship.country,name",in,India,Indien,0
|
||||
model,"relationship.country,name",id,Indonesia,Indonesien,0
|
||||
model,"relationship.country,name",ir,"Iran, Islamic Republic of",Iran,0
|
||||
model,"relationship.country,name",iq,Iraq,Irak,0
|
||||
model,"relationship.country,name",ie,Ireland,Irland,0
|
||||
model,"relationship.country,name",im,Isle of Man,Insel Man,0
|
||||
model,"relationship.country,name",il,Israel,Israel,0
|
||||
model,"relationship.country,name",it,Italy,Italien,0
|
||||
model,"relationship.country,name",jm,Jamaica,Jamaika,0
|
||||
model,"relationship.country,name",jp,Japan,Japan,0
|
||||
model,"relationship.country,name",je,Jersey,Jersey,0
|
||||
model,"relationship.country,name",jo,Jordan,Jordanien,0
|
||||
model,"relationship.country,name",kz,Kazakhstan,Kasachstan,0
|
||||
model,"relationship.country,name",ke,Kenya,Kenia,0
|
||||
model,"relationship.country,name",ki,Kiribati,Kiribati,0
|
||||
model,"relationship.country,name",kp,"Korea, Democratic People's Republic of",Nord Korea,0
|
||||
model,"relationship.country,name",kr,"Korea, Republic of",Süd Korea,0
|
||||
model,"relationship.country,name",kw,Kuwait,Kuwait,0
|
||||
model,"relationship.country,name",kg,Kyrgyzstan,Kirgisistan,0
|
||||
model,"relationship.country,name",la,Lao People's Democratic Republic,Laos,0
|
||||
model,"relationship.country,name",lv,Latvia,Lettland,0
|
||||
model,"relationship.country,name",lb,Lebanon,Libanon,0
|
||||
model,"relationship.country,name",ls,Lesotho,Lesotho,0
|
||||
model,"relationship.country,name",lr,Liberia,Liberia,0
|
||||
model,"relationship.country,name",ly,Libyan Arab Jamahiriya,Libyen,0
|
||||
model,"relationship.country,name",li,Liechtenstein,Liechtenstein,0
|
||||
model,"relationship.country,name",lt,Lithuania,Litauen,0
|
||||
model,"relationship.country,name",lu,Luxembourg,Luxenburg,0
|
||||
model,"relationship.country,name",mo,Macao,Macao,0
|
||||
model,"relationship.country,name",mk,"Macedonia, Republic of",Mazedonien,0
|
||||
model,"relationship.country,name",mg,Madagascar,Madagaskar,0
|
||||
model,"relationship.country,name",mw,Malawi,Malawi,0
|
||||
model,"relationship.country,name",my,Malaysia,Malaysia,0
|
||||
model,"relationship.country,name",mv,Maldives,Malediven,0
|
||||
model,"relationship.country,name",ml,Mali,Mali,0
|
||||
model,"relationship.country,name",mt,Malta,Malta,0
|
||||
model,"relationship.country,name",mh,Marshall Islands,Marshall Inseln,0
|
||||
model,"relationship.country,name",mq,Martinique,Martinique,0
|
||||
model,"relationship.country,name",mr,Mauritania,Mauretanien,0
|
||||
model,"relationship.country,name",mu,Mauritius,Mauritius,0
|
||||
model,"relationship.country,name",yt,Mayotte,Mayotte,0
|
||||
model,"relationship.country,name",mx,Mexico,Mexiko,0
|
||||
model,"relationship.country,name",fm,"Micronesia, Federated States of",Mikronesien,0
|
||||
model,"relationship.country,name",md,Moldova,Moldavien,0
|
||||
model,"relationship.country,name",mc,Monaco,Monaco,0
|
||||
model,"relationship.country,name",mn,Mongolia,Mongolei,0
|
||||
model,"relationship.country,name",me,Montenegro,Montenegro,0
|
||||
model,"relationship.country,name",ms,Montserrat,Montserrat,0
|
||||
model,"relationship.country,name",ma,Morocco,Marokko,0
|
||||
model,"relationship.country,name",mz,Mozambique,Mocambique,0
|
||||
model,"relationship.country,name",mm,Myanmar,Birma,0
|
||||
model,"relationship.country,name",na,Namibia,Namibia,0
|
||||
model,"relationship.country,name",nr,Nauru,Nauru,0
|
||||
model,"relationship.country,name",np,Nepal,Nepal,0
|
||||
model,"relationship.country,name",nl,Netherlands,Niederlande,0
|
||||
model,"relationship.country,name",an,Netherlands Antilles,Antillen (NL),0
|
||||
model,"relationship.country,name",nc,New Caledonia,Neukaledonien,0
|
||||
model,"relationship.country,name",nz,New Zealand,Neuseeland,0
|
||||
model,"relationship.country,name",ni,Nicaragua,Nicaragua,0
|
||||
model,"relationship.country,name",ne,Niger,Niger,0
|
||||
model,"relationship.country,name",ng,Nigeria,Nigeria,0
|
||||
model,"relationship.country,name",nu,Niue,Niue,0
|
||||
model,"relationship.country,name",nf,Norfolk Island,Norfolk Inseln,0
|
||||
model,"relationship.country,name",mp,Northern Mariana Islands,Marianen,0
|
||||
model,"relationship.country,name",no,Norway,Norwegen,0
|
||||
model,"relationship.country,name",om,Oman,Oman,0
|
||||
model,"relationship.country,name",pk,Pakistan,Pakistan,0
|
||||
model,"relationship.country,name",pw,Palau,Palau,0
|
||||
model,"relationship.country,name",ps,"Palestinian Territory, Occupied",Westjordanland,0
|
||||
model,"relationship.country,name",pa,Panama,Panama,0
|
||||
model,"relationship.country,name",pg,Papua New Guinea,Papua Neuguinea,0
|
||||
model,"relationship.country,name",py,Paraguay,Paraguay,0
|
||||
model,"relationship.country,name",pe,Peru,Peru,0
|
||||
model,"relationship.country,name",ph,Philippines,Philippinen,0
|
||||
model,"relationship.country,name",pn,Pitcairn,Pitcairn,0
|
||||
model,"relationship.country,name",pl,Poland,Polen,0
|
||||
model,"relationship.country,name",pt,Portugal,Portugal,0
|
||||
model,"relationship.country,name",pr,Puerto Rico,Puerto Rico,0
|
||||
model,"relationship.country,name",qa,Qatar,Qatar,0
|
||||
model,"relationship.country,name",re,Reunion,Reunion,0
|
||||
model,"relationship.country,name",ro,Romania,Rumänien,0
|
||||
model,"relationship.country,name",ru,Russian Federation,Rußland,0
|
||||
model,"relationship.country,name",rw,Rwanda,Ruanda,0
|
||||
model,"relationship.country,name",bl,Saint Barthélemy,Saint Barthélemy,0
|
||||
model,"relationship.country,name",sh,Saint Helena,St. Helena,0
|
||||
model,"relationship.country,name",kn,Saint Kitts and Nevis,St. Kitts Nevis Anguilla,0
|
||||
model,"relationship.country,name",lc,Saint Lucia,Saint Lucia,0
|
||||
model,"relationship.country,name",mf,Saint Martin (French part),Saint Martin,0
|
||||
model,"relationship.country,name",pm,Saint Pierre and Miquelon,St. Pierre und Miquelon,0
|
||||
model,"relationship.country,name",vc,Saint Vincent and the Grenadines,St. Vincent,0
|
||||
model,"relationship.country,name",ws,Samoa,Samoa,0
|
||||
model,"relationship.country,name",sm,San Marino,San Marino,0
|
||||
model,"relationship.country,name",st,Sao Tome and Principe,Sao Tome,0
|
||||
model,"relationship.country,name",sa,Saudi Arabia,Saudi Arabien,0
|
||||
model,"relationship.country,name",sn,Senegal,Senegal,0
|
||||
model,"relationship.country,name",rs,Serbia,Serbien,0
|
||||
model,"relationship.country,name",sc,Seychelles,Seychellen,0
|
||||
model,"relationship.country,name",sl,Sierra Leone,Sierra Leone,0
|
||||
model,"relationship.country,name",sg,Singapore,Singapur,0
|
||||
model,"relationship.country,name",sk,Slovakia,Slowakei (slowakische Republik),0
|
||||
model,"relationship.country,name",si,Slovenia,Slowenien,0
|
||||
model,"relationship.country,name",sb,Solomon Islands,Solomon Inseln,0
|
||||
model,"relationship.country,name",so,Somalia,Somalia,0
|
||||
model,"relationship.country,name",za,South Africa,Südafrika,0
|
||||
model,"relationship.country,name",gs,South Georgia and the South Sandwich Islands,South Georgia und South Sandwich Islands,0
|
||||
model,"relationship.country,name",es,Spain,Spanien,0
|
||||
model,"relationship.country,name",lk,Sri Lanka,Sri Lanka,0
|
||||
model,"relationship.country,name",sd,Sudan,Sudan,0
|
||||
model,"relationship.country,name",sr,Suriname,Surinam,0
|
||||
model,"relationship.country,name",sj,Svalbard and Jan Mayen,Svalbard und Jan Mayen Islands,0
|
||||
model,"relationship.country,name",sz,Swaziland,Swasiland,0
|
||||
model,"relationship.country,name",se,Sweden,Schweden,0
|
||||
model,"relationship.country,name",ch,Switzerland,Schweiz,0
|
||||
model,"relationship.country,name",sy,Syrian Arab Republic,Syrien,0
|
||||
model,"relationship.country,name",tw,"Taiwan, Province of China",Taiwan,0
|
||||
model,"relationship.country,name",tj,Tajikistan,Tadschikistan,0
|
||||
model,"relationship.country,name",tz,"Tanzania, United Republic of",Tansania,0
|
||||
model,"relationship.country,name",th,Thailand,Thailand,0
|
||||
model,"relationship.country,name",tl,Timor-Leste,Osttimor,0
|
||||
model,"relationship.country,name",tg,Togo,Togo,0
|
||||
model,"relationship.country,name",tk,Tokelau,Tokelau,0
|
||||
model,"relationship.country,name",to,Tonga,Tonga,0
|
||||
model,"relationship.country,name",tt,Trinidad and Tobago,Trinidad Tobago,0
|
||||
model,"relationship.country,name",tn,Tunisia,Tunesien,0
|
||||
model,"relationship.country,name",tr,Turkey,Türkei,0
|
||||
model,"relationship.country,name",tm,Turkmenistan,Turkmenistan,0
|
||||
model,"relationship.country,name",tc,Turks and Caicos Islands,Turks und Kaikos Inseln,0
|
||||
model,"relationship.country,name",tv,Tuvalu,Tuvalu,0
|
||||
model,"relationship.country,name",ug,Uganda,Uganda,0
|
||||
model,"relationship.country,name",ua,Ukraine,Ukraine,0
|
||||
model,"relationship.country,name",ae,United Arab Emirates,Vereinigte Arabische Emirate,0
|
||||
model,"relationship.country,name",gb,United Kingdom,Großbritannien (UK),0
|
||||
model,"relationship.country,name",us,United States,Vereinigte Staaten von Amerika,0
|
||||
model,"relationship.country,name",um,United States Minor Outlying Islands,US - kleinere Inseln außerhalb,0
|
||||
model,"relationship.country,name",uy,Uruguay,Uruguay,0
|
||||
model,"relationship.country,name",uz,Uzbekistan,Usbekistan,0
|
||||
model,"relationship.country,name",vu,Vanuatu,Vanuatu,0
|
||||
model,"relationship.country,name",ve,Venezuela,Venezuela,0
|
||||
model,"relationship.country,name",vn,Viet Nam,Vietnam,0
|
||||
model,"relationship.country,name",vg,"Virgin Islands, British",Virgin Island (Brit.),0
|
||||
model,"relationship.country,name",vi,"Virgin Islands, U.S.",Virgin Island (USA),0
|
||||
model,"relationship.country,name",wf,Wallis and Futuna,Wallis et Futuna,0
|
||||
model,"relationship.country,name",eh,Western Sahara,Westsahara,0
|
||||
model,"relationship.country,name",ye,Yemen,Jemen,0
|
||||
model,"relationship.country,name",zm,Zambia,Sambia,0
|
||||
model,"relationship.country,name",zw,Zimbabwe,Zimbabwe,0
|
||||
selection,"relationship.country.subdivision,type",0,Administration,Verwaltung,0
|
||||
selection,"relationship.country.subdivision,type",0,Administrative area,Verwaltungsbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Administrative Region,Regierungsbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Administrative Territory,Verwaltungsbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Area,Bezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Atoll,Atoll,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous City,Autonome Stadt,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous Commune,Autonome Gemeinde,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous communities,Autonome Gemeinden,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous District,Autonomer Distrikt,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous island,Autonome Insel,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous monastic state,Autonomer Kirchenstaat,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous municipality,Autonomer Verwaltungsbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous Province,Autonome Provinz,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous Region,Autonome Region,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous republic,Autonome Republik,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous sector,Autonomer Bereich,0
|
||||
selection,"relationship.country.subdivision,type",0,Autonomous territory,Autonomes Gebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Borough,Stadtbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Canton,Kanton,0
|
||||
selection,"relationship.country.subdivision,type",0,Capital city,Capital city,0
|
||||
selection,"relationship.country.subdivision,type",0,Capital District,Bezirksstadt,0
|
||||
selection,"relationship.country.subdivision,type",0,Capital Metropolitan City,Capital Metropolitan City,0
|
||||
selection,"relationship.country.subdivision,type",0,Capital Territory,Hauptstadtterritorium,0
|
||||
selection,"relationship.country.subdivision,type",0,City,Stadt,0
|
||||
selection,"relationship.country.subdivision,type",0,City corporation,Stadtverwaltung,0
|
||||
selection,"relationship.country.subdivision,type",0,City with county rights,Stadt mit Kreisverwaltungsrechten,0
|
||||
selection,"relationship.country.subdivision,type",0,Commune,Gemeinde,0
|
||||
selection,"relationship.country.subdivision,type",0,Country,Land,0
|
||||
selection,"relationship.country.subdivision,type",0,County,Landkreis,0
|
||||
selection,"relationship.country.subdivision,type",0,Department,Gebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Dependency,Schutzgebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,District,Distrikt,0
|
||||
selection,"relationship.country.subdivision,type",0,Division,Untereinheit,0
|
||||
selection,"relationship.country.subdivision,type",0,Economic Prefecture,Wirtschaftspräfektur,0
|
||||
selection,"relationship.country.subdivision,type",0,Economic region,Wirtschaftsgebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Emirate,Emirat,0
|
||||
selection,"relationship.country.subdivision,type",0,Entity,Einheit,0
|
||||
selection,"relationship.country.subdivision,type",0,Federal Dependency,Bundesstaatliche Kolonie,0
|
||||
selection,"relationship.country.subdivision,type",0,Federal District,Bundesgebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Federal Territories,Bundesländer,0
|
||||
selection,"relationship.country.subdivision,type",0,Geographical region,Geographische Region,0
|
||||
selection,"relationship.country.subdivision,type",0,Geographical unit,Geographische Einheit,0
|
||||
selection,"relationship.country.subdivision,type",0,Governorate,Regierungsbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Included for completeness,Der Vollständigkeit halber hinzugefügt,0
|
||||
selection,"relationship.country.subdivision,type",0,Island council,Inselrat,0
|
||||
selection,"relationship.country.subdivision,type",0,Island group,Inselgruppe,0
|
||||
selection,"relationship.country.subdivision,type",0,Local council,Gemeinderat,0
|
||||
selection,"relationship.country.subdivision,type",0,London borough,Stadtbezirk London,0
|
||||
selection,"relationship.country.subdivision,type",0,Metropolitan cities,Metropolstädte,0
|
||||
selection,"relationship.country.subdivision,type",0,Metropolitan department,Metropoldepartement,0
|
||||
selection,"relationship.country.subdivision,type",0,Metropolitan district,Metropolbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Metropolitan region,Metropolregion,0
|
||||
selection,"relationship.country.subdivision,type",0,Municipalities,Stadtverwaltungen,0
|
||||
selection,"relationship.country.subdivision,type",0,Municipality,Stadtverwaltung,0
|
||||
selection,"relationship.country.subdivision,type",0,Oblast,Gebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Outlying area,Randbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Overseas region/department,Region Übersee/Departement,0
|
||||
selection,"relationship.country.subdivision,type",0,Overseas territorial collectivity,Territoriale Gemeinschaft Übersee,0
|
||||
selection,"relationship.country.subdivision,type",0,Parish,Gemeinde,0
|
||||
selection,"relationship.country.subdivision,type",0,Prefecture,Präfektur,0
|
||||
selection,"relationship.country.subdivision,type",0,Principality,Fürstentum,0
|
||||
selection,"relationship.country.subdivision,type",0,Province,Provinz,0
|
||||
selection,"relationship.country.subdivision,type",0,Rayon,Bezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Region,Region,0
|
||||
selection,"relationship.country.subdivision,type",0,Regional council,Regionalrat,0
|
||||
selection,"relationship.country.subdivision,type",0,Republic,Republik,0
|
||||
selection,"relationship.country.subdivision,type",0,Special administrative region,Sonderverwaltungszone,0
|
||||
selection,"relationship.country.subdivision,type",0,Special city,Special city,0
|
||||
selection,"relationship.country.subdivision,type",0,Special District,Special District,0
|
||||
selection,"relationship.country.subdivision,type",0,Special Municipality,Sonderstadtverwaltung,0
|
||||
selection,"relationship.country.subdivision,type",0,Special Region,Sonderverwaltungsgebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Special zone,Sonderwirtschaftszone,0
|
||||
selection,"relationship.country.subdivision,type",0,State,Staat,0
|
||||
selection,"relationship.country.subdivision,type",0,Territorial unit,Territoriale Einheit,0
|
||||
selection,"relationship.country.subdivision,type",0,Territory,Gebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Town council,Stadtrat,0
|
||||
selection,"relationship.country.subdivision,type",0,Two-tier county,Zweistufenbezirk,0
|
||||
selection,"relationship.country.subdivision,type",0,Union territory,Gemeinschaftsgebiet,0
|
||||
selection,"relationship.country.subdivision,type",0,Unitary authority,Einheitliche Behörde,0
|
||||
selection,"relationship.party,vat_country",0,,,0
|
||||
selection,"relationship.party,vat_country",0,AT,AT,0
|
||||
selection,"relationship.party,vat_country",0,BE,BE,0
|
||||
selection,"relationship.party,vat_country",0,BG,BG,0
|
||||
selection,"relationship.party,vat_country",0,CY,CY,0
|
||||
selection,"relationship.party,vat_country",0,CZ,CZ,0
|
||||
selection,"relationship.party,vat_country",0,DE,DE,0
|
||||
selection,"relationship.party,vat_country",0,DK,DK,0
|
||||
selection,"relationship.party,vat_country",0,EE,EE,0
|
||||
selection,"relationship.party,vat_country",0,EL,EL,0
|
||||
selection,"relationship.party,vat_country",0,ES,ES,0
|
||||
selection,"relationship.party,vat_country",0,FI,FI,0
|
||||
selection,"relationship.party,vat_country",0,FR,FR,0
|
||||
selection,"relationship.party,vat_country",0,GB,GB,0
|
||||
selection,"relationship.party,vat_country",0,GR,GR,0
|
||||
selection,"relationship.party,vat_country",0,HU,HU,0
|
||||
selection,"relationship.party,vat_country",0,IE,IE,0
|
||||
selection,"relationship.party,vat_country",0,IT,IT,0
|
||||
selection,"relationship.party,vat_country",0,LT,LT,0
|
||||
selection,"relationship.party,vat_country",0,LU,LU,0
|
||||
selection,"relationship.party,vat_country",0,LV,LV,0
|
||||
selection,"relationship.party,vat_country",0,MT,MT,0
|
||||
selection,"relationship.party,vat_country",0,NL,NL,0
|
||||
selection,"relationship.party,vat_country",0,PL,PL,0
|
||||
selection,"relationship.party,vat_country",0,PT,PT,0
|
||||
selection,"relationship.party,vat_country",0,RO,RO,0
|
||||
selection,"relationship.party,vat_country",0,SE,SE,0
|
||||
selection,"relationship.party,vat_country",0,SI,SI,0
|
||||
selection,"relationship.party,vat_country",0,SK,SK,0
|
||||
view,relationship.address,0,Addresses,Adressen,0
|
||||
view,relationship.category,0,Categories,Kategorien,0
|
||||
view,relationship.category,0,Category,Kategorie,0
|
||||
view,relationship.country,0,Countries,Staaten,0
|
||||
view,relationship.country,0,Country,Staat,0
|
||||
view,relationship.country,0,Subdivision,Subnationale Einheit,0
|
||||
view,relationship.country,0,Subdivisions,Subnationale Einheiten,0
|
||||
view,relationship.party,0,Accounting,Konto,0
|
||||
view,relationship.party,0,Addresses,Adressen,0
|
||||
view,relationship.party,0,Categories,Kategorien,0
|
||||
view,relationship.party,0,General,Allgemein,0
|
||||
view,relationship.party,0,Parties,Partner,0
|
||||
view,relationship.party,0,Party,Partner,0
|
||||
view,relationship.party,0,Properties,Eigenschaften,0
|
||||
view,relationship.party.type,0,Party Type,Partnertyp,0
|
||||
view,relationship.party.type,0,Party Types,Partnertypen,0
|
||||
model,"ir.ui.menu,name",menu_party,Relationship Management,Kontakte,0
|
||||
selection,"party.party,vat_country",0,,,0
|
||||
selection,"party.party,vat_country",0,AT,AT,0
|
||||
selection,"party.party,vat_country",0,BE,BE,0
|
||||
selection,"party.party,vat_country",0,BG,BG,0
|
||||
selection,"party.party,vat_country",0,CY,CY,0
|
||||
selection,"party.party,vat_country",0,CZ,CZ,0
|
||||
selection,"party.party,vat_country",0,DE,DE,0
|
||||
selection,"party.party,vat_country",0,DK,DK,0
|
||||
selection,"party.party,vat_country",0,EE,EE,0
|
||||
selection,"party.party,vat_country",0,EL,EL,0
|
||||
selection,"party.party,vat_country",0,ES,ES,0
|
||||
selection,"party.party,vat_country",0,FI,FI,0
|
||||
selection,"party.party,vat_country",0,FR,FR,0
|
||||
selection,"party.party,vat_country",0,GB,GB,0
|
||||
selection,"party.party,vat_country",0,GR,GR,0
|
||||
selection,"party.party,vat_country",0,HU,HU,0
|
||||
selection,"party.party,vat_country",0,IE,IE,0
|
||||
selection,"party.party,vat_country",0,IT,IT,0
|
||||
selection,"party.party,vat_country",0,LT,LT,0
|
||||
selection,"party.party,vat_country",0,LU,LU,0
|
||||
selection,"party.party,vat_country",0,LV,LV,0
|
||||
selection,"party.party,vat_country",0,MT,MT,0
|
||||
selection,"party.party,vat_country",0,NL,NL,0
|
||||
selection,"party.party,vat_country",0,PL,PL,0
|
||||
selection,"party.party,vat_country",0,PT,PT,0
|
||||
selection,"party.party,vat_country",0,RO,RO,0
|
||||
selection,"party.party,vat_country",0,SE,SE,0
|
||||
selection,"party.party,vat_country",0,SI,SI,0
|
||||
selection,"party.party,vat_country",0,SK,SK,0
|
||||
view,party.address,0,Addresses,Adressen,0
|
||||
view,party.category,0,Categories,Kategorien,0
|
||||
view,party.category,0,Category,Kategorie,0
|
||||
view,party.party,0,Accounting,Konto,0
|
||||
view,party.party,0,Addresses,Adressen,0
|
||||
view,party.party,0,Categories,Kategorien,0
|
||||
view,party.party,0,General,Allgemein,0
|
||||
view,party.party,0,Parties,Partner,0
|
||||
view,party.party,0,Party,Partner,0
|
||||
view,party.party,0,Properties,Eigenschaften,0
|
||||
view,party.party.type,0,Party Type,Partnertyp,0
|
||||
view,party.party.type,0,Party Types,Partnertypen,0
|
||||
|
||||
|
@@ -1,60 +1,47 @@
|
||||
type,name,res_id,src,value,fuzzy
|
||||
error,relationship.address,0,You can not modify the party of an address!,No puede modificar el tercero de una dirección!,0
|
||||
error,relationship.category,0,You can not create recursive categories!,No puede crear categorías recursivas!,0
|
||||
error,relationship.country,0,The code of the country must be unique!,El código del país debe ser único!,0
|
||||
error,relationship.country,0,The name of the country must be unique!,Eln nombre de los países debe ser único!,0
|
||||
error,relationship.party,0,The code of the party must be unique!,El código del tercero debe ser único!,0
|
||||
error,relationship.party,0,Wrong VAT number!,Número de VAT erróneo!,0
|
||||
field,"relationship.address,active",0,Active,Activo,0
|
||||
field,"relationship.address,city",0,City,Ciudad,0
|
||||
field,"relationship.address,country",0,Country,País,0
|
||||
field,"relationship.address,email",0,E-Mail,E-Mail,0
|
||||
field,"relationship.address,fax",0,Fax,Fax,0
|
||||
field,"relationship.address,mobile",0,Mobile,Móvil,0
|
||||
field,"relationship.address,name",0,Contact Name,Nombre de Contacto,0
|
||||
field,"relationship.address,party",0,Party,Tercero,0
|
||||
field,"relationship.address,phone",0,Phone,Teléfono,0
|
||||
field,"relationship.address,sequence",0,Sequence,Secuencia,0
|
||||
field,"relationship.address,state",0,State,Estado,0
|
||||
field,"relationship.address,street",0,Street,Calle,0
|
||||
field,"relationship.address,streetbis",0,Street (bis),Calle (bis),0
|
||||
field,"relationship.address,zip",0,Zip,Código postal,0
|
||||
field,"relationship.category,active",0,Active,Activo,0
|
||||
field,"relationship.category,childs",0,Childs,Hij@s,0
|
||||
field,"relationship.category,complete_name",0,Name,Nombre,0
|
||||
field,"relationship.category,name",0,Name,Nombre,0
|
||||
field,"relationship.category,parent",0,Parent,Padre,0
|
||||
field,"relationship.country,code",0,Code,Código,0
|
||||
field,"relationship.country,name",0,Name,Nombre,0
|
||||
field,"relationship.country,state",0,State,Estado,0
|
||||
field,"relationship.country.state,code",0,Code,Código,0
|
||||
field,"relationship.country.state,country",0,Country,País,0
|
||||
field,"relationship.country.state,name",0,Name,Nombre,0
|
||||
field,"relationship.party,active",0,Active,Activo,0
|
||||
field,"relationship.party,addresses",0,Addresses,Direcciones,0
|
||||
field,"relationship.party,categories",0,Categories,Categorías,0
|
||||
field,"relationship.party,code",0,Code,Código,0
|
||||
field,"relationship.party,code_length",0,Code Length,Longitud del Código,0
|
||||
field,"relationship.party,lang",0,Language,Idioma,0
|
||||
field,"relationship.party,name",0,Name,Nombre,0
|
||||
field,"relationship.party,type",0,Type,Tipo,0
|
||||
field,"relationship.party.type,name",0,Name,Nombre,0
|
||||
field,"relationship.party,vat_code",0,VAT Code,Código de VAT,0
|
||||
field,"relationship.party,vat_country",0,VAT Country,VAT de país,0
|
||||
field,"relationship.party,vat_number",0,VAT Number,Nombre de VAT,0
|
||||
field,"relationship.party,website",0,Website,Sitio Web,0
|
||||
help,"relationship.country,code",0,"The ISO country code in two chars.
|
||||
You can use this field for quick search.","El código ISO del país en dos caracteres,
|
||||
Puede usar este campo para búsqueda rápida.",0
|
||||
help,"relationship.country,name",0,The full name of the country.,El nombre completo del país.,0
|
||||
help,"relationship.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Al especificar el VAT de país se habilitará la verificación del número de VAT.,0
|
||||
help,"relationship.party,vat_number",0,Value Added Tax number,Número de Impuesto de Valor Agregado,0
|
||||
error,party.address,0,You can not modify the party of an address!,No puede modificar el tercero de una dirección!,0
|
||||
error,party.category,0,You can not create recursive categories!,No puede crear categorías recursivas!,0
|
||||
error,party.party,0,The code of the party must be unique!,El código del tercero debe ser único!,0
|
||||
error,party.party,0,Wrong VAT number!,Número de VAT erróneo!,0
|
||||
field,"party.address,active",0,Active,Activo,0
|
||||
field,"party.address,city",0,City,Ciudad,0
|
||||
field,"party.address,country",0,Country,País,0
|
||||
field,"party.address,email",0,E-Mail,E-Mail,0
|
||||
field,"party.address,fax",0,Fax,Fax,0
|
||||
field,"party.address,mobile",0,Mobile,Móvil,0
|
||||
field,"party.address,name",0,Contact Name,Nombre de Contacto,0
|
||||
field,"party.address,party",0,Party,Tercero,0
|
||||
field,"party.address,phone",0,Phone,Teléfono,0
|
||||
field,"party.address,sequence",0,Sequence,Secuencia,0
|
||||
field,"party.address,state",0,State,Estado,0
|
||||
field,"party.address,street",0,Street,Calle,0
|
||||
field,"party.address,streetbis",0,Street (bis),Calle (bis),0
|
||||
field,"party.address,zip",0,Zip,Código postal,0
|
||||
field,"party.category,active",0,Active,Activo,0
|
||||
field,"party.category,childs",0,Childs,Hij@s,0
|
||||
field,"party.category,complete_name",0,Name,Nombre,0
|
||||
field,"party.category,name",0,Name,Nombre,0
|
||||
field,"party.category,parent",0,Parent,Padre,0
|
||||
field,"party.party,active",0,Active,Activo,0
|
||||
field,"party.party,addresses",0,Addresses,Direcciones,0
|
||||
field,"party.party,categories",0,Categories,Categorías,0
|
||||
field,"party.party,code",0,Code,Código,0
|
||||
field,"party.party,code_length",0,Code Length,Longitud del Código,0
|
||||
field,"party.party,lang",0,Language,Idioma,0
|
||||
field,"party.party,name",0,Name,Nombre,0
|
||||
field,"party.party,type",0,Type,Tipo,0
|
||||
field,"party.party.type,name",0,Name,Nombre,0
|
||||
field,"party.party,vat_code",0,VAT Code,Código de VAT,0
|
||||
field,"party.party,vat_country",0,VAT Country,VAT de país,0
|
||||
field,"party.party,vat_number",0,VAT Number,Nombre de VAT,0
|
||||
field,"party.party,website",0,Website,Sitio Web,0
|
||||
help,"party.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Al especificar el VAT de país se habilitará la verificación del número de VAT.,0
|
||||
help,"party.party,vat_number",0,Value Added Tax number,Número de Impuesto de Valor Agregado,0
|
||||
model,"ir.action,name",act_address_form,Addresses,Direcciones,0
|
||||
model,"ir.action,name",act_address_form2,Addresses,Direcciones,0
|
||||
model,"ir.action,name",act_category_tree,Categories,Categorías,0
|
||||
model,"ir.action,name",act_category_form,Categories,Categorías,0
|
||||
model,"ir.action,name",act_category_form2,Categories,Categorías,0
|
||||
model,"ir.action,name",act_country_form,Countries,Países,0
|
||||
model,"ir.action,name",report_label,La_bels,Etiqueta_s,0
|
||||
model,"ir.action,name",act_party_form,Parties,Partidas,0
|
||||
model,"ir.action,name",act_party_form2,Parties,Partidas,0
|
||||
@@ -63,306 +50,55 @@ model,"ir.action,name",act_party_type_form,Party Types,Tipos de Partida,0
|
||||
model,"ir.ui.menu,name",menu_address_form,Addresses,Direcciones,0
|
||||
model,"ir.ui.menu,name",menu_category_tree,Categories,Categorías,0
|
||||
model,"ir.ui.menu,name",menu_configuration,Configuration,Configuración,0
|
||||
model,"ir.ui.menu,name",menu_country_form,Countries,Países,0
|
||||
model,"ir.ui.menu,name",menu_category_form,Edit Categories,Editar Categorías,0
|
||||
model,"ir.ui.menu,name",menu_address_form2,New Address,Nueva Dirección,0
|
||||
model,"ir.ui.menu,name",menu_category_form2,New category,Nueva Categoría,0
|
||||
model,"ir.ui.menu,name",menu_party_form2,New Party,Nuevo Tercero,0
|
||||
model,"ir.ui.menu,name",menu_party_form,Parties,Partidas,0
|
||||
model,"ir.ui.menu,name",menu_party_type_form,Party Types,Tipos de Tercero,0
|
||||
model,"ir.ui.menu,name",menu_relationship,Relationship Management,Manejo de Relaciones,0
|
||||
model,"relationship.country,name",af,Afghanistan,Afganistán,0
|
||||
model,"relationship.country,name",ax,Åland Islands,Islas Aland,0
|
||||
model,"relationship.country,name",al,Albania,Albania,0
|
||||
model,"relationship.country,name",dz,Algeria,Argelia,0
|
||||
model,"relationship.country,name",as,American Samoa,Samoa Americana,0
|
||||
model,"relationship.country,name",ad,Andorra,Andorra,0
|
||||
model,"relationship.country,name",ao,Angola,Angola,0
|
||||
model,"relationship.country,name",ai,Anguilla,Anguila,0
|
||||
model,"relationship.country,name",aq,Antarctica,Antártica,0
|
||||
model,"relationship.country,name",ag,Antigua and Barbuda,Antigua y Barbados,0
|
||||
model,"relationship.country,name",ar,Argentina,Argentina,0
|
||||
model,"relationship.country,name",am,Armenia,Armenia,0
|
||||
model,"relationship.country,name",aw,Aruba,Aruba,0
|
||||
model,"relationship.country,name",au,Australia,Australia,0
|
||||
model,"relationship.country,name",at,Austria,Austria,0
|
||||
model,"relationship.country,name",az,Azerbaijan,Azerbaiján,0
|
||||
model,"relationship.country,name",bs,Bahamas,Bahamas,0
|
||||
model,"relationship.country,name",bh,Bahrain,Bahrain,0
|
||||
model,"relationship.country,name",bd,Bangladesh,Bangladesh,0
|
||||
model,"relationship.country,name",bb,Barbados,Barbados,0
|
||||
model,"relationship.country,name",by,Belarus,Bielorusia,0
|
||||
model,"relationship.country,name",be,Belgium,Bélgica,0
|
||||
model,"relationship.country,name",bz,Belize,Bélize,0
|
||||
model,"relationship.country,name",bj,Benin,Benín,0
|
||||
model,"relationship.country,name",bm,Bermuda,Bermudas,0
|
||||
model,"relationship.country,name",bt,Bhutan,Bután,0
|
||||
model,"relationship.country,name",bo,Bolivia,Bolivia,0
|
||||
model,"relationship.country,name",ba,Bosnia and Herzegovina,Bosnia y Herzegovina,0
|
||||
model,"relationship.country,name",bw,Botswana,Botswana,0
|
||||
model,"relationship.country,name",bv,Bouvet Island,Isla Bouvet,0
|
||||
model,"relationship.country,name",br,Brazil,Brasil,0
|
||||
model,"relationship.country,name",io,British Indian Ocean Territory,Territorio Oceánico de las Islas Indobritánicas,0
|
||||
model,"relationship.country,name",bn,Brunei Darussalam,Brunei Darussalam,0
|
||||
model,"relationship.country,name",bg,Bulgaria,Bulgaria,0
|
||||
model,"relationship.country,name",bf,Burkina Faso,Burkina Faso,0
|
||||
model,"relationship.country,name",bi,Burundi,Burundi,0
|
||||
model,"relationship.country,name",kh,Cambodia,Cambodia,0
|
||||
model,"relationship.country,name",cm,Cameroon,Camerún,0
|
||||
model,"relationship.country,name",ca,Canada,Canadá,0
|
||||
model,"relationship.country,name",cv,Cape Verde,Cabo Verde,0
|
||||
model,"relationship.country,name",ky,Cayman Islands,Islas Caimán,0
|
||||
model,"relationship.country,name",cf,Central African Republic,República Central Africana,0
|
||||
model,"relationship.country,name",td,Chad,Chad,0
|
||||
model,"relationship.country,name",cl,Chile,Chile,0
|
||||
model,"relationship.country,name",cn,China,China,0
|
||||
model,"relationship.country,name",cx,Christmas Island,Islas Christmas,0
|
||||
model,"relationship.country,name",cc,Cocos (Keeling) Islands,Islas Cocos(Keeling),0
|
||||
model,"relationship.country,name",co,Colombia,Colombia,0
|
||||
model,"relationship.country,name",km,Comoros,Comoros,0
|
||||
model,"relationship.country,name",cg,Congo,Congo,0
|
||||
model,"relationship.country,name",cd,"Congo, The Democratic Republic of the","Congo, República democrática del",0
|
||||
model,"relationship.country,name",ck,Cook Islands,Islas Cook,0
|
||||
model,"relationship.country,name",cr,Costa Rica,Costa Rica,0
|
||||
model,"relationship.country,name",ci,Côte d'Ivoire,Costa de Marfil,0
|
||||
model,"relationship.country,name",hr,Croatia,Croacia,0
|
||||
model,"relationship.country,name",cu,Cuba,Cuba,0
|
||||
model,"relationship.country,name",cy,Cyprus,Chipre,0
|
||||
model,"relationship.country,name",cz,Czech Republic,República Checa,0
|
||||
model,"relationship.country,name",dk,Denmark,Dinamarca,0
|
||||
model,"relationship.country,name",dj,Djibouti,Dijbouti,0
|
||||
model,"relationship.country,name",dm,Dominica,Dominica,0
|
||||
model,"relationship.country,name",do,Dominican Republic,República Dominicana,0
|
||||
model,"relationship.country,name",ec,Ecuador,Ecuador,0
|
||||
model,"relationship.country,name",eg,Egypt,Egipto,0
|
||||
model,"relationship.country,name",sv,El Salvador,El Salvador,0
|
||||
model,"relationship.country,name",gq,Equatorial Guinea,Guinea Ecuatorial,0
|
||||
model,"relationship.country,name",er,Eritrea,Eritrea,0
|
||||
model,"relationship.country,name",ee,Estonia,Estonia,0
|
||||
model,"relationship.country,name",et,Ethiopia,Etiopía,0
|
||||
model,"relationship.country,name",fk,Falkland Islands (Malvinas),Islas del Halcón(Malvinas),0
|
||||
model,"relationship.country,name",fo,Faroe Islands,Islas Faroe,0
|
||||
model,"relationship.country,name",fj,Fiji,Fuji,0
|
||||
model,"relationship.country,name",fi,Finland,Finlandia,0
|
||||
model,"relationship.country,name",fr,France,Francia,0
|
||||
model,"relationship.country,name",gf,French Guiana,Guinea Francesa,0
|
||||
model,"relationship.country,name",pf,French Polynesia,Polinesia Francesa,0
|
||||
model,"relationship.country,name",tf,French Southern Territories,Territorios del Sur de Francia,0
|
||||
model,"relationship.country,name",ga,Gabon,Gabón,0
|
||||
model,"relationship.country,name",gm,Gambia,Gambia,0
|
||||
model,"relationship.country,name",ge,Georgia,Georgia,0
|
||||
model,"relationship.country,name",de,Germany,Alemania,0
|
||||
model,"relationship.country,name",gh,Ghana,Ghana,0
|
||||
model,"relationship.country,name",gi,Gibraltar,Gibraltar,0
|
||||
model,"relationship.country,name",gr,Greece,Grecia,0
|
||||
model,"relationship.country,name",gl,Greenland,Groenlandia,0
|
||||
model,"relationship.country,name",gd,Grenada,Granada,0
|
||||
model,"relationship.country,name",gp,Guadeloupe,Guadalupe,0
|
||||
model,"relationship.country,name",gu,Guam,Guam,0
|
||||
model,"relationship.country,name",gt,Guatemala,Guatemala,0
|
||||
model,"relationship.country,name",gg,Guernsey,Guernsey,0
|
||||
model,"relationship.country,name",gn,Guinea,Guinea,0
|
||||
model,"relationship.country,name",gw,Guinea-Bissau,Guinea-Bissau,0
|
||||
model,"relationship.country,name",gy,Guyana,Guyana,0
|
||||
model,"relationship.country,name",ht,Haiti,Haití,0
|
||||
model,"relationship.country,name",hm,Heard Island and McDonald Islands,Islas Heard y McDonald,0
|
||||
model,"relationship.country,name",va,Holy See (Vatican City State),Vaticano(Ciudad Estado),0
|
||||
model,"relationship.country,name",hn,Honduras,Honduras,0
|
||||
model,"relationship.country,name",hk,Hong Kong,Hong Kong,0
|
||||
model,"relationship.country,name",hu,Hungary,Hungria,0
|
||||
model,"relationship.country,name",is,Iceland,Islandia,0
|
||||
model,"relationship.country,name",in,India,India,0
|
||||
model,"relationship.country,name",id,Indonesia,Indonesia,0
|
||||
model,"relationship.country,name",ir,"Iran, Islamic Republic of","Irán, República Islámica de",0
|
||||
model,"relationship.country,name",iq,Iraq,Irak,0
|
||||
model,"relationship.country,name",ie,Ireland,Irlanda,0
|
||||
model,"relationship.country,name",im,Isle of Man,Isla del Hombre,0
|
||||
model,"relationship.country,name",il,Israel,Israel,0
|
||||
model,"relationship.country,name",it,Italy,Italia,0
|
||||
model,"relationship.country,name",jm,Jamaica,Jamaica,0
|
||||
model,"relationship.country,name",jp,Japan,Japón,0
|
||||
model,"relationship.country,name",je,Jersey,Jersey,0
|
||||
model,"relationship.country,name",jo,Jordan,Jordán,0
|
||||
model,"relationship.country,name",kz,Kazakhstan,Kazahistán,0
|
||||
model,"relationship.country,name",ke,Kenya,Kenia,0
|
||||
model,"relationship.country,name",ki,Kiribati,Kiribati,0
|
||||
model,"relationship.country,name",kp,"Korea, Democratic People's Republic of","Corea, República Democrática de la Gente de",0
|
||||
model,"relationship.country,name",kr,"Korea, Republic of","Corea, República de",0
|
||||
model,"relationship.country,name",kw,Kuwait,Kuwait,0
|
||||
model,"relationship.country,name",kg,Kyrgyzstan,Kyrgyzstán,0
|
||||
model,"relationship.country,name",la,Lao People's Democratic Republic,"Lao, República Democrática de la gente de",0
|
||||
model,"relationship.country,name",lv,Latvia,Latvia,0
|
||||
model,"relationship.country,name",lb,Lebanon,Líbano,0
|
||||
model,"relationship.country,name",ls,Lesotho,Lesotho,0
|
||||
model,"relationship.country,name",lr,Liberia,Liberia,0
|
||||
model,"relationship.country,name",ly,Libyan Arab Jamahiriya,Libyan Arab Jamahiriya,0
|
||||
model,"relationship.country,name",li,Liechtenstein,Liechtenstein,0
|
||||
model,"relationship.country,name",lt,Lithuania,Lituania,0
|
||||
model,"relationship.country,name",lu,Luxembourg,Luxemburgo,0
|
||||
model,"relationship.country,name",mo,Macao,Macao,0
|
||||
model,"relationship.country,name",mk,"Macedonia, Republic of","Macedonia, República de",0
|
||||
model,"relationship.country,name",mg,Madagascar,Madagascar,0
|
||||
model,"relationship.country,name",mw,Malawi,Malawi,0
|
||||
model,"relationship.country,name",my,Malaysia,Malasia,0
|
||||
model,"relationship.country,name",mv,Maldives,Maldives,0
|
||||
model,"relationship.country,name",ml,Mali,Malí,0
|
||||
model,"relationship.country,name",mt,Malta,Malta,0
|
||||
model,"relationship.country,name",mh,Marshall Islands,Islas Marshall,0
|
||||
model,"relationship.country,name",mq,Martinique,Martinica,0
|
||||
model,"relationship.country,name",mr,Mauritania,Mauritania,0
|
||||
model,"relationship.country,name",mu,Mauritius,Mauricius,0
|
||||
model,"relationship.country,name",yt,Mayotte,Mayotte,0
|
||||
model,"relationship.country,name",mx,Mexico,México,0
|
||||
model,"relationship.country,name",fm,"Micronesia, Federated States of","Micronesia, Estados Federados de",0
|
||||
model,"relationship.country,name",md,Moldova,Moldova,0
|
||||
model,"relationship.country,name",mc,Monaco,Mónaco,0
|
||||
model,"relationship.country,name",mn,Mongolia,Mongolia,0
|
||||
model,"relationship.country,name",me,Montenegro,Montenegro,0
|
||||
model,"relationship.country,name",ms,Montserrat,Monserrate,0
|
||||
model,"relationship.country,name",ma,Morocco,Marruecos,0
|
||||
model,"relationship.country,name",mz,Mozambique,Mozambique,0
|
||||
model,"relationship.country,name",mm,Myanmar,Myanmar,0
|
||||
model,"relationship.country,name",na,Namibia,Namibia,0
|
||||
model,"relationship.country,name",nr,Nauru,Nauru,0
|
||||
model,"relationship.country,name",np,Nepal,Nepal,0
|
||||
model,"relationship.country,name",nl,Netherlands,Holanda,0
|
||||
model,"relationship.country,name",an,Netherlands Antilles,Antillas Holandesas,0
|
||||
model,"relationship.country,name",nc,New Caledonia,Nueva Caledonia,0
|
||||
model,"relationship.country,name",nz,New Zealand,Nueva Zelanda,0
|
||||
model,"relationship.country,name",ni,Nicaragua,Nicaragua,0
|
||||
model,"relationship.country,name",ne,Niger,Nige,0
|
||||
model,"relationship.country,name",ng,Nigeria,Nigeria,0
|
||||
model,"relationship.country,name",nu,Niue,Niue,0
|
||||
model,"relationship.country,name",nf,Norfolk Island,Isla Norfolk,0
|
||||
model,"relationship.country,name",mp,Northern Mariana Islands,Islas Marianas del Norte,0
|
||||
model,"relationship.country,name",no,Norway,Noruega,0
|
||||
model,"relationship.country,name",om,Oman,Omán,0
|
||||
model,"relationship.country,name",pk,Pakistan,Paquistán,0
|
||||
model,"relationship.country,name",pw,Palau,Palau,0
|
||||
model,"relationship.country,name",ps,"Palestinian Territory, Occupied","Territorio Palestino, Ocupado",0
|
||||
model,"relationship.country,name",pa,Panama,Panamá,0
|
||||
model,"relationship.country,name",pg,Papua New Guinea,"Papua, Nueva Guinea",0
|
||||
model,"relationship.country,name",py,Paraguay,Paraguay,0
|
||||
model,"relationship.country,name",pe,Peru,Perú,0
|
||||
model,"relationship.country,name",ph,Philippines,Filipinas,0
|
||||
model,"relationship.country,name",pn,Pitcairn,Pitcairn,0
|
||||
model,"relationship.country,name",pl,Poland,Polonia,0
|
||||
model,"relationship.country,name",pt,Portugal,Portugal,0
|
||||
model,"relationship.country,name",pr,Puerto Rico,Puerto Rico,0
|
||||
model,"relationship.country,name",qa,Qatar,Katar,0
|
||||
model,"relationship.country,name",re,Reunion,Reunión,0
|
||||
model,"relationship.country,name",ro,Romania,Rumania,0
|
||||
model,"relationship.country,name",ru,Russian Federation,Federación Rusa,0
|
||||
model,"relationship.country,name",rw,Rwanda,Rwanda,0
|
||||
model,"relationship.country,name",bl,Saint Barthélemy,San Bartolomé,0
|
||||
model,"relationship.country,name",sh,Saint Helena,Santa Helena,0
|
||||
model,"relationship.country,name",kn,Saint Kitts and Nevis,San Kitts y Nevis,0
|
||||
model,"relationship.country,name",lc,Saint Lucia,Santa Lucía,0
|
||||
model,"relationship.country,name",mf,Saint Martin (French part),San Martín(Porción Francesa),0
|
||||
model,"relationship.country,name",pm,Saint Pierre and Miquelon,San Pedro y Miquelón,0
|
||||
model,"relationship.country,name",vc,Saint Vincent and the Grenadines,San Vicente y los Grenadinos,0
|
||||
model,"relationship.country,name",ws,Samoa,Samoa,0
|
||||
model,"relationship.country,name",sm,San Marino,San Marino,0
|
||||
model,"relationship.country,name",st,Sao Tome and Principe,Sao Tome y Principe,0
|
||||
model,"relationship.country,name",sa,Saudi Arabia,Arabia Saudita,0
|
||||
model,"relationship.country,name",sn,Senegal,Senegal,0
|
||||
model,"relationship.country,name",rs,Serbia,Serbia,0
|
||||
model,"relationship.country,name",sc,Seychelles,Seychelles,0
|
||||
model,"relationship.country,name",sl,Sierra Leone,Sierra Leona,0
|
||||
model,"relationship.country,name",sg,Singapore,Singapur,0
|
||||
model,"relationship.country,name",sk,Slovakia,Slovakia,0
|
||||
model,"relationship.country,name",si,Slovenia,Slovenia,0
|
||||
model,"relationship.country,name",sb,Solomon Islands,Islas Solomón,0
|
||||
model,"relationship.country,name",so,Somalia,Somalia,0
|
||||
model,"relationship.country,name",za,South Africa,Sudáfrica,0
|
||||
model,"relationship.country,name",gs,South Georgia and the South Sandwich Islands,Georgia del Sur e Islas Sanduche del Sur,0
|
||||
model,"relationship.country,name",es,Spain,España,0
|
||||
model,"relationship.country,name",lk,Sri Lanka,Sri Lanka,0
|
||||
model,"relationship.country,name",sd,Sudan,Sudán,0
|
||||
model,"relationship.country,name",sr,Suriname,Surinam,0
|
||||
model,"relationship.country,name",sj,Svalbard and Jan Mayen,Svalbard y Jan Mayen,0
|
||||
model,"relationship.country,name",sz,Swaziland,Swaziland,0
|
||||
model,"relationship.country,name",se,Sweden,Suecia,0
|
||||
model,"relationship.country,name",ch,Switzerland,Suiza,0
|
||||
model,"relationship.country,name",sy,Syrian Arab Republic,República Árabe Siria,0
|
||||
model,"relationship.country,name",tw,"Taiwan, Province of China","Taiwan, Provincia de China",0
|
||||
model,"relationship.country,name",tj,Tajikistan,Tajikistan,0
|
||||
model,"relationship.country,name",tz,"Tanzania, United Republic of","Tanzania, República Unida de",0
|
||||
model,"relationship.country,name",th,Thailand,Tailandia,0
|
||||
model,"relationship.country,name",tl,Timor-Leste,Timor del Este,0
|
||||
model,"relationship.country,name",tg,Togo,Togo,0
|
||||
model,"relationship.country,name",tk,Tokelau,Tokelau,0
|
||||
model,"relationship.country,name",to,Tonga,Tonga,0
|
||||
model,"relationship.country,name",tt,Trinidad and Tobago,Trinidad y Tobago,0
|
||||
model,"relationship.country,name",tn,Tunisia,Tunicia,0
|
||||
model,"relationship.country,name",tr,Turkey,Turquía,0
|
||||
model,"relationship.country,name",tm,Turkmenistan,Turkmenistán,0
|
||||
model,"relationship.country,name",tc,Turks and Caicos Islands,Islas Turcas y Caicos,0
|
||||
model,"relationship.country,name",tv,Tuvalu,Tuvalu,0
|
||||
model,"relationship.country,name",ug,Uganda,Uganda,0
|
||||
model,"relationship.country,name",ua,Ukraine,Ucrania,0
|
||||
model,"relationship.country,name",ae,United Arab Emirates,Emiratos Árabes Unidos,0
|
||||
model,"relationship.country,name",gb,United Kingdom,Reino Unido,0
|
||||
model,"relationship.country,name",us,United States,Estados Unidos,0
|
||||
model,"relationship.country,name",um,United States Minor Outlying Islands,Estados Unidos Islas Externas Menores,0
|
||||
model,"relationship.country,name",uy,Uruguay,Uruguay,0
|
||||
model,"relationship.country,name",uz,Uzbekistan,Uzbequistán,0
|
||||
model,"relationship.country,name",vu,Vanuatu,Vanuatu,0
|
||||
model,"relationship.country,name",ve,Venezuela,Venezuela,0
|
||||
model,"relationship.country,name",vn,Viet Nam,Vietnam,0
|
||||
model,"relationship.country,name",vg,"Virgin Islands, British","Islas Vírgenes, Británicas",0
|
||||
model,"relationship.country,name",vi,"Virgin Islands, U.S.","Islas Vírgenes, U.S.A.",0
|
||||
model,"relationship.country,name",wf,Wallis and Futuna,Wallis y Futuna,0
|
||||
model,"relationship.country,name",eh,Western Sahara,Sahara Occidental,0
|
||||
model,"relationship.country,name",ye,Yemen,Yemén,0
|
||||
model,"relationship.country,name",zm,Zambia,Zambia,0
|
||||
model,"relationship.country,name",zw,Zimbabwe,Zimbawe,0
|
||||
selection,"relationship.party,vat_country",0,,,0
|
||||
selection,"relationship.party,vat_country",0,AL,AL,0
|
||||
selection,"relationship.party,vat_country",0,AT,At,0
|
||||
selection,"relationship.party,vat_country",0,BE,BE,0
|
||||
selection,"relationship.party,vat_country",0,BG,BG,0
|
||||
selection,"relationship.party,vat_country",0,CY,CY,0
|
||||
selection,"relationship.party,vat_country",0,CZ,CZ,0
|
||||
selection,"relationship.party,vat_country",0,DE,DE,0
|
||||
selection,"relationship.party,vat_country",0,DK,DK,0
|
||||
selection,"relationship.party,vat_country",0,EE,EE,0
|
||||
selection,"relationship.party,vat_country",0,EL,EL,0
|
||||
selection,"relationship.party,vat_country",0,ES,ES,0
|
||||
selection,"relationship.party,vat_country",0,FI,FI,0
|
||||
selection,"relationship.party,vat_country",0,FR,FR,0
|
||||
selection,"relationship.party,vat_country",0,GB,GB,0
|
||||
selection,"relationship.party,vat_country",0,GR,GR,0
|
||||
selection,"relationship.party,vat_country",0,HU,HU,0
|
||||
selection,"relationship.party,vat_country",0,IE,IE,0
|
||||
selection,"relationship.party,vat_country",0,IT,IT,0
|
||||
selection,"relationship.party,vat_country",0,LT,LT,0
|
||||
selection,"relationship.party,vat_country",0,LU,LU,0
|
||||
selection,"relationship.party,vat_country",0,LV,LV,0
|
||||
selection,"relationship.party,vat_country",0,MT,MT,0
|
||||
selection,"relationship.party,vat_country",0,NL,NL,0
|
||||
selection,"relationship.party,vat_country",0,PL,PL,0
|
||||
selection,"relationship.party,vat_country",0,PT,PT,0
|
||||
selection,"relationship.party,vat_country",0,RO,RO,0
|
||||
selection,"relationship.party,vat_country",0,SE,SE,0
|
||||
selection,"relationship.party,vat_country",0,SI,SI,0
|
||||
selection,"relationship.party,vat_country",0,SK,SK,0
|
||||
selection,"relationship.party,vat_country",0,SM,SM,0
|
||||
selection,"relationship.party,vat_country",0,UA,UA,0
|
||||
selection,"relationship.party,vat_country",0,UK,UK,0
|
||||
view,relationship.address,0,Addresses,Direcciones,0
|
||||
view,relationship.category,0,Categories,Categorías,0
|
||||
view,relationship.category,0,Category,Categoría,0
|
||||
view,relationship.country,0,Countries,Países,0
|
||||
view,relationship.country,0,Country,País,0
|
||||
view,relationship.country,0,State,Estado,0
|
||||
view,relationship.country,0,States,Estados,0
|
||||
view,relationship.party,0,Accounting,Contabilidad,0
|
||||
view,relationship.party,0,Addresses,Direcciones,0
|
||||
view,relationship.party,0,Categories,Categorías,0
|
||||
view,relationship.party,0,General,General,0
|
||||
view,relationship.party,0,Parties,Partidas,0
|
||||
view,relationship.party,0,Party,Tercero,0
|
||||
view,relationship.party,0,Properties,Propiedades,0
|
||||
view,relationship.party.type,0,Party Type,Tipo de Tercero,0
|
||||
view,relationship.party.type,0,Party Types,Tipos de Partida,0
|
||||
model,"ir.ui.menu,name",menu_party,Relationship Management,Manejo de Relaciones,0
|
||||
selection,"party.party,vat_country",0,,,0
|
||||
selection,"party.party,vat_country",0,AL,AL,0
|
||||
selection,"party.party,vat_country",0,AT,At,0
|
||||
selection,"party.party,vat_country",0,BE,BE,0
|
||||
selection,"party.party,vat_country",0,BG,BG,0
|
||||
selection,"party.party,vat_country",0,CY,CY,0
|
||||
selection,"party.party,vat_country",0,CZ,CZ,0
|
||||
selection,"party.party,vat_country",0,DE,DE,0
|
||||
selection,"party.party,vat_country",0,DK,DK,0
|
||||
selection,"party.party,vat_country",0,EE,EE,0
|
||||
selection,"party.party,vat_country",0,EL,EL,0
|
||||
selection,"party.party,vat_country",0,ES,ES,0
|
||||
selection,"party.party,vat_country",0,FI,FI,0
|
||||
selection,"party.party,vat_country",0,FR,FR,0
|
||||
selection,"party.party,vat_country",0,GB,GB,0
|
||||
selection,"party.party,vat_country",0,GR,GR,0
|
||||
selection,"party.party,vat_country",0,HU,HU,0
|
||||
selection,"party.party,vat_country",0,IE,IE,0
|
||||
selection,"party.party,vat_country",0,IT,IT,0
|
||||
selection,"party.party,vat_country",0,LT,LT,0
|
||||
selection,"party.party,vat_country",0,LU,LU,0
|
||||
selection,"party.party,vat_country",0,LV,LV,0
|
||||
selection,"party.party,vat_country",0,MT,MT,0
|
||||
selection,"party.party,vat_country",0,NL,NL,0
|
||||
selection,"party.party,vat_country",0,PL,PL,0
|
||||
selection,"party.party,vat_country",0,PT,PT,0
|
||||
selection,"party.party,vat_country",0,RO,RO,0
|
||||
selection,"party.party,vat_country",0,SE,SE,0
|
||||
selection,"party.party,vat_country",0,SI,SI,0
|
||||
selection,"party.party,vat_country",0,SK,SK,0
|
||||
selection,"party.party,vat_country",0,SM,SM,0
|
||||
selection,"party.party,vat_country",0,UA,UA,0
|
||||
selection,"party.party,vat_country",0,UK,UK,0
|
||||
view,party.address,0,Addresses,Direcciones,0
|
||||
view,party.category,0,Categories,Categorías,0
|
||||
view,party.category,0,Category,Categoría,0
|
||||
view,party.party,0,Accounting,Contabilidad,0
|
||||
view,party.party,0,Addresses,Direcciones,0
|
||||
view,party.party,0,Categories,Categorías,0
|
||||
view,party.party,0,General,General,0
|
||||
view,party.party,0,Parties,Partidas,0
|
||||
view,party.party,0,Party,Tercero,0
|
||||
view,party.party,0,Properties,Propiedades,0
|
||||
view,party.party.type,0,Party Type,Tipo de Tercero,0
|
||||
view,party.party.type,0,Party Types,Tipos de Partida,0
|
||||
|
||||
|
@@ -1,102 +1,58 @@
|
||||
type,name,res_id,src,value,fuzzy
|
||||
error,relationship.address,0,You can not modify the party of an address!,Vous ne pouvez pas modifier le tiers d'une addresse !,0
|
||||
error,relationship.category,0,You can not create recursive categories!,Vous ne pouvez pas créer des catégories récursives !,0
|
||||
error,relationship.party,0,Wrong VAT number!,Mauvais numéro de TVA !,0
|
||||
field,"relationship.address,active",0,Active,Actif,0
|
||||
field,"relationship.address,city",0,City,Ville,0
|
||||
field,"relationship.address,country",0,Country,Pays,0
|
||||
field,"relationship.address,email",0,E-Mail,E-Mail,0
|
||||
field,"relationship.address,fax",0,Fax,Fax,0
|
||||
field,"relationship.address,mobile",0,Mobile,Mobile,0
|
||||
field,"relationship.address,name",0,Contact Name,Nom de Contact,0
|
||||
field,"relationship.address,party",0,Party,Tiers,0
|
||||
field,"relationship.address,phone",0,Phone,Téléphone,0
|
||||
field,"relationship.address,sequence",0,Sequence,Séquence,0
|
||||
field,"relationship.address,state",0,State,État,0
|
||||
field,"relationship.address,street",0,Street,Rue,0
|
||||
field,"relationship.address,streetbis",0,Street (bis),Rue (bis),0
|
||||
field,"relationship.address,zip",0,Zip,Code Postal,0
|
||||
field,"relationship.category,active",0,Active,Actif,0
|
||||
field,"relationship.category,childs",0,Childs,Enfants,0
|
||||
field,"relationship.category,complete_name",0,Name,Nom,0
|
||||
field,"relationship.category,name",0,Name,Nom,0
|
||||
field,"relationship.category,parent",0,Parent,Parent,0
|
||||
field,"relationship.country,code",0,Code,Code,0
|
||||
field,"relationship.country,name",0,Name,Nom,0
|
||||
field,"relationship.country,state",0,State,État,0
|
||||
field,"relationship.country.state,code",0,Code,Code,0
|
||||
field,"relationship.country.state,country",0,Country,Pays,0
|
||||
field,"relationship.country.state,name",0,Name,Nom,0
|
||||
field,"relationship.party,active",0,Active,Actif,0
|
||||
field,"relationship.party,addresses",0,Addresses,Adresses,0
|
||||
field,"relationship.party,categories",0,Categories,Catégories,0
|
||||
field,"relationship.party,code",0,Code,Code,0
|
||||
field,"relationship.party,lang",0,Language,Langue,0
|
||||
field,"relationship.party,name",0,Name,Nom,0
|
||||
field,"relationship.party,type",0,Type,Type,0
|
||||
field,"relationship.party.type,name",0,Name,Nom,0
|
||||
field,"relationship.party,vat_code",0,VAT Code,Code TVA,0
|
||||
field,"relationship.party,vat_country",0,VAT Country,Code Pays TVA,0
|
||||
field,"relationship.party,vat_number",0,VAT Number,Numéro de TVA,0
|
||||
field,"relationship.party,website",0,Website,Site Web,0
|
||||
help,"relationship.country,code",0,"The ISO country code in two chars.
|
||||
You can use this field for quick search.","Le code ISO du pays sur 2 caractères.
|
||||
Vous pouvez utiliser ce champ pour des recherches rapides.",0
|
||||
help,"relationship.country,name",0,The full name of the country.,Le nom complét du pays.,0
|
||||
help,"relationship.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Mettre un code pays TVA activera la vérification du numéro de TVA.,0
|
||||
help,"relationship.party,vat_number",0,Value Added Tax number,Numéro de Tax sur la Valeur Ajoutée,0
|
||||
error,party.address,0,You can not modify the party of an address!,Vous ne pouvez pas modifier le tiers d'une addresse !,0
|
||||
error,party.category,0,You can not create recursive categories!,Vous ne pouvez pas créer des catégories récursives !,0
|
||||
error,party.party,0,Wrong VAT number!,Mauvais numéro de TVA !,0
|
||||
field,"party.address,active",0,Active,Actif,0
|
||||
field,"party.address,city",0,City,Ville,0
|
||||
field,"party.address,country",0,Country,Pays,0
|
||||
field,"party.address,email",0,E-Mail,E-Mail,0
|
||||
field,"party.address,fax",0,Fax,Fax,0
|
||||
field,"party.address,mobile",0,Mobile,Mobile,0
|
||||
field,"party.address,name",0,Contact Name,Nom de Contact,0
|
||||
field,"party.address,party",0,Party,Tiers,0
|
||||
field,"party.address,phone",0,Phone,Téléphone,0
|
||||
field,"party.address,sequence",0,Sequence,Séquence,0
|
||||
field,"party.address,state",0,State,État,0
|
||||
field,"party.address,street",0,Street,Rue,0
|
||||
field,"party.address,streetbis",0,Street (bis),Rue (bis),0
|
||||
field,"party.address,zip",0,Zip,Code Postal,0
|
||||
field,"party.category,active",0,Active,Actif,0
|
||||
field,"party.category,childs",0,Childs,Enfants,0
|
||||
field,"party.category,complete_name",0,Name,Nom,0
|
||||
field,"party.category,name",0,Name,Nom,0
|
||||
field,"party.category,parent",0,Parent,Parent,0
|
||||
field,"party.party,active",0,Active,Actif,0
|
||||
field,"party.party,addresses",0,Addresses,Adresses,0
|
||||
field,"party.party,categories",0,Categories,Catégories,0
|
||||
field,"party.party,code",0,Code,Code,0
|
||||
field,"party.party,lang",0,Language,Langue,0
|
||||
field,"party.party,name",0,Name,Nom,0
|
||||
field,"party.party,type",0,Type,Type,0
|
||||
field,"party.party.type,name",0,Name,Nom,0
|
||||
field,"party.party,vat_code",0,VAT Code,Code TVA,0
|
||||
field,"party.party,vat_country",0,VAT Country,Code Pays TVA,0
|
||||
field,"party.party,vat_number",0,VAT Number,Numéro de TVA,0
|
||||
field,"party.party,website",0,Website,Site Web,0
|
||||
help,"party.party,vat_country",0,Setting VAT country will enable verification of the VAT number.,Mettre un code pays TVA activera la vérification du numéro de TVA.,0
|
||||
help,"party.party,vat_number",0,Value Added Tax number,Numéro de Tax sur la Valeur Ajoutée,0
|
||||
model,"ir.ui.menu,name",menu_address_form,Addresses,Adresses,0
|
||||
model,"ir.ui.menu,name",menu_category_tree,Categories,Catégories,0
|
||||
model,"ir.ui.menu,name",menu_country_form,Countries,Pays,0
|
||||
model,"ir.ui.menu,name",menu_category_form,Edit Categories,Editer les Catégories,0
|
||||
model,"ir.ui.menu,name",menu_address_form2,New Address,Nouvelle Adresse,0
|
||||
model,"ir.ui.menu,name",menu_category_form2,New category,Nouvelle Catégorie,0
|
||||
model,"ir.ui.menu,name",menu_party_form2,New Party,Nouveau Tiers,0
|
||||
model,"ir.ui.menu,name",menu_party_form,Parties,Tiers,0
|
||||
model,"ir.ui.menu,name",menu_party_type_form,Party Types,Types de Tiers,0
|
||||
model,"ir.ui.menu,name",menu_relationship,Relationship Management,Gestion des Relations,0
|
||||
selection,"relationship.party,vat_country",0,,,0
|
||||
selection,"relationship.party,vat_country",0,AT,,0
|
||||
selection,"relationship.party,vat_country",0,BE,,0
|
||||
selection,"relationship.party,vat_country",0,BG,,0
|
||||
selection,"relationship.party,vat_country",0,CY,,0
|
||||
selection,"relationship.party,vat_country",0,CZ,,0
|
||||
selection,"relationship.party,vat_country",0,DE,,0
|
||||
selection,"relationship.party,vat_country",0,DK,,0
|
||||
selection,"relationship.party,vat_country",0,EE,,0
|
||||
selection,"relationship.party,vat_country",0,EL,,0
|
||||
selection,"relationship.party,vat_country",0,ES,,0
|
||||
selection,"relationship.party,vat_country",0,FI,,0
|
||||
selection,"relationship.party,vat_country",0,FR,,0
|
||||
selection,"relationship.party,vat_country",0,GB,,0
|
||||
selection,"relationship.party,vat_country",0,GR,,0
|
||||
selection,"relationship.party,vat_country",0,HU,,0
|
||||
selection,"relationship.party,vat_country",0,IE,,0
|
||||
selection,"relationship.party,vat_country",0,IT,,0
|
||||
selection,"relationship.party,vat_country",0,LT,,0
|
||||
selection,"relationship.party,vat_country",0,LU,,0
|
||||
selection,"relationship.party,vat_country",0,LV,,0
|
||||
selection,"relationship.party,vat_country",0,MT,,0
|
||||
selection,"relationship.party,vat_country",0,NL,,0
|
||||
selection,"relationship.party,vat_country",0,PL,,0
|
||||
selection,"relationship.party,vat_country",0,PT,,0
|
||||
selection,"relationship.party,vat_country",0,RO,,0
|
||||
selection,"relationship.party,vat_country",0,SE,,0
|
||||
selection,"relationship.party,vat_country",0,SI,,0
|
||||
selection,"relationship.party,vat_country",0,SK,,0
|
||||
view,relationship.address,0,Addresses,Adresses,0
|
||||
view,relationship.category,0,Categories,Catégories,0
|
||||
view,relationship.category,0,Category,Catégorie,0
|
||||
view,relationship.country,0,Countries,Pays,0
|
||||
view,relationship.country,0,Country,Pays,0
|
||||
view,relationship.country,0,State,État,0
|
||||
view,relationship.country,0,States,États,0
|
||||
view,relationship.party,0,Accounting,Comptabilité,0
|
||||
view,relationship.party,0,Addresses,Adresses,0
|
||||
view,relationship.party,0,Categories,Catégories,0
|
||||
view,relationship.party,0,General,Général,0
|
||||
view,relationship.party,0,Parties,Tiers,0
|
||||
view,relationship.party,0,Party,Tiers,0
|
||||
view,relationship.party,0,Properties,Propriétés,0
|
||||
view,relationship.party.type,0,Party Type,Type de Tiers,0
|
||||
view,relationship.party.type,0,Party Types,Types de Tiers,0
|
||||
model,"ir.ui.menu,name",menu_party,Relationship Management,Gestion des Relations,0
|
||||
view,party.address,0,Addresses,Adresses,0
|
||||
view,party.category,0,Categories,Catégories,0
|
||||
view,party.category,0,Category,Catégorie,0
|
||||
view,party.party,0,Accounting,Comptabilité,0
|
||||
view,party.party,0,Addresses,Adresses,0
|
||||
view,party.party,0,Categories,Catégories,0
|
||||
view,party.party,0,General,Général,0
|
||||
view,party.party,0,Parties,Tiers,0
|
||||
view,party.party,0,Party,Tiers,0
|
||||
view,party.party,0,Properties,Propriétés,0
|
||||
view,party.party.type,0,Party Type,Type de Tiers,0
|
||||
view,party.party.type,0,Party Types,Types de Tiers,0
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
from trytond.osv import fields, OSV
|
||||
import logging
|
||||
|
||||
@@ -10,7 +11,7 @@ try:
|
||||
for country in vatnumber.countries():
|
||||
VAT_COUNTRIES.append((country, country))
|
||||
except ImportError:
|
||||
logging.getLogger('relationship').warning(
|
||||
logging.getLogger('party').warning(
|
||||
'Unable to import vatnumber. VAT number validation disable.')
|
||||
|
||||
STATES = {
|
||||
@@ -18,25 +19,10 @@ STATES = {
|
||||
}
|
||||
|
||||
|
||||
class PartyType(OSV):
|
||||
"Party Type"
|
||||
|
||||
_name = 'relationship.party.type'
|
||||
_description = __doc__
|
||||
name = fields.Char('Name', required=True, size=None, translate=True)
|
||||
# TODO add into localisation modules: http://en.wikipedia.org/wiki/Types_of_companies
|
||||
|
||||
def __init__(self):
|
||||
super(PartyType, self).__init__()
|
||||
self._order.insert(0, ('name', 'ASC'))
|
||||
|
||||
PartyType()
|
||||
|
||||
|
||||
class Party(OSV):
|
||||
"Party"
|
||||
_description = __doc__
|
||||
_name = "relationship.party"
|
||||
_name = "party.party"
|
||||
|
||||
name = fields.Char('Name', size=None, required=True, select=1,
|
||||
states=STATES)
|
||||
@@ -44,24 +30,20 @@ class Party(OSV):
|
||||
readonly=True, order_field="%(table)s.code_length %(order)s, " \
|
||||
"%(table)s.code %(order)s")
|
||||
code_length = fields.Integer('Code Length', select=1, readonly=True)
|
||||
type = fields.Many2One("relationship.party.type", "Type",
|
||||
states=STATES)
|
||||
lang = fields.Many2One("ir.lang", 'Language',
|
||||
states=STATES)
|
||||
lang = fields.Many2One("ir.lang", 'Language', states=STATES)
|
||||
vat_number = fields.Char('VAT Number',size=None,
|
||||
help="Value Added Tax number", states=STATES)
|
||||
vat_country = fields.Selection(VAT_COUNTRIES, 'VAT Country', states=STATES,
|
||||
help="Setting VAT country will enable verification of the VAT number.")
|
||||
vat_code = fields.Function('get_vat_code', type='char', string="VAT Code")
|
||||
website = fields.Char('Website',size=None,
|
||||
states=STATES)
|
||||
addresses = fields.One2Many('relationship.address', 'party',
|
||||
addresses = fields.One2Many('party.address', 'party',
|
||||
'Addresses',states=STATES)
|
||||
categories = fields.Many2Many(
|
||||
'relationship.category', 'relationship_category_rel',
|
||||
'party.category', 'party_category_rel',
|
||||
'party', 'category', 'Categories',
|
||||
states=STATES)
|
||||
active = fields.Boolean('Active', select=1)
|
||||
full_name = fields.Function('get_full_name', type='char')
|
||||
|
||||
def __init__(self):
|
||||
super(Party, self).__init__()
|
||||
@@ -88,11 +70,19 @@ class Party(OSV):
|
||||
res[party.id] = (party.vat_country or '') + (party.vat_number or '')
|
||||
return res
|
||||
|
||||
def get_full_name(self, cursor, user, ids, name, arg, context=None):
|
||||
if not ids:
|
||||
return []
|
||||
res = {}
|
||||
for party in self.browse(cursor, user, ids, context=context):
|
||||
res[party.id] = party.name
|
||||
return res
|
||||
|
||||
def create(self, cursor, user, values, context=None):
|
||||
values = values.copy()
|
||||
if not values.get('code'):
|
||||
values['code'] = self.pool.get('ir.sequence').get(
|
||||
cursor, user, 'relationship.party')
|
||||
cursor, user, 'party.party')
|
||||
values['code_length'] = len(values['code'])
|
||||
return super(Party, self).create(cursor, user, values, context=context)
|
||||
|
||||
@@ -126,7 +116,7 @@ class Party(OSV):
|
||||
Try to find an address for the given type, if no type match
|
||||
the first address is return.
|
||||
"""
|
||||
address_obj = self.pool.get("relationship.address")
|
||||
address_obj = self.pool.get("party.address")
|
||||
address_ids = address_obj.search(
|
||||
cursor, user, [("party","=",party_id),("active","=",True)],
|
||||
order=[('sequence', 'ASC'), ('id', 'ASC')], context=context)
|
||||
|
||||
@@ -1,18 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="res.group" id="group_party_admin">
|
||||
<field name="name">Party Administration</field>
|
||||
</record>
|
||||
<record model="res.user" id="res.user_admin">
|
||||
<field name="groups" eval="[('add', ref('group_party_admin'))]"/>
|
||||
</record>
|
||||
|
||||
<menuitem name="Party Management" sequence="0" id="menu_party"
|
||||
icon="tryton-users"/>
|
||||
|
||||
<record model="ir.ui.view" id="party_view_tree">
|
||||
<field name="model">relationship.party</field>
|
||||
<field name="model">party.party</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Parties">
|
||||
<field name="code" select="1"/>
|
||||
<field name="name" select="1"/>
|
||||
<field name="type" select="2"/>
|
||||
<field name="lang" select="2"/>
|
||||
<field name="website"/>
|
||||
<field name="vat_code" select="1"/>
|
||||
<field name="active" select="2" tree_invisible="1"/>
|
||||
<field name="vat_country" select="2" tree_invisible="1"/>
|
||||
@@ -22,7 +31,7 @@
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="party_view_form">
|
||||
<field name="model">relationship.party</field>
|
||||
<field name="model">party.party</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
@@ -39,16 +48,10 @@
|
||||
<tree string="Addresses" sequence="sequence">
|
||||
<field name="sequence" tree_invisible="1"/>
|
||||
<field name="name"/>
|
||||
<field name="phone"/>
|
||||
<field name="email"/>
|
||||
</tree>
|
||||
</field>
|
||||
<label name="type"/>
|
||||
<field name="type" widget="selection"/>
|
||||
<label name="lang"/>
|
||||
<field name="lang" widget="selection"/>
|
||||
<label name="website"/>
|
||||
<field name="website" widget="url"/>
|
||||
<separator string="Categories" colspan="4"/>
|
||||
<field name="categories" colspan="4"/>
|
||||
</page>
|
||||
@@ -68,7 +71,7 @@
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_party_form">
|
||||
<field name="name">Parties</field>
|
||||
<field name="res_model">relationship.party</field>
|
||||
<field name="res_model">party.party</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_party_form_view1">
|
||||
@@ -81,11 +84,11 @@
|
||||
<field name="view" ref="party_view_form"/>
|
||||
<field name="act_window" ref="act_party_form"/>
|
||||
</record>
|
||||
<menuitem parent="menu_relationship" sequence="1"
|
||||
<menuitem parent="menu_party" sequence="1"
|
||||
action="act_party_form" id="menu_party_form"/>
|
||||
<record model="ir.action.act_window" id="act_party_form2">
|
||||
<field name="name">Parties</field>
|
||||
<field name="res_model">relationship.party</field>
|
||||
<field name="res_model">party.party</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_party_form2_view1">
|
||||
@@ -102,90 +105,34 @@
|
||||
action="act_party_form2" id="menu_party_form2"/>
|
||||
<record model="ir.action.act_window" id="act_party_by_category">
|
||||
<field name="name">Parties by Category</field>
|
||||
<field name="res_model">relationship.party</field>
|
||||
<field name="res_model">party.party</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="domain">[('categories', 'child_of', [active_id], 'parent')]</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_party_by_category_keyword1">
|
||||
<field name="keyword">tree_open</field>
|
||||
<field name="model">relationship.category,0</field>
|
||||
<field name="model">party.category,0</field>
|
||||
<field name="action" ref="act_party_by_category"/>
|
||||
</record>
|
||||
<record model="ir.action.report" id="report_label">
|
||||
<field name="name">La_bels</field>
|
||||
<field name="model">relationship.party</field>
|
||||
<field name="model">party.party</field>
|
||||
<field name="report_name">party.label</field>
|
||||
<field name="report">relationship/label.odt</field>
|
||||
<field name="report">party/label.odt</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="report_label_party">
|
||||
<field name="keyword">form_print</field>
|
||||
<field name="model">relationship.party,0</field>
|
||||
<field name="model">party.party,0</field>
|
||||
<field name="action" ref="report_label"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="party_type_view_tree">
|
||||
<field name="model">relationship.party.type</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Party Types">
|
||||
<field name="name" select="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="party_type_view_form">
|
||||
<field name="model">relationship.party.type</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<form string="Party Type">
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
</form>
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_party_type_form">
|
||||
<field name="name">Party Types</field>
|
||||
<field name="res_model">relationship.party.type</field>
|
||||
<field name="view_type">form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_party_type_form_view1">
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="view" ref="party_type_view_tree"/>
|
||||
<field name="act_window" ref="act_party_type_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_party_type_form_view2">
|
||||
<field name="sequence" eval="20"/>
|
||||
<field name="view" ref="party_type_view_form"/>
|
||||
<field name="act_window" ref="act_party_type_form"/>
|
||||
</record>
|
||||
<menuitem parent="menu_party_form" sequence="2"
|
||||
action="act_party_type_form" id="menu_party_type_form"/>
|
||||
|
||||
<record model="ir.model.access" id="access_party_type">
|
||||
<field name="model" search="[('model', '=', 'relationship.party.type')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_party_type_admin">
|
||||
<field name="model" search="[('model', '=', 'relationship.party.type')]"/>
|
||||
<field name="group" ref="group_relationship_admin"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.sequence.type" id="sequence_type_party">
|
||||
<field name="name">Party</field>
|
||||
<field name="code">relationship.party</field>
|
||||
<field name="code">party.party</field>
|
||||
</record>
|
||||
<record model="ir.sequence" id="sequence_party">
|
||||
<field name="name">Party</field>
|
||||
<field name="code">relationship.party</field>
|
||||
<field name="code">party.party</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="res.group" id="group_relationship_admin">
|
||||
<field name="name">Relationship Administration</field>
|
||||
</record>
|
||||
<record model="res.user" id="res.user_admin">
|
||||
<field name="groups" eval="[('add', ref('group_relationship_admin'))]"/>
|
||||
</record>
|
||||
|
||||
<menuitem name="Relationship Management" sequence="0" id="menu_relationship"
|
||||
icon="tryton-users"/>
|
||||
|
||||
<menuitem name="Configuration" sequence="0" id="menu_configuration"
|
||||
icon="tryton-preferences" groups="res.group_admin"
|
||||
parent="menu_relationship"/>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
|
||||
import pycountry
|
||||
|
||||
for country in pycountry.countries:
|
||||
print '''
|
||||
<record model="relationship.country" id="%s">
|
||||
<field name="name">%s</field>
|
||||
<field name="code">%s</field>
|
||||
</record>''' % (country.alpha2.lower(), country.name.encode('utf-8'),
|
||||
country.alpha2)
|
||||
|
||||
for subdivision in pycountry.subdivisions:
|
||||
#XXX fix for second level of regional divisions
|
||||
subdivision.country_code = subdivision.country_code.split(' ', 1)[0]
|
||||
print '''
|
||||
<record model="relationship.country.subdivision" id="%s">
|
||||
<field name="name">%s</field>
|
||||
<field name="code">%s</field>
|
||||
<field name="type">%s</field>''' % (subdivision.code.lower(),
|
||||
subdivision.name.encode('utf-8'), subdivision.code,
|
||||
subdivision.type.lower())
|
||||
if subdivision.parent_code:
|
||||
print '''\
|
||||
<field name="parent" ref="%s"/>''' % \
|
||||
subdivision.parent.code.lower()
|
||||
print '''\
|
||||
<field name="country" ref="%s"/>
|
||||
</record>''' % subdivision.country.alpha2.lower()
|
||||
|
||||
+3
-2
@@ -1,3 +1,4 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
from test_relationship import *
|
||||
from test_party import *
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
import sys, os
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
@@ -12,17 +13,17 @@ import trytond.tests
|
||||
from trytond.tests import RPCProxy, CONTEXT, SOCK
|
||||
|
||||
|
||||
class RelationshipTestCase(unittest.TestCase):
|
||||
class PartyTestCase(unittest.TestCase):
|
||||
'''
|
||||
Test Relationship module.
|
||||
Test Party module.
|
||||
'''
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.install_module('relationship')
|
||||
self.category = RPCProxy('relationship.category')
|
||||
self.party = RPCProxy('relationship.party')
|
||||
self.address = RPCProxy('relationship.address')
|
||||
self.country = RPCProxy('relationship.country')
|
||||
trytond.tests.install_module('party')
|
||||
self.category = RPCProxy('party.category')
|
||||
self.party = RPCProxy('party.party')
|
||||
self.address = RPCProxy('party.address')
|
||||
self.country = RPCProxy('country.country')
|
||||
|
||||
def test0010category(self):
|
||||
'''
|
||||
@@ -95,11 +96,11 @@ class RelationshipTestCase(unittest.TestCase):
|
||||
self.assert_(party1_id)
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromTestCase(RelationshipTestCase)
|
||||
return unittest.TestLoader().loadTestsFromTestCase(PartyTestCase)
|
||||
|
||||
if __name__ == '__main__':
|
||||
suiteTrytond = trytond.tests.suite()
|
||||
suiteRelationship = suite()
|
||||
alltests = unittest.TestSuite([suiteTrytond, suiteRelationship])
|
||||
suiteParty = suite()
|
||||
alltests = unittest.TestSuite([suiteTrytond, suiteParty])
|
||||
unittest.TextTestRunner(verbosity=2).run(alltests)
|
||||
SOCK.disconnect()
|
||||
Reference in New Issue
Block a user