diff --git a/addons/account/account.py b/addons/account/account.py index ac50c25cd6b..bf5e25a6f69 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -838,7 +838,7 @@ class account_period(osv.osv): 'date_start': fields.date('Start of Period', required=True, states={'done':[('readonly',True)]}), 'date_stop': fields.date('End of Period', required=True, states={'done':[('readonly',True)]}), 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', required=True, states={'done':[('readonly',True)]}, select=True), - 'state': fields.selection([('draft','Draft'), ('done','Done')], 'State', readonly=True, + 'state': fields.selection([('draft','Open'), ('done','Closed')], 'State', readonly=True, help='When monthly periods are created. The state is \'Draft\'. At the end of monthly period it is in \'Done\' state.'), 'company_id': fields.related('fiscalyear_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True) } diff --git a/addons/account/account_end_fy.xml b/addons/account/account_end_fy.xml index a33544ffacc..76d40bc89dc 100644 --- a/addons/account/account_end_fy.xml +++ b/addons/account/account_end_fy.xml @@ -6,8 +6,8 @@ Close a Period account.period form - [('state','=','draft')] + {'search_default_draft': 1} After closing a period, you will no longer be able to post entries to the period once it has been closed. - + diff --git a/addons/account/wizard/account_period_close_view.xml b/addons/account/wizard/account_period_close_view.xml index 161a3f424fc..5d3351246a3 100644 --- a/addons/account/wizard/account_period_close_view.xml +++ b/addons/account/wizard/account_period_close_view.xml @@ -34,7 +34,7 @@ - + Close a Period client_action_multi action diff --git a/addons/event/event_demo.xml b/addons/event/event_demo.xml index 3bf58691c0f..4603a9cf141 100644 --- a/addons/event/event_demo.xml +++ b/addons/event/event_demo.xml @@ -86,8 +86,8 @@ True True - Thanks for registrering. We will keep you informed of the modalities. - Thanks for registrering. The conference will begin at 2 PM and will be given by Mister Pinckaers. + Thanks for registration. We will keep you informed of the modalities. + Thanks for registration. The conference will begin at 2 PM and will be given by Mr. Pinckaers. diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 185b1d33ec9..c34d6cfe475 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -76,10 +76,10 @@ -