mirror of
https://gitlab.com/flectra-community/devops/odoo-2-flectra-converter.git
synced 2024-11-23 22:02:04 +00:00
jawengo: subscription computation fixes
This commit is contained in:
parent
c2dd6c77e1
commit
303d6d3076
@ -8,8 +8,8 @@ if __name__ == "__main__":
|
|||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
parser = argparse.ArgumentParser(description='Migrate Odoo repositories to Flectra')
|
parser = argparse.ArgumentParser(description='Migrate Odoo repositories to Flectra')
|
||||||
parser.add_argument('--name', help='Name of Repository')
|
parser.add_argument('--name', help='Name of Repository')
|
||||||
parser.add_argument('--company', default='Jamotion GmbH', help='Name of Repository')
|
parser.add_argument('--company', default='2BIT AG', help='Name of Company')
|
||||||
parser.add_argument('--contributor', default='Jamotion <info@jamotion.ch>', help='Name of Repository')
|
parser.add_argument('--contributor', default='2BIT AG <info@2bit.ch>', help='Name of Contributor')
|
||||||
parser.add_argument('--src', default='./odoo', help='Path to odoo repository')
|
parser.add_argument('--src', default='./odoo', help='Path to odoo repository')
|
||||||
parser.add_argument('--dest', default='./flectra', help='Path to flectra repository')
|
parser.add_argument('--dest', default='./flectra', help='Path to flectra repository')
|
||||||
parser.add_argument('--debug', default=False, action='store_true', help='Loglevel: DEBUG')
|
parser.add_argument('--debug', default=False, action='store_true', help='Loglevel: DEBUG')
|
||||||
@ -40,7 +40,6 @@ if __name__ == "__main__":
|
|||||||
repo_dst_path = os.path.abspath(args.dest)
|
repo_dst_path = os.path.abspath(args.dest)
|
||||||
migrator = RepoMigrator(args.name, repo_src_path, repo_dst_path, args.company, args.contributor)
|
migrator = RepoMigrator(args.name, repo_src_path, repo_dst_path, args.company, args.contributor)
|
||||||
migrator.migrate()
|
migrator.migrate()
|
||||||
migrator.generate_gitlab_ci()
|
|
||||||
|
|
||||||
_logger.info('Module migration finished')
|
_logger.info('Module migration finished')
|
||||||
_logger.info('Migration took {0} second'.format(time.time() - start_time))
|
_logger.info('Migration took {0} second'.format(time.time() - start_time))
|
||||||
|
Loading…
Reference in New Issue
Block a user