You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
4.2 KiB

9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="view_date_range_tree" model="ir.ui.view">
  4. <field name="name">date.range.tree</field>
  5. <field name="model">date.range</field>
  6. <field name="arch" type="xml">
  7. <tree editable="bottom" string="Date range">
  8. <field name="name"/>
  9. <field name="type_id"/>
  10. <field name="date_start"/>
  11. <field name="date_end"/>
  12. <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
  13. <field name="parent_type_id" invisible="1"/>
  14. <field
  15. name="parent_id"
  16. options="{'no_create': True}"
  17. />
  18. <field name="active"/>
  19. </tree>
  20. </field>
  21. </record>
  22. <record id="view_date_range_form_view" model="ir.ui.view">
  23. <field name="name">date.range.form</field>
  24. <field name="model">date.range</field>
  25. <field name="arch" type="xml">
  26. <form string="Date Range">
  27. <group col="4">
  28. <field name="name"/>
  29. <field name="type_id"/>
  30. <field name="date_start"/>
  31. <field name="date_end"/>
  32. <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
  33. <field name="parent_type_id" invisible="1"/>
  34. <field
  35. name="parent_id"
  36. options="{'no_create': True}"
  37. />
  38. <field name="active"/>
  39. </group>
  40. </form>
  41. </field>
  42. </record>
  43. <record id="view_date_range_type_tree" model="ir.ui.view">
  44. <field name="name">date.range.type.tree</field>
  45. <field name="model">date.range.type</field>
  46. <field name="arch" type="xml">
  47. <tree editable="bottom" string="Date range type">
  48. <field name="name"/>
  49. <field name="allow_overlap"/>
  50. <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
  51. <field name="parent_type_id"/>
  52. <field name="active"/>
  53. </tree>
  54. </field>
  55. </record>
  56. <record id="view_date_range_type_form_view" model="ir.ui.view">
  57. <field name="name">date.range.type.form</field>
  58. <field name="model">date.range.type</field>
  59. <field name="arch" type="xml">
  60. <form string="Date Range Type">
  61. <group col="4">
  62. <field name="name"/>
  63. <field name="allow_overlap"/>
  64. <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
  65. <field name="parent_type_id"/>
  66. <field name="active"/>
  67. </group>
  68. </form>
  69. </field>
  70. </record>
  71. <record id="date_range_action" model="ir.actions.act_window">
  72. <field name="name">Date Ranges</field>
  73. <field name="type">ir.actions.act_window</field>
  74. <field name="res_model">date.range</field>
  75. <field name="view_type">form</field>
  76. <field name="view_mode">tree,form</field>
  77. <field name="view_id" ref="view_date_range_tree"/>
  78. <field name="domain">[]</field>
  79. <field name="context">{}</field>
  80. </record>
  81. <record id="date_range_type_action" model="ir.actions.act_window">
  82. <field name="name">Date Range Types</field>
  83. <field name="type">ir.actions.act_window</field>
  84. <field name="res_model">date.range.type</field>
  85. <field name="view_type">form</field>
  86. <field name="view_mode">tree,form</field>
  87. <field name="view_id" ref="view_date_range_type_tree"/>
  88. <field name="domain">[]</field>
  89. <field name="context">{}</field>
  90. </record>
  91. <menuitem id="menu_date_range" name="Date ranges"
  92. parent="base.menu_custom" sequence="1"/>
  93. <menuitem action="date_range_action" id="menu_date_range_action" parent="menu_date_range"/>
  94. <menuitem action="date_range_type_action"
  95. id="menu_date_range_type_action" parent="menu_date_range"/>
  96. </odoo>