Dodoo初始值设定项脚本

dodoo-initializer的Python项目详细描述


License: LGPL-3https://badge.fury.io/py/dodoo-initializer.svg

dodoo-initializer是一组有用的odoo维护函数。 它们也可以作为cli脚本(基于dodoo)提供 作为可组合的python函数。

Script

Usage: dodoo-initializer [OPTIONS]

  Create an Odoo database with pre-installed modules.

  Almost like standard Odoo does with the -i option, except this script
  manages a cache of database templates with the exact same addons
  installed. This is particularly useful to save time when initializing test
  databases.

  Cached templates are identified by computing a sha1 checksum of modules
  provided with the -m option, including their dependencies and
  corresponding auto_install modules.

Options:
  -n, --new-database TEXT   Name of new database to create, possibly from
                            cache. If absent, only the cache trimming
                            operation is executed.
  -m, --modules TEXT        Comma separated list of addons to install.
                            [default: base]
  --demo / --no-demo        Load Odoo demo data.  [default: True]
  --cache / --no-cache      Use a cache of database templates with the exact
                            same addons installed. Disabling this option also
                            disables all other cache-related operations such
                            as max-age or size. Note: when the cache is
                            enabled, all attachments created during database
                            initialization are stored in database instead of
                            the default Odoo file store.  [default: True]
  --cache-prefix TEXT       Prefix to use when naming cache template databases
                            (max 8 characters). CAUTION: all databases named
                            like {prefix}-____________-% will eventually be
                            dropped by the cache control mechanism, so choose
                            the prefix wisely.  [default: cache]
  --cache-max-age INTEGER   Drop cache templates that have not been used for
                            more than N days. Use -1 to disable.  [default:
                            30]
  --cache-max-size INTEGER  Keep N most recently used cache templates. Use -1
                            to disable. Use 0 to empty cache.  [default: 5]
  -c, --config FILE         Specify the Odoo configuration file. Other ways to
                            provide it are with the ODOO_RC or OPENERP_SERVER
                            environment variables, or ~/.odoorc (Odoo >=10)
                            or ~/.openerp_serverrc.
  --log-level TEXT          Specify the logging level. Accepted values depend
                            on the Odoo version, and include debug, info,
                            warn, error.  [default: info]
  --logfile FILE            Specify the log file.
  --help                    Show this message and exit.

Credits

贡献者:

  • 圣潘比杜尔(ACSONE
  • 托马斯·宾斯菲尔德(ACSONE
  • 本杰明威利(ACSONE
  • 大卫阿诺德(XOE

Maintainer

ACSONE SA/NVXOE Corp. SAS

该项目由Acsone SA/NV和XoE Copr共同维护。SAS公司。

Changes

0.6.0 (2019-01-24)

  • 重构为dodoo插件

0.5.2 (2019-01-22)

  • 不限制db regex:引用的标识符没有限制规范。

0.5.1 (2018-12-05)

  • 添加加载项路径选项

0.5.0 (2018-11-04)

  • 第一个Dodoo版本

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何将cassandra中的行数据转换为与列相关的嵌套json   java如何使用jcr XPath在jcr:content/@jcr:data中搜索?   java在使用openCV进行安卓开发时如何利用手机的广角镜头   java解析扩展了接口,结束了一个潜在的无限循环   位置服务的@Override方法中存在java Android应用程序错误   java本地线程的用途和需求是什么   具有左右子访问的java节点树遍历   java验证JsonWebToken签名   JUL日志处理程序中的java日志记录   嵌入式Java读取给定时间段的串行数据。   java有没有办法从多个URL获取多个图像?   java线程通过等待intent阻止自己发送intent   java Spring MVC解析多部分内容请求   java JPA/Hibernate静态元模型属性未填充NullPointerException   java格式错误的字符(需要引号,得到I)~正在处理   java为什么PrintWriter对象抛出FileNotFoundException?   java Neo4j未正确保存标签   java IE不加载图像