[IMP] account.config.settings: make main currency required

bzr revid: rco@openerp.com-20120402090957-d1iqity4vvxuwg8s
This commit is contained in:
Raphael Collet 2012-04-02 11:09:57 +02:00
parent 615ff23f89
commit 1e2e5fa83d
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class account_config_settings(osv.osv_memory):
'expects_chart_of_accounts': fields.related('company_id', 'expects_chart_of_accounts', type='boolean',
string='Chart of Accounts for this Company'),
'currency_id': fields.related('company_id', 'currency_id', type='many2one', relation='res.currency',
'currency_id': fields.related('company_id', 'currency_id', type='many2one', relation='res.currency', required=True,
string='Main currency', help="Main currency of the company."),
'paypal_account': fields.related('company_id', 'paypal_account', type='char', size=128,
string='Paypal account', help="Paypal account (email) for receiving online payments (credit card, etc.)"),