summarylogtreecommitdiffstats
path: root/odoo.install
blob: 1a3ae82e28bad89a1d60e1cd3525a0dea0ca2574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_upgrade(){
 # show message only if major version differs
 if [ "${1%.*}" -gt "${2%.*}" ]; then
  echo "
A new major version of Odoo has been released, you should upgrade
the Odoo database by running the following as the odoo user

    odoo -u all

"
 fi
}