diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py index 087ef600025..9cfb8950144 100644 --- a/addons/document_change/document_change.py +++ b/addons/document_change/document_change.py @@ -69,7 +69,7 @@ class doucment_change_process_phase(osv.osv): 'date_control': fields.date('Control Date', select=True), 'phase_ids':fields.many2one('document.change.process.phase','Phase Type'), 'state': fields.selection([('draft', 'Draft'),('started', 'Started'),('validate', 'To Validate'), ('end', 'End')], 'Status', readonly=True), - 'phase_document_ids':fields.many2many('ir.attachment','Document','phase_document_rel','phase_id','document_id','Phase Type'), + 'phase_document_ids':fields.many2many('ir.attachment','phase_document_rel','phase_id','document_id','Document'), } doucment_change_process_phase() diff --git a/addons/document_change/document_change_view.xml b/addons/document_change/document_change_view.xml index a8e5ce2e9f3..a3b0083f460 100644 --- a/addons/document_change/document_change_view.xml +++ b/addons/document_change/document_change_view.xml @@ -247,6 +247,28 @@ + + ir.actions.act_window + ir.attachment + Documents Without Type + form + tree,form + + [] + + + + + ir.actions.act_window + ir.attachment + Documents to Update + form + tree,form + + [] + + + @@ -293,7 +315,16 @@ tree,form - + + + ir.actions.act_window + document.change.process.phase + Phases to Validate + form + tree,form + [('state','=','draft')] + + @@ -337,7 +368,7 @@
- + @@ -411,5 +442,15 @@ tree,form,calendar,graph + + + ir.actions.act_window + document.change.process + Process Changes to Validate + form + tree,form + [('state','=','draft')] + + \ No newline at end of file