Skip to content

Commit

Permalink
[FIX] git-commit-merge: more saas-12.4 & master checks
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Aug 13, 2019
1 parent 6186942 commit e2a8b54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-commit-merge
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ function check_saas123() {
}

function check_saas124() {
assert_not_in_diff '*' '\baccount\.invoice\b'
assert_not_in_diff py '\benv.(?:do_)?in_onchange\b'
assert_not_in_diff py '\benv\.user\.company_id\b' "Use $(em env.company) instead of $(em env.user.company_id)"
assert_not_in_diff py '\b_company_default_get\b'
Expand All @@ -151,6 +152,7 @@ function check_saas124() {
function check_master() {
assert_not_in_diff py '@api\.multi\b'
assert_not_in_diff py '\.sudo\((?!True\)|False\)|\))' "Use $(em with_user) to change active user"
assert_not_in_diff py '\boldname\b'
}

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

0 comments on commit e2a8b54

Please sign in to comment.