From ea97d65e39d9618b477dddd43f6692ad31bc4d80 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 16 Nov 2012 15:42:25 +0530 Subject: [PATCH 001/445] [IMP] in messaging/Organizer/Categories rename Categories into Stage bzr revid: fka@tinyerp.com-20121116101225-p8atb8mb1gqkdak5 --- addons/note/note_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml index 5aae6204d86..5becd36757e 100644 --- a/addons/note/note_view.xml +++ b/addons/note/note_view.xml @@ -193,7 +193,7 @@ - + From 878ca2e088d4381bfe7d6cdf59910b0bc0915e71 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 16 Nov 2012 16:33:33 +0530 Subject: [PATCH 002/445] [IMP] remove or lable & add close button in footer of embed form bzr revid: fka@tinyerp.com-20121116110333-yh5s9y8krdbx8a2h --- addons/share/wizard/share_wizard_view.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/share/wizard/share_wizard_view.xml b/addons/share/wizard/share_wizard_view.xml index 859245b46a9..26e7fff0243 100644 --- a/addons/share/wizard/share_wizard_view.xml +++ b/addons/share/wizard/share_wizard_view.xml @@ -55,8 +55,7 @@
From 88312d20f3be0f55f35a47fccc9e9027f1a9969c Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 16 Nov 2012 17:03:55 +0530 Subject: [PATCH 003/445] [IMP] improve code bzr revid: fka@tinyerp.com-20121116113355-adp2cnobjo9khimv --- addons/share/wizard/share_wizard_view.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/share/wizard/share_wizard_view.xml b/addons/share/wizard/share_wizard_view.xml index 26e7fff0243..1cad761d936 100644 --- a/addons/share/wizard/share_wizard_view.xml +++ b/addons/share/wizard/share_wizard_view.xml @@ -55,7 +55,8 @@
@@ -83,7 +84,7 @@ - + @@ -95,6 +96,7 @@
+
From dc39953b9db3b38263346ef0ede80169bf0e6108 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Fri, 16 Nov 2012 17:23:00 +0530 Subject: [PATCH 004/445] [IMP]: Improve string bzr revid: atp@tinyerp.com-20121116115300-at3bn1qx30xwnj5o --- addons/share/wizard/share_wizard_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/share/wizard/share_wizard_view.xml b/addons/share/wizard/share_wizard_view.xml index 1cad761d936..e0e800ab150 100644 --- a/addons/share/wizard/share_wizard_view.xml +++ b/addons/share/wizard/share_wizard_view.xml @@ -84,7 +84,7 @@ - + From f3d09104f9537f77c17b08bf060a440bb8e222db Mon Sep 17 00:00:00 2001 From: Vishmita Date: Thu, 29 Nov 2012 12:53:34 +0530 Subject: [PATCH 005/445] [FIX]onchange method for state bzr revid: vja@tinyerp.com-20121129072334-mz4ydyni8toz1u8p --- openerp/addons/base/res/res_company.py | 8 ++++++-- openerp/addons/base/res/res_company_view.xml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/openerp/addons/base/res/res_company.py b/openerp/addons/base/res/res_company.py index b2f3e812145..2fe919886cf 100644 --- a/openerp/addons/base/res/res_company.py +++ b/openerp/addons/base/res/res_company.py @@ -123,7 +123,7 @@ class res_company(osv.osv): 'street2': fields.function(_get_address_data, fnct_inv=_set_address_data, size=128, type='char', string="Street2", multi='address'), 'zip': fields.function(_get_address_data, fnct_inv=_set_address_data, size=24, type='char', string="Zip", multi='address'), 'city': fields.function(_get_address_data, fnct_inv=_set_address_data, size=24, type='char', string="City", multi='address'), - 'state_id': fields.function(_get_address_data, fnct_inv=_set_address_data, type='many2one', domain="[('country_id', '=', country_id)]", relation='res.country.state', string="Fed. State", multi='address'), + 'state_id': fields.function(_get_address_data, fnct_inv=_set_address_data, type='many2one', relation='res.country.state', string="Fed. State", multi='address'), 'bank_ids': fields.one2many('res.partner.bank','company_id', 'Bank Accounts', help='Bank accounts related to this company'), 'country_id': fields.function(_get_address_data, fnct_inv=_set_address_data, type='many2one', relation='res.country', string="Country", multi='address'), 'email': fields.function(_get_address_data, fnct_inv=_set_address_data, size=64, type='char', string="Email", multi='address'), @@ -160,7 +160,11 @@ class res_company(osv.osv): res += '\n%s: %s' % (title, ', '.join(name for id, name in account_names)) return {'value': {'rml_footer': res, 'rml_footer_readonly': res}} - + def onchange_state(self, cr, uid, ids, state_id, context=None): + if state_id: + country_id = self.pool.get('res.country.state').browse(cr, uid, state_id, context).country_id.id + return {'value':{'country_id':country_id}} + return {} def on_change_country(self, cr, uid, ids, country_id, context=None): currency_id = self._get_euro(cr, uid, context=context) if country_id: diff --git a/openerp/addons/base/res/res_company_view.xml b/openerp/addons/base/res/res_company_view.xml index 1cc9b5bd833..c0893e2a42e 100644 --- a/openerp/addons/base/res/res_company_view.xml +++ b/openerp/addons/base/res/res_company_view.xml @@ -46,7 +46,7 @@
- +
From c5d1c296329a9b5845a3ee74b4dd1be41ecd2a7c Mon Sep 17 00:00:00 2001 From: Vishmita Date: Thu, 29 Nov 2012 13:03:27 +0530 Subject: [PATCH 006/445] [FIX]Change Timesheet(hr_timesheet) module name bzr revid: vja@tinyerp.com-20121129073327-q8ij3lpvxel0p7as --- addons/hr_timesheet/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet/__openerp__.py b/addons/hr_timesheet/__openerp__.py index bff25e8e55d..fa14c45f84a 100644 --- a/addons/hr_timesheet/__openerp__.py +++ b/addons/hr_timesheet/__openerp__.py @@ -21,7 +21,7 @@ { - 'name': 'Timesheets', + 'name': 'Time Tracking', 'version': '1.0', 'category': 'Human Resources', 'sequence': 23, From 36c13a66b08c1fdcf4a48c006bdc2e26bf8f95b0 Mon Sep 17 00:00:00 2001 From: ggh-openerp Date: Thu, 29 Nov 2012 15:50:30 +0530 Subject: [PATCH 007/445] [Imp] Improved code for Event module bzr revid: ggh@tinyerp.com-20121129102030-iyn0ct8dmfa00al8 --- addons/event/event_view.xml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 9a548679dd3..3ee83a8553e 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -6,7 +6,7 @@ event.registration form Registrations - calendar,tree,form,graph + tree,form,calendar,graph {'search_default_event_id': active_id, 'default_event_id': active_id} @@ -137,19 +137,13 @@
- - + + - - - - - - + + - - - + From 50bb815990ddf6f0ec20751e561b78155e967beb Mon Sep 17 00:00:00 2001 From: Vishmita Date: Thu, 29 Nov 2012 18:17:28 +0530 Subject: [PATCH 008/445] [FIX]Add buttons in Email form bzr revid: vja@tinyerp.com-20121129124728-7wg53p69cqrkw7dp --- addons/mail/mail_mail_view.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/mail/mail_mail_view.xml b/addons/mail/mail_mail_view.xml index 72d41e33a84..7cfda6f78e3 100644 --- a/addons/mail/mail_mail_view.xml +++ b/addons/mail/mail_mail_view.xml @@ -6,6 +6,11 @@ mail.mail
+
+