From c5cd260e746c666fb3e0beff7262480aa0d873d5 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Tue, 12 Oct 2010 11:41:18 +0530 Subject: [PATCH 1/4] [REF] event: typo on demo data bzr revid: mra@mra-laptop-20101012061118-j0qr2zz3rj2miedn --- addons/event/event_demo.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From fe95af9cb17e72980570528fffe114e9167b259d Mon Sep 17 00:00:00 2001 From: mtr Date: Tue, 12 Oct 2010 11:51:18 +0530 Subject: [PATCH 2/4] [IMP] account:-improvements in the account_period bzr revid: mtr@mtr-20101012062118-becppnmojeegnjtc --- addons/account/account.py | 2 +- addons/account/account_end_fy.xml | 2 +- addons/account/account_view.xml | 2 +- addons/account/wizard/account_period_close_view.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 From 8333b60a6e3d8c2ab817674b49c528b1574a908e Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Tue, 12 Oct 2010 11:52:50 +0530 Subject: [PATCH 3/4] [IMP] event: Button on form view of event=> draft button only visible with cancel state now, cancel button put left side on all case bzr revid: mra@mra-laptop-20101012062250-i39s646lk4o82n7w --- addons/event/event_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 185b1d33ec9..72ccb0f51f1 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -76,10 +76,10 @@ -