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

:bookmark: 3.2

parent 877a52709131
No related branches found
No related tags found
No related merge requests found
3.1
3.2
......@@ -7,7 +7,7 @@
# - openerp to be installed
#
# Version 3.1
# Version 3.2
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
......
......@@ -13,7 +13,7 @@
#
# - access to pg database
#
# Version 3.1
# Version 3.2
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
......
......@@ -4,7 +4,7 @@
isort:skip_file
"""
# Version 3.1
# Version 3.2
import argparse
from configparser import ConfigParser
import logging
......
......@@ -2,7 +2,7 @@
# vim: set shiftwidth=4 softtabstop=4:
"""Script to locally build a docker image
"""
# Version 3.1
# Version 3.2
import datetime
import json
import logging
......
......@@ -5,7 +5,7 @@
isort:skip_file
"""
# Version 3.1
# Version 3.2
import argparse
import atexit
from configparser import ConfigParser
......
#!/usr/bin/env python3
"""Imports CSV files into an Odoo server via Odoo import wizard.
"""
# Version 3.1
# Version 3.2
import hashlib
import hmac
import logging
......
#!/usr/bin/env python3
"""Imports CSV files into an Odoo server by using JSONRPC.
"""
# Version 3.1
# Version 3.2
import csv
import logging
import sys
......
#!/usr/bin/env python3
"""Imports CSV files into an Oddo database using SQL.
"""
# Version 3.1
# Version 3.2
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.1
# Version 3.2
here=$(dirname $0)
project_home=$(cd $here && cd .. && echo $PWD)
if ! type python3 > /dev/null; then
......
[bumpversion]
current_version = 3.1
current_version = 3.2
parse = (?P<major>\d+)\.(?P<minor>\d+)
serialize =
{major}.{minor}
......@@ -27,3 +27,4 @@
[bumpversion:file:odoo_scripts/import_sql.py]
[bumpversion:file:setup.py]
......@@ -5,7 +5,7 @@
setup(
name="odoo_scripts",
version="3.1",
version="3.2",
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.1
# Version 3.2
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