From 45e533c3b9a1d025ad60e4636779481ea5d08a88 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Wed, 22 Dec 2010 14:14:44 +0530 Subject: [PATCH 01/44] [IMP] hr_timesheet, project_timesheet: Usability improvements for menus. bzr revid: uco@tinyerp.com-20101222084444-r5j9gplpgnd78z93 --- addons/hr_timesheet/hr_timesheet_view.xml | 6 +----- .../hr_timesheet_sheet_data.xml | 7 ------- .../hr_timesheet_sheet_view.xml | 7 ------- .../wizard/hr_timesheet_current_view.xml | 4 ---- addons/project_timesheet/__openerp__.py | 2 +- .../project_timesheet_data.xml | 20 +++++++++++++++++++ .../project_timesheet_view.xml | 9 +++++++-- 7 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 addons/project_timesheet/project_timesheet_data.xml diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml index 98c4413ade1..a8a71a19dc0 100644 --- a/addons/hr_timesheet/hr_timesheet_view.xml +++ b/addons/hr_timesheet/hr_timesheet_view.xml @@ -1,9 +1,6 @@ - - hr.analytic.timesheet.tree @@ -97,8 +94,7 @@ Working Hours allows you to log your working hours by project every day. - - + hr.timesheet.employee.extd_form diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_data.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_data.xml index 14a3b51672f..be55c83e0fa 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_data.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_data.xml @@ -19,13 +19,6 @@ STOCK_JUSTIFY_FILL - - My Timesheet - - - STOCK_JUSTIFY_FILL - - diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index a65a7578800..3acebb7c74a 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -177,13 +177,6 @@ This view allows you to check timesheet sheets following a specific period. You can also encode time spent on a project that is an analytic account and the time spent on a project generate costs on the analytic account. - - - - diff --git a/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml b/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml index 2c87df69757..8c32cf924e7 100644 --- a/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml +++ b/addons/hr_timesheet_sheet/wizard/hr_timesheet_current_view.xml @@ -28,9 +28,5 @@ - - diff --git a/addons/project_timesheet/__openerp__.py b/addons/project_timesheet/__openerp__.py index fbf3d389739..e0defdb7e07 100644 --- a/addons/project_timesheet/__openerp__.py +++ b/addons/project_timesheet/__openerp__.py @@ -31,7 +31,7 @@ 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'depends': ['project', 'hr_timesheet_sheet', 'hr_timesheet_invoice'], - 'init_xml': [], + 'init_xml': ['project_timesheet_data.xml'], 'update_xml': ["security/ir.model.access.csv","process/project_timesheet_process.xml", "report/task_report_view.xml", "project_timesheet_view.xml"], 'demo_xml': ["project_timesheet_demo.xml"], 'test': [ diff --git a/addons/project_timesheet/project_timesheet_data.xml b/addons/project_timesheet/project_timesheet_data.xml new file mode 100644 index 00000000000..59a25c142b5 --- /dev/null +++ b/addons/project_timesheet/project_timesheet_data.xml @@ -0,0 +1,20 @@ + + + + + + Time Tracking + + + + + + My Timesheet + + + STOCK_JUSTIFY_FILL + + + + + diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index d349292b997..3807271f959 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -128,7 +128,12 @@ parent="base.menu_main_pm" sequence="5"/> - + + + + + From 1e747bdebd80f9ea681fe92fa879e1324ede6425 Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Wed, 22 Dec 2010 18:34:38 +0100 Subject: [PATCH 02/44] [IMP] usability : crm meeting view improvement bzr revid: tfr@openerp.com-20101222173438-9npfct260bg1wkdu --- addons/base_calendar/base_calendar.py | 6 ++++-- addons/crm/crm_meeting_view.xml | 23 +++++++++++++---------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 0e57c7cfb66..301780282e7 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1150,8 +1150,9 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ ('weekly', 'Weeks'), ('monthly', 'Months'), ('yearly', 'Years'), ], 'Frequency'), - - 'interval': fields.integer('Interval', help="Repeat every (Days/Week/Month/Year)"), + + 'end_type' : fields.selection([('forever', 'Forever'), ('count', 'Fix amout of times'), ('end_date','End date')], 'Way to end reccurency'), + 'interval': fields.integer('Repeat every', help="Repeat every (Days/Week/Month/Year)"), 'count': fields.integer('Repeat', help="Repeat x times"), 'mo': fields.boolean('Mon'), 'tu': fields.boolean('Tue'), @@ -1189,6 +1190,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ return res _defaults = { + 'end_type' : 'forever', 'state': 'tentative', 'class': 'public', 'show_as': 'busy', diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml index c27a50cf37b..9a61fda01bd 100644 --- a/addons/crm/crm_meeting_view.xml +++ b/addons/crm/crm_meeting_view.xml @@ -169,18 +169,21 @@ - @@ -200,13 +203,13 @@ - + + attrs="{'required' : [('select1','=','date'), ('rrule_type','=','monthly')], + 'invisible' : ['|', ('select1','=','day'), ('rrule_type','!=','monthly')]}" /> + attrs="{'invisible' : ['|', ('select1','=','date'), ('rrule_type','!=','monthly')]}"> Date: Wed, 22 Dec 2010 18:36:01 +0100 Subject: [PATCH 03/44] [FIX] base_calendar view bzr revid: tfr@openerp.com-20101222173601-y4g0x5obvc7riq41 --- addons/base_calendar/base_calendar_view.xml | 23 ++++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml index a1bd8db9d54..c3e6acee07d 100644 --- a/addons/base_calendar/base_calendar_view.xml +++ b/addons/base_calendar/base_calendar_view.xml @@ -348,18 +348,21 @@ - @@ -379,13 +382,13 @@ - + + attrs="{'required' : [('select1','=','date'), ('rrule_type','=','monthly')], + 'invisible' : ['|', ('select1','=','day'), ('rrule_type','!=','monthly')]}" /> + attrs="{'invisible' : ['|', ('select1','=','date'), ('rrule_type','!=','monthly')]}"> Date: Thu, 23 Dec 2010 11:00:45 +0530 Subject: [PATCH 04/44] [IMP] crm,project_issue,hr_recruitment: improve the tooltips and renmae the history tab to Communication history bzr revid: sbh@tinyerp.com-20101223053045-jb6rfbwfr6ul1lin --- addons/crm/crm_lead.py | 2 +- addons/crm/crm_lead_view.xml | 6 +++--- addons/crm/crm_opportunity_view.xml | 2 +- addons/crm_claim/crm_claim_view.xml | 2 +- addons/crm_fundraising/crm_fundraising_view.xml | 2 +- addons/crm_helpdesk/crm_helpdesk_view.xml | 2 +- addons/hr_recruitment/hr_recruitment_view.xml | 2 +- addons/project_issue/project_issue_view.xml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index fc2b38dcfb1..f8cf6b39930 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -125,7 +125,7 @@ class crm_lead(crm_case, osv.osv): 'channel_id': fields.many2one('res.partner.canal', 'Channel'), 'contact_name': fields.char('Contact Name', size=64), - 'partner_name': fields.char("Customer Name", size=64), + 'partner_name': fields.char("Customer Name", size=64,help='The name of the future partner that will be created while converting the into opportunity'), 'optin': fields.boolean('Opt-In', help="If opt-in is checked, this contact has accepted to receive emails."), 'optout': fields.boolean('Opt-Out', help="If opt-out is checked, this contact has refused to receive emails or unsubscribed to a campaign."), 'type':fields.selection([ diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 63056b89539..119237c3824 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -57,8 +57,8 @@ help="Convert to Opportunity" icon="gtk-go-forward" type="object"/> - +