Commit ea1c3a41 authored by Dmytro Katyukha's avatar Dmytro Katyukha
Browse files

Merge branch '10.0-docs' into '10.0'

10.0 docs

See merge request crnd/generic-addons!52
parents 208a172e aaa1fadc
Pipeline #7671 passed with stages
in 7 minutes and 2 seconds
image: 10.100.98.41:5000/maao-docker/maao-simple:10.0-maao
variables:
SERIES_BRANCH: '10.0'
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
ODOO_DB_HOST: 10.100.98.41-maao-docker-maao-ci-postgres
ODOO_DB_USER: odoo
ODOO_DB_PASSWORD: odoo
ODOO_ADMIN_PASS: admin
CI_JOB_TOKEN_GIT_HOST: 'gitlab.crnd.pro'
PIP_CACHE_DIR: ".hidden-pip-cache"
cache:
paths:
- "$HOME/.cache/pip"
# Disable global cache
cache: {}
.pip_cache: &pip_cache_definition
cache:
key: ${CI_JOB_NAME}
paths:
- "${PIP_CACHE_DIR}"
stages:
- static-test
- test
- translation
- deploy
build_env:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
script:
- pwd
- whoami
- python --version
- odoo-helper --version
- odoo-helper status --tools-versions --ci-tools-versions
flake8:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
script:
- odoo-helper test flake8 .
- odoo-helper lint flake8 .
pylint:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
script:
- odoo-helper test pylint .
- odoo-helper lint pylint .
bandit:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
<<: *pip_cache_definition
before_script:
- odoo-helper pip install bandit
script:
- odoo-helper exec bandit -r .
stylelint:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
script:
- odoo-helper lint style .
check-versions:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-simple
stage: static-test
script:
- odoo-helper ci check-versions-git --repo-version . origin/$SERIES_BRANCH $CI_COMMIT_SHA
only:
- /^10.0-.*$/ # only branches that started with '10.0-'
allow_failure: true
tests:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-ci
stage: test
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
<<: *pip_cache_definition
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer test --coverage --create-test-db -d .
- odoo-helper --use-unbuffer test --coverage --create-test-db --dir .
- odoo-helper exec coverage report --fail-under=90
- odoo-helper exec coverage html -d html-coverage
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\%)/'
artifacts:
paths:
- html-coverage
migration_tests:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-ci
stage: test
<<: *pip_cache_definition
variables:
ODOO_DB_NAME: test-db
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
before_script:
- git checkout $SERIES_BRANCH
- git pull
- odoo-helper link .
- odoo-helper --use-unbuffer db create --demo $ODOO_DB_NAME
- odoo-helper --use-unbuffer addons install -d $ODOO_DB_NAME $(odoo-helper addons list .)
- odoo-helper --use-unbuffer addons install -d $ODOO_DB_NAME --dir .
- git checkout $CI_COMMIT_SHA
- rm -rf $(cat .removed_addons.txt)
- odoo-helper link .
- odoo-helper --use-unbuffer addons update-list
- odoo-helper --use-unbuffer addons update -d $ODOO_DB_NAME $(odoo-helper addons list .)
- odoo-helper --use-unbuffer addons uninstall -d $ODOO_DB_NAME $(cat ./removed_addons.txt)
- odoo-helper --use-unbuffer addons update -d $ODOO_DB_NAME --dir .
script:
- odoo-helper --use-unbuffer test --coverage -d .
- odoo-helper --use-unbuffer test --coverage --dir .
- odoo-helper exec coverage report --fail-under=90
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\%)/'
only:
- /^10.0-.*$/ # only branches that started with '10.0-'
translation_rate_ua:
stage: translation
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-ci
stage: translation
<<: *pip_cache_definition
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer tr rate --lang uk_UA --min-total-rate 70 $(odoo-helper addons list .)
- odoo-helper --use-unbuffer tr rate --lang uk_UA --min-total-rate 70 --dir .
coverage: '/^TOTAL\s+\|\s+\d+\s+\|\s+\d+\s+|\s+(\d+\.\d+)/'
allow_failure: true
translation_rate_ru:
image: registry.crnd.pro/crnd/docker/odoo-ci-x:10.0-ci
stage: translation
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
<<: *pip_cache_definition
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer tr rate --lang ru_RU $(odoo-helper addons list .)
- odoo-helper --use-unbuffer tr rate --lang ru_RU --min-total-rate 70 --dir .
coverage: '/^TOTAL\s+\|\s+\d+\s+\|\s+\d+\s+|\s+(\d+\.\d+)/'
allow_failure: true
.deploy_review_definition: &deploy_review_definition
stage: deploy
variables:
before_script:
- ci-review-app init
script:
- ci-review-app start
tags:
- traefic
- review-apps
- deploy
deploy_review_dev:
<<: *deploy_review_definition
environment:
name: review/$CI_COMMIT_REF_NAME
url: http://$CI_ENVIRONMENT_SLUG-$CI_PROJECT_ID.ci3.crnd.pro
on_stop: stop_review_dev
only:
- /^10.0-.*$/ # only branches that started with '10.0-'
when: manual
stop_review_dev:
stage: deploy
environment:
name: review/$CI_COMMIT_REF_NAME
action: stop
variables:
GIT_STRATEGY: none
script:
- ci-review-app stop
when: manual
tags:
- traefic
- review-apps
- deploy
only:
- /^10.0-.*$/ # only branches that started with '10.0-'
10.0.0.0.1
Generic Conditions
==================
Generic Condition Module
========================
.. |badge1| image:: https://img.shields.io/badge/pipeline-pass-brightgreen.png
:target: https://github.com/crnd-inc/generic-addons
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/powered%20by-yodoo.systems-00a09d.png
:target: https://yodoo.systems
.. |badge5| image:: https://img.shields.io/badge/maintainer-CR&D-purple.png
:target: https://crnd.pro/
.. |badge4| image:: https://img.shields.io/badge/docs-Generic_Condition-yellowgreen.png
:target: https://crnd.pro/doc-bureaucrat-itsm/11.0/en/Generic_Condition_admin_eng
|badge1| |badge2| |badge4| |badge5|
Generic Condition is technical addon developed by the `Center of Research &
Development company <https://crnd.pro/>`__.
This addon can be used by other developers in cases where they need to provide users with the ability to program some logic.
Generic Condition module can be used in other Odoo applications with the help of additional connection modules.
For example, conditions (that you program with Generic Condition addon) can be used to configure Automated Actions in the Generic Condition (automation) addon.
Here are some basic types of conditions that can be customized:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- *You can describe conditions as an expression in the Python
programming language.*
- *Specify filters for selecting from DB.*
- *Use conditions with inversion or a group of conditions.*
- *Evaluate dates and monetary fields.*
- *Check objects and documents by users or specific fields.*
Read the `Generic Condition Module Guide <https://crnd.pro/doc-bureaucrat-itsm/11.0/en/Generic_Condition_admin_eng/>`__ for more information.
**Warning! Currently Odoo version 10.0 do not have active support. Main development is on the 11.0 and 12.0 versions.**
The Generic Condition module is part of the Bureaucrat ITSM project.
You can try it by the references below.
Launch your own ITSM system in 60 seconds:
''''''''''''''''''''''''''''''''''''''''''
Create your own `Bureaucrat ITSM <https://yodoo.systems/saas/template/itsm-16>`__ database
|badge3|
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/crnd-inc/generic-addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
Maintainer
''''''''''
.. image:: https://crnd.pro/web/image/3699/300x140/crnd.png
Our web site: https://crnd.pro/
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions `contact us <mailto:info@crnd.pro>`__.
This addon implements generic programmable conditions,
that allows to program some logic by non-programmers
# -*- coding: utf-8 -*-
{
"name": "Generic Condition",
"version": "10.0.0.0.1",
"author": "Center of Research & Development",
"version": "10.0.0.0.2",
"author": "Center of Research and Development",
"website": "https://crnd.pro",
"license": "Other proprietary",
"summary": "Generic Conditions",
"license": "LGPL-3",
"summary": """
Create generic conditions on which you
can program some logic in Odoo objects""",
'category': 'Technical Settings',
'depends': [
'web',
......@@ -20,6 +22,7 @@
'views/assets.xml',
'wizard/test_condition_view.xml',
],
'images': ['static/description/banner.png'],
'installable': True,
'auto_install': False,
}
<section style="max-width: 896px; margin: 0 auto;">
<div align="center">
<h1 style="color:#875A7B;">Generic Condition</h1>
</div>
<div align="center">
<p><a href="https://github.com/crnd-inc/generic-addons"><img alt="pipeline-pass" src="https://img.shields.io/badge/pipeline-pass-brightgreen.png" /></a> <a href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a href="https://crnd.pro/doc-bureaucrat-itsm/11.0/en/Generic_Condition_admin_eng"><img alt="docs" src="https://img.shields.io/badge/docs-module-yellowgreen.png" /></a> <a href="https://crnd.pro/"><img alt="CR&amp;D" src="https://img.shields.io/badge/maintainer-CR&amp;D-purple.png" /></a></p>
<p><br></p>
</div>
</section>
<section style="margin: 0 auto; max-width: 896px;">
<div>
<p>Generic Condition is technical addon developed by the <a href="https://crnd.pro/">Center of Research &amp; Development</a> company.</p>
<p>This addon can be used by other developers in cases where they need to provide users with the ability to program some logic.</p>
<p>Generic Condition module can be used in other Odoo applications with the help of additional connection modules.</p>
<p>For example, conditions (that you program with Generic Condition addon) can be used to configure Automated Actions in the Generic Condition (automation) addon.</p>
</div>
<div>
<h3>Here are some basic types of conditions that can be customized:
</h3>
<ul>
<li>You can describe conditions as an expression in the Python
programming language.
</li>
<li>Specify filters for selecting from DB.
</li>
<li>Use conditions with inversion or a group of conditions.
</li>
<li>Evaluate dates and monetary fields.
</li>
<li>Check objects and documents by users or specific fields.
</li>
</ul>
<p><b>Warning! Currently Odoo version 10.0 do not have active support. Main development is on the 11.0 and 12.0 versions.</b></p>
</div>
</section>
<section style="max-width: 896px; margin: 0 auto;">
<p>Read the <a href="https://crnd.pro/doc-bureaucrat-itsm/11.0/en/Generic_Condition_admin_eng/">Generic Condition</a> module guide for more information.</p>
<p>The Generic Condition module is part of the Bureaucrat ITSM project. You can try it by the links below.</p>
</section>
<section style="max-width: 896px; margin: 0 auto;">
<div>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a href="https://github.com/crnd-inc/generic-addons/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported.
</p>
<p><br></p>
</div>
</section>
<section align="center" style="max-width: 896px; margin: 0 auto;">
<div>
<h2 style="color:#875A7B;">Launch your own ITSM system in 60 seconds:</h2>
<p>Create your own <a href="https://yodoo.systems/saas/template/itsm-16">Bureaucrat ITSM</a> database
<a href="https://yodoo.systems"><img alt="yodoo.systems" src="https://img.shields.io/badge/powered%20by-yodoo.systems-00a09d.png"/></a>
</p>
</div>
</section>
<section align="center" style="max-width: 896px; margin: 0 auto;">
<div>
<h2 style="color: #138c33">Maintainer</h2>
<a href="https://crnd.pro/"><img alt="CR&amp;D" src="https://crnd.pro/web/image/3699/300x140/crnd.png" /></a>
<p>Our web site: <a href="https://crnd.pro">https://crnd.pro</a>
</p>
<p>This module is maintained by the <a href="https://crnd.pro/">Center of Research &amp; Development</a>
company.
</p>
<p>
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
</p>
<p>
For any questions <a href="mailto:info@crnd.pro">contact us</a>.
</p>
</div>
</section>
table.generic_condition_definition td {
padding-right: 25px;
padding-right: 25px;
}
......@@ -3,7 +3,6 @@ odoo.define('web.widgets.fake_selection_widget', function (require) {
var core = require('web.core');
var Model = require('web.DataModel');
var session = require('web.session');
var field_selection = core.form_widget_registry.get('selection');
......
Generic Condition (Action rules integration)
============================================
.. |badge1| image:: https://img.shields.io/badge/pipeline-pass-brightgreen.png
:target: https://github.com/crnd-inc/generic-addons
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/powered%20by-yodoo.systems-00a09d.png
:target: https://yodoo.systems
.. |badge5| image:: https://img.shields.io/badge/maintainer-CR&D-purple.png
:target: https://crnd.pro/
|badge1| |badge2| |badge5|
This addon provides basic integration of Generic Conditions with
base_action_rule addon.
**Warning! Currently Odoo version 10.0 do not have active support. Main development is on the 11.0 and 12.0 versions.**
This module is part of the Bureaucrat ITSM project.
You can try it by the references below.
Launch your own ITSM system in 60 seconds:
''''''''''''''''''''''''''''''''''''''''''
Create your own `Bureaucrat ITSM <https://yodoo.systems/saas/template/itsm-16>`__ database
|badge3|
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/crnd-inc/generic-addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
Maintainer
''''''''''
.. image:: https://crnd.pro/web/image/3699/300x140/crnd.png
Our web site: https://crnd.pro/
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions `contact us <mailto:info@crnd.pro>`__.
# -*- coding: utf-8 -*-
{
"name": "Generic Condition - Action Rules",
"version": "10.0.0.0.1",
"author": "Center of Research & Development",
"version": "10.0.0.0.2",
"author": "Center of Research and Development",
"website": "https://crnd.pro",
"license": "Other proprietary",
"license": "LGPL-3",
"summary": "Generic Conditions (Integration with Action Rules)",
'category': 'Technical Settings',
'depends': [
......@@ -17,6 +17,7 @@
'data': [
'views/base_action_rule_view.xml',
],
'images': ['static/description/banner.png'],
'installable': True,
'auto_install': True,
}
<section style="max-width: 896px; margin: 0 auto;">
<div align="center">
<h1 style="color:#875A7B;">Generic Condition (Action rules integration)</h1>
</div>
<div align="center">
<p><a href="https://github.com/crnd-inc/generic-addons"><img alt="pipeline-pass" src="https://img.shields.io/badge/pipeline-pass-brightgreen.png" /></a> <a href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a href="https://crnd.pro/"><img alt="CR&amp;D" src="https://img.shields.io/badge/maintainer-CR&amp;D-purple.png" /></a></p>
<p><br></p>
</div>
</section>
<section style="margin: 0 auto; max-width: 896px;">
<div>
<p>This addon provides basic integration of Generic Conditions with
base_action_rule addon.</p>
</div>
<p><b>Warning! Currently Odoo version 10.0 do not have active support. Main development is on the 11.0 and 12.0 versions.</b></p>
</section>
<section style="max-width: 896px; margin: 0 auto;">
<p>This module is part of the Bureaucrat ITSM project. You can try it by the references below.</p>
</section>
<section style="max-width: 896px; margin: 0 auto;">
<div>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a href="https://github.com/crnd-inc/generic-addons/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported.
</p>
<p><br></p>
</div>
</section>
<section align="center" style="max-width: 896px; margin: 0 auto;">
<div>
<h2 style="color:#875A7B;">Launch your own ITSM system in 60 seconds:</h2>
<p>Create your own <a href="https://yodoo.systems/saas/template/itsm-16">Bureaucrat ITSM</a> database
<a href="https://yodoo.systems"><img alt="yodoo.systems" src="https://img.shields.io/badge/powered%20by-yodoo.systems-00a09d.png"/></a>
</p>
</div>
</section>
<section align="center" style="max-width: 896px; margin: 0 auto;">
<div>
<h2 style="color: #138c33">Maintainer</h2>
<a href="https://crnd.pro/"><img alt="CR&amp;D" src="https://crnd.pro/web/image/3699/300x140/crnd.png" /></a>
<p>Our web site: <a href="https://crnd.pro">https://crnd.pro</a>
</p>
<p>This module is maintained by the <a href="https://crnd.pro/">Center of Research &amp; Development</a>
company.
</p>
<p>
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
</p>
<p>
For any questions <a href="mailto:info@crnd.pro">contact us</a>.
</p>
</div>
</section>
\ No newline at end of file
Generic Conditions - Marketing
==============================
.. |badge1| image:: https://img.shields.io/badge/pipeline-pass-brightgreen.png
:target: https://github.com/crnd-inc/generic-addons
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/powered%20by-yodoo.systems-00a09d.png
:target: https://yodoo.systems
.. |badge5| image:: https://img.shields.io/badge/maintainer-CR&D-purple.png
:target: https://crnd.pro/
|badge1| |badge2| |badge5|
Integration of Generic Conditions with standard Odoo marketing campaigns
platform.
At this moment this addon just adds ability to use conditions
in marketing.campaign activities.
**Warning! Currently Odoo version 10.0 do not have active support. Main development is on the 11.0 and 12.0 versions.**
This module is part of the Bureaucrat ITSM project.
You can try it by the references below.
Launch your own ITSM system in 60 seconds:
''''''''''''''''''''''''''''''''''''''''''
Create your own `Bureaucrat ITSM <https://yodoo.systems/saas/template/itsm-16>`__ database
|badge3|
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/crnd-inc/generic-addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
Maintainer
''''''''''
.. image:: https://crnd.pro/web/image/3699/300x140/crnd.png
Our web site: https://crnd.pro/
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions `contact us <mailto:info@crnd.pro>`__.
# -*- coding: utf-8 -*-
{
"name": "Generic Condition - Marketing",
"version": "10.0.0.0.1",
"author": "Center of Res