timesheet_view.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <openerp>
  2. <data>
  3. <record model="ir.ui.view" id="planned_work_form_view">
  4. <field name="name">planned.work.form</field>
  5. <field name="model">planned.work</field>
  6. <field name="arch" type="xml">
  7. <form string="Planned Work">
  8. <group>
  9. <group>
  10. <field name="planned_work" />
  11. <field name="time_spent" widget="float_time" />
  12. </group>
  13. <group>
  14. <field name="responsible"/>
  15. <field name="work_date"/>
  16. <field name="work_cost"/>
  17. </group>
  18. </group>
  19. </form>
  20. </field>
  21. </record>
  22. <record model="ir.ui.view" id="material_used_form_view">
  23. <field name="name">material.used.form</field>
  24. <field name="model">material.used</field>
  25. <field name="arch" type="xml">
  26. <form string="Work Done">
  27. <group>
  28. <group>
  29. <field name="material" />
  30. </group>
  31. <group>
  32. <field name="amount"/>
  33. <field name="price"/>
  34. </group>
  35. </group>
  36. </form>
  37. </field>
  38. </record>
  39. <record model="ir.ui.view" id="material_used_tree_view">
  40. <field name="name">material.used.tree</field>
  41. <field name="model">material.used</field>
  42. <field name="arch" type="xml">
  43. <tree string="Materials" editable="bottom">
  44. <field name="material" />
  45. <field name="amount"/>
  46. <field name="price"/>
  47. </tree>
  48. </field>
  49. </record>
  50. </data>
  51. </openerp>