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.

19 lines
931 B

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. <data noupdate="1">
  4. <record id="date_range_type_comp_rule" model="ir.rule">
  5. <field name="name">Date Range Type multi-company</field>
  6. <field name="model_id" ref="model_date_range_type"/>
  7. <field eval="True" name="global"/>
  8. <field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field>
  9. <field eval="False" name="active"/>
  10. </record>
  11. <record id="date_range_comp_rule" model="ir.rule">
  12. <field name="name">Date Range multi-company</field>
  13. <field name="model_id" ref="model_date_range"/>
  14. <field eval="True" name="global"/>
  15. <field name="domain_force"> ['|',('company_id','=',user.company_id.id),('company_id','=',False)]</field>
  16. <field eval="False" name="active"/>
  17. </record>
  18. </data>
  19. </odoo>