Skip to content

Commit

Permalink
[FIX] git-commit-merge: new saas-12.5 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Sep 18, 2019
1 parent 28f7050 commit 40d2fd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions git-commit-merge
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ function check_saas125() {
assert_not_in_diff py '\benv.(?:do_)?in_draft\b'
assert_not_in_diff py '\b\._recompute_todo\b'
assert_not_in_diff py '\benv\.norecompute\b'

# see odoo/odoo@58a2ffa26f1a3b0f9630ce16d11b758d18e20a21
assert_not_in_diff py,xml '\bimage_(original|big|large|medium|small)\b' \
"Use $(em image_DDD) instead [original => 1920; big => 1024; large => 256; medium => 128; small => 64]"
}

# --------- main
Expand Down

0 comments on commit 40d2fd7

Please sign in to comment.