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.

40 lines
1.8 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
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="date_range_generator_view_form" model="ir.ui.view">
  4. <field name="name">date.range.generator.form</field>
  5. <field name="model">date.range.generator</field>
  6. <field name="arch" type="xml">
  7. <form string="Generate Date Ranges">
  8. <group col="4">
  9. <field name="name_prefix"/>
  10. <field name="type_id"/>
  11. <label for="duration_count"/>
  12. <div>
  13. <field class="oe_inline" name="duration_count"/>
  14. <field class="oe_inline" name="unit_of_time"/>
  15. </div>
  16. <field name="date_start"/>
  17. <field name="count"/>
  18. <field groups="base.group_multi_company"
  19. name="company_id" options="{'no_create': True}"/>
  20. </group>
  21. <footer>
  22. <button class="btn btn-sm btn-primary"
  23. name="action_apply" string="Submit" type="object"/>
  24. <button class="btn btn-sm btn-default"
  25. special="cancel" string="Cancel"/>
  26. </footer>
  27. </form>
  28. </field>
  29. </record>
  30. <record id="date_range_generator_action" model="ir.actions.act_window">
  31. <field name="name">Generate Date Ranges</field>
  32. <field name="type">ir.actions.act_window</field>
  33. <field name="res_model">date.range.generator</field>
  34. <field name="view_mode">form</field>
  35. <field name="view_id" ref="date_range_generator_view_form"/>
  36. <field name="target">new</field>
  37. </record>
  38. <menuitem action="date_range_generator_action"
  39. id="menu_date_range_generator_action" parent="menu_date_range"/>
  40. </odoo>