diff --git a/__tryton__.py b/__tryton__.py index 75c8372d1c..21be9ec756 100644 --- a/__tryton__.py +++ b/__tryton__.py @@ -6,6 +6,11 @@ 'website': 'http://www.tryton.org/', 'category': 'Generic Modules', 'description': 'Define company', - 'depends': ['ir', 'res', 'partner'], + 'depends': [ + 'ir', + 'res', + 'partner', + 'currency', + ], 'xml': ['company.xml'], } diff --git a/company.py b/company.py index 13e53af5cf..6186293fb0 100644 --- a/company.py +++ b/company.py @@ -15,6 +15,7 @@ class Company(OSV): childs = fields.One2Many('company.company', 'parent', 'Childs') header = fields.Text('Header') footer = fields.text('Footer') + currency = fields.Many2One('currency.currency', 'Currency', required=True) def __init__(self): super(Company, self).__init__() diff --git a/company.xml b/company.xml index de525cfd4c..6e7d0bc954 100644 --- a/company.xml +++ b/company.xml @@ -13,6 +13,8 @@