mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-23 07:22:03 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# 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 = '[(''model'', ''in'', (''project.task'', ''project.project''))]'
|
||||
FROM ir_model_data d
|
||||
WHERE d.res_id = r.id
|
||||
AND r.domain_force = '[(''model_id.model'', ''in'', (''project.task.type'', ''project.project.stage''))]'
|
||||
AND d.model = 'ir.rule'
|
||||
AND d.module = 'project_sms'
|
||||
AND d.name = 'ir_rule_sms_template_project_manager'
|
||||
""")
|
||||
Loading…
Add table
Add a link
Reference in a new issue