diff options
| author | Raphael Collet <rco@openerp.com> | 2012-04-02 11:09:57 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-04-02 11:09:57 +0200 |
| commit | 1e2e5fa83d43d89691dee7446ef5d57230f6c5da (patch) | |
| tree | 61e9f70a3505c79d46eae6b39cc611886849b405 /addons | |
| parent | 615ff23f89a8c735c4bbe18f90a2e7681065366c (diff) | |
[IMP] account.config.settings: make main currency required
bzr revid: rco@openerp.com-20120402090957-d1iqity4vvxuwg8s
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/res_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/res_config.py b/addons/account/res_config.py index 3c70fbc5c39..f99588cd6d7 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -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.)"), |
