← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-724201-ara into lp:openobject-addons

 

Ashvin Rathod (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-724201-ara into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  #724201 Cannot use the timesheet program because of a warning message "Please Enter A Value"
  https://bugs.launchpad.net/bugs/724201

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-724201-ara/+merge/52406

Hello,

Fix the bug: Cannot use the timesheet program because of a warning message "Please Enter A Value"
https://bugs.launchpad.net/openobject-addons/+bug/724201

Thanks,
ara
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-724201-ara/+merge/52406
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-724201-ara.
=== modified file 'hr_timesheet_sheet/hr_timesheet_sheet_view.xml'
--- hr_timesheet_sheet/hr_timesheet_sheet_view.xml	2011-02-22 06:51:49 +0000
+++ hr_timesheet_sheet/hr_timesheet_sheet_view.xml	2011-03-07 12:50:00 +0000
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <openerp>
     <data>
-    
+
        <record id="hr_timesheet_sheet_graph" model="ir.ui.view">
          <field name="name">hr.timesheet.sheet.graph</field>
          <field name="model">hr_timesheet_sheet.sheet</field>
@@ -102,11 +102,11 @@
                                     <field name="name"/>
                                     <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/>
                                     <field name="to_invoice"/>
-                                    <field invisible="1" name="journal_id"/>
+                                    <field name="journal_id"/>
                                     <field invisible="1" name="product_id" domain="[('type','=','service')]" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/>
                                     <field invisible="1" name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/>
                                     <field invisible="1" name="amount"/>
-                                    <field invisible="1" name="general_account_id"/>
+                                    <field name="general_account_id"/>
                                     <field invisible="1" name="user_id" required="1"/>
                                 </tree>
                                 <form string="Timesheet Lines">


Follow ups