Skip to content
Snippets Groups Projects
Commit 8d545393c7ca authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:bookmark: 3.1

parent d05166dbac2f
No related branches found
No related tags found
No related merge requests found
3.0
3.1
......@@ -7,7 +7,7 @@
# - openerp to be installed
#
# Version 3.0
# Version 3.1
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
......
......@@ -13,7 +13,7 @@
#
# - access to pg database
#
# Version 3.0
# Version 3.1
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
......
......@@ -4,7 +4,7 @@
isort:skip_file
"""
# Version 3.0
# Version 3.1
import argparse
import logging
import os
......
......@@ -3,7 +3,7 @@
"""Script to locally build a docker image
"""
# Version 3.0
# Version 3.1
import argparse
import configparser
import datetime
......
......@@ -5,7 +5,7 @@
isort:skip_file
"""
# Version 3.0
# Version 3.1
import argparse
import atexit
from configparser import ConfigParser
......
#!/usr/bin/env python3
"""Imports CSV files into an Odoo server via Odoo import wizard.
"""
# Version 2.22
# Version 3.1
import hashlib
import hmac
import logging
......
#!/usr/bin/env python3
"""Imports CSV files into an Odoo server by using JSONRPC.
"""
# Version 2.22
# Version 3.1
import csv
import logging
import sys
......
#!/usr/bin/env python3
"""Imports CSV files into an Oddo database using SQL.
"""
# Version 3.0
# Version 3.1
import csv
import logging
import sys
......
......@@ -5,7 +5,7 @@
#
# Either provide the name of the database (first argument) or it will default to <project>_test
# The DB user can be overriden by setting ODOO_SCRIPTS_DB_USER.
# Version 3.0
# Version 3.1
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
if ! type python3 > /dev/null; then
......
[bumpversion]
current_version = 3.0
current_version = 3.1
parse = (?P<major>\d+)\.(?P<minor>\d+)
serialize =
{major}.{minor}
......@@ -14,5 +14,5 @@
[bumpversion:file:start]
[bumpversion:file:docker_build.py]
[bumpversion:file:odoo_scripts/docker_build.py]
......@@ -18,3 +18,3 @@
[bumpversion:file:docker_dev_start.py]
[bumpversion:file:odoo_scripts/docker_dev_start.py]
......@@ -20,3 +20,3 @@
[bumpversion:file:do_tests.py]
[bumpversion:file:odoo_scripts/do_tests.py]
......@@ -22,3 +22,3 @@
[bumpversion:file:import_base_import.py]
[bumpversion:file:odoo_scripts/import_base_import.py]
......@@ -24,3 +24,3 @@
[bumpversion:file:import_jsonrpc.py]
[bumpversion:file:odoo_scripts/import_jsonrpc.py]
......@@ -26,4 +26,4 @@
[bumpversion:file:import_sql.py]
[bumpversion:file:odoo_scripts/import_sql.py]
[bumpversion:file:setup.py]
......@@ -28,2 +28,3 @@
[bumpversion:file:setup.py]
......@@ -5,7 +5,7 @@
setup(
name="odoo_scripts",
version="3.0",
version="3.1",
long_description=long_description,
long_description_content_type="text/x-rst",
author="XCG Consulting",
......
......@@ -6,7 +6,7 @@
# You can set ODOO_DATA_DIR and ODOO_DB_HOST if you want to avoid using the default value ($HOME/var/tmp and localhost)
# ODOO_TYPE can be set instead of putting it in setup.cfg
#
# Version 3.0
# Version 3.1
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
if [ -x "$(command -v python3)" ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment