mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-27 17:12:01 +02:00
Initial commit: Hr packages
This commit is contained in:
commit
62531cd146
2820 changed files with 1432848 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
cr.execute("""
|
||||
UPDATE ir_rule r
|
||||
SET domain_force = '[(1, "=", 1)]'
|
||||
FROM ir_model_data d
|
||||
WHERE d.res_id = r.id
|
||||
AND d.model = 'ir.rule'
|
||||
AND d.module = 'hr_timesheet_attendance'
|
||||
AND d.name = 'hr_timesheet_attendance_report_rule_approver'
|
||||
""")
|
||||
Loading…
Add table
Add a link
Reference in a new issue