Commit Graph
12 Commits
Author SHA1 Message Date
Thibault Delavallée 0f0ca1c133 [REF] product_uom, *: clean quantity computation methods
product_uom._compute_quantity is an ensure one multi method taking a browse
record as second paramter. It replaces _compute_qty and _compute_qty_obj
to have a single and standard computation method.
2016-08-01 15:05:32 +02:00
Jérome Maes b1316f44eb [IMP] calendar, hr_holidays: uniformize context key to prevent sending mail to attendees
Code courtesy of tde-banana-odoo
2016-07-14 14:04:35 +02:00
Yannick Tivisse ee9b64a428 [FIX] hr_holiday: correct call to get_working_hours + typo 2016-07-13 12:53:34 +02:00
Jérome Maes dae0157d7b [REF] calendar: rename 'class' field on calendar.event
'class' is a reserved name in python. This will cause problem during new API migration.
2016-06-20 16:19:32 +02:00
Ravi Gohil 46bc624479 [IMP] hr_holidays: a few code improvements
- added encoding to xml files
- replace search_read() with search() for _search_absent_employee()
- fixed setting first date of current month as default value for wizards
- reduce calls to <dict>.get()
2016-06-15 09:47:10 +02:00
Ravi Gohil ec77764e8d [FIX] hr_holidays: fixed potential crash
This was introduced by migration commit 46ccb7036f
2016-06-15 09:47:10 +02:00
Ravi Gohil 0eaec119f7 [MOV] hr_holidays: fixed typo in filename of resourse
Indeed, there only one 'S' in resource ...
2016-06-15 09:47:09 +02:00
Jérome Maes 0025bc2bb2 [IMP] hr_holidays: make const with working 8h per day
Having the number 8 in the code makes developers wonder 'why this number ?'. Naming it eases tensions in geek's mind.
2016-06-07 16:34:56 +02:00
Jérome Maes 9b08ef66a6 [IMP] hr_holidays : rename 'Human Ressource' into 'Leaves App' in warning message. 2016-06-07 16:34:55 +02:00
Ravi Gohil 46ccb7036f [MIG] hr_holidays : migration to new api 2016-06-07 16:34:54 +02:00
Jérome Maes 3c1725da8c [MOV] hr_holidays : move code to split file per models 2016-06-07 16:34:54 +02:00
Ravi Gohil ea2e476606 [MOV] hr_holidays: reorganize module directory
Also,
- removed unused hr_bel_holidays_2008.xml file
- removed unused action with xml_id 'act_hr_employee_holiday_request_approved' from hr_holidays_views.xml
2016-06-07 16:34:54 +02:00