From 1b7487b0ccb85904095a67f06455d5d62ac5872c Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Tue, 26 Jun 2012 15:59:45 +0530 Subject: [PATCH 1/8] kanban project.issue bzr revid: tta@openerp.com-20120626102945-2yk3zdntgu2nui2l --- addons/project_issue/project_issue.py | 2 +- addons/project_issue/project_issue_view.xml | 95 ++++++++++++--------- 2 files changed, 56 insertions(+), 41 deletions(-) diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index ad6e7afdbcc..127de5dae37 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -288,7 +288,7 @@ class project_issue(base_stage, osv.osv): 'stage_id': _read_group_stage_ids } - def set_priority(self, cr, uid, ids, priority): + def set_priority(self, cr, uid, ids, priority, *args): """Set lead priority """ return self.write(cr, uid, ids, {'priority' : priority}) diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 1d8fe6b2509..9805a537eab 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -220,52 +220,67 @@ - + - -
-
- - - - - - -
- - - - - - -
-
-
- -
-
- -
-
- -
+
+ +
+
+
-
- + From 6c879adbaebe0817cc1fac6edef699aa96539a0e Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Tue, 26 Jun 2012 17:27:00 +0530 Subject: [PATCH 2/8] [IMP] kanban project.task bzr revid: tta@openerp.com-20120626115700-2ssby2yt15oaodmx --- addons/project/project.py | 2 +- addons/project/project_view.xml | 128 +++++++++++++++----------------- 2 files changed, 62 insertions(+), 68 deletions(-) diff --git a/addons/project/project.py b/addons/project/project.py index 429672d3269..79523dcc23e 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -753,7 +753,7 @@ class task(base_stage, osv.osv): _order = "priority, sequence, date_start, name, id" - def set_priority(self, cr, uid, ids, priority): + def set_priority(self, cr, uid, ids, priority, *args): """Set task priority """ return self.write(cr, uid, ids, {'priority' : priority}) diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index be4421f126b..a3308f5e4cd 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -445,76 +445,70 @@ - - -
    -
  • Project:
  • -
-
- - http://pad.openerp.com/ - oe_kanban_color_red - oe_kanban_color_green -
-
- - - - - - -
- - - - - - -
-
- -
-
-
- - -
+ + + http://pad.openerp.com/ + oe_kanban_color_red + oe_kanban_color_green +
+ +
+
+ +
+
+ +
+
+ +
+
- - +
+
+ + + From 025bbe2c7cd68012b7b8d7379b652fa495cf39c1 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Tue, 26 Jun 2012 18:30:58 +0530 Subject: [PATCH 3/8] [IMP] kanban hr.applicant new style. bzr revid: tta@openerp.com-20120626130058-tc5w2pivkjo4zf1d --- addons/hr_recruitment/hr_recruitment_view.xml | 78 +++++++++---------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index f31778b7874..a13f5e744c2 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -266,64 +266,60 @@ - + - oe_kanban_color_green -
+
-

-

-
+
+
- -
-
-
- () +
+
+ () +
+
+
+ Applied for +
+
+ + on + +
-
-
- Applied for -
-
- - on - -
-
-
- -
+ +
+
- + From 788748604fcbb9eda51cb61bf400072d58272fd3 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Wed, 27 Jun 2012 16:06:10 +0530 Subject: [PATCH 4/8] [IMP] kanban : project.task, project.issue, hr.applicant bzr revid: tta@openerp.com-20120627103610-1uwuz2geen0psq5j --- addons/hr_recruitment/hr_recruitment_view.xml | 22 +++++--- addons/project/project_view.xml | 53 ++++++++++--------- addons/project_issue/project_issue.py | 5 ++ addons/project_issue/project_issue_view.xml | 19 +++++-- 4 files changed, 65 insertions(+), 34 deletions(-) diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index a13f5e744c2..b9b1c5b1e96 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -266,7 +266,15 @@ - + + +
    +
  • Contact:
  • +
  • Email :
  • +
  • Phone:
  • +
  • Mobile:
  • +
+
@@ -279,7 +287,7 @@
  • -
    +

    @@ -292,16 +300,18 @@ Applied for
    - - on - + +
      +
    • +
    • +
    + + +
    @@ -471,29 +471,32 @@
    - diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 127de5dae37..9963fc59cb0 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -222,6 +222,11 @@ class project_issue(base_stage, osv.osv): select=True, help='Sales team to which Case belongs to.\ Define Responsible user and Email account for mail gateway.'), 'partner_id': fields.many2one('res.partner', 'Partner', select=1), + 'partner_street': fields.related('partner_id', 'street', type='char', string='Street', readonly=True), + 'partner_city': fields.related('partner_id', 'city', type='char', string='City', readonly=True), + 'partner_state_id': fields.related('partner_id', 'state_id', type='char', string='State', readonly=True), + 'partner_country_id': fields.related('partner_id', 'country_id', type='char', string='Country', readonly=True), + 'partner_phone': fields.related('partner_id', 'phone', type='char', string='Phone', readonly=True), 'company_id': fields.many2one('res.company', 'Company'), 'description': fields.text('Description'), 'state': fields.related('stage_id', 'state', type="selection", store=True, diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 9805a537eab..baee4d3aa70 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -221,6 +221,19 @@ + +
      +
    • Customer:
    • +
    • Customer Address: + + , + , + , +
    • +
    • Customer Phone:
    • +
    • Project:
    • +
    +
    @@ -236,15 +249,15 @@
  • -
    +
    - +
    - +