Valencia Rodrigues (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-16315-vro into 
lp:openobject-addons/6.0.

Requested reviews:
  Anup(OpenERP) (ach-openerp)
  Jay Vora (OpenERP) (jvo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-16315-vro/+merge/68665

Hello,

The Gantt charts of 'Work Orders' and 'Work Centers' (mrp_operations) would not 
reflect the expected end date ('End Date' - 'date_planned_end').

'End Date' is calculated on the basis of 'Working Period' associated with a 
work center, hence it is crucial to include it in the gantt charts.

This fixes the issue.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-16315-vro/+merge/68665
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-16315-vro.
=== modified file 'mrp_operations/mrp_operations_view.xml'
--- mrp_operations/mrp_operations_view.xml	2011-01-14 00:11:01 +0000
+++ mrp_operations/mrp_operations_view.xml	2011-07-21 11:48:38 +0000
@@ -180,7 +180,7 @@
         <field name="model">mrp.production.workcenter.line</field>
         <field name="type">gantt</field>
         <field name="arch" type="xml">
-            <gantt color="workcenter_id" date_delay="hour" date_start="date_planned" string="Operations">
+            <gantt color="workcenter_id" date_delay="hour" date_start="date_planned" string="Operations" date_stop="date_planned_end">
                 <level object="mrp.workcenter" link="production_id" domain="[]">
                     <field name="product"/>
                     <field name="hour"/>
@@ -219,7 +219,7 @@
         <field name="model">mrp.production.workcenter.line</field>
         <field name="type">gantt</field>
         <field name="arch" type="xml">
-            <gantt color="production_id" date_delay="hour" date_start="date_planned">
+            <gantt color="production_id" date_delay="hour" date_start="date_planned" date_stop="date_planned_end">
                 <level object="mrp.workcenter" link="workcenter_id" domain="[]">
                     <field name="product"/>
                     <field name="hour"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to