Commit 71b7e1bc authored by Dmytro Katyukha's avatar Dmytro Katyukha
Browse files

Merge branch '9.0-docs' into '9.0'

updated docs

See merge request crnd/generic-addons!53
parents 219f7056 40a1b8d3
image: 10.100.98.41:5000/maao-docker/maao-simple:maao-9.0
variables:
SERIES_BRANCH: '9.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
cache:
paths:
- "$HOME/.cache/pip"
stages:
- static-test
- test
- translation
build_env:
stage: static-test
script:
- pwd
- whoami
- python --version
- odoo-helper --version
- odoo-helper status --tools-versions --ci-tools-versions
flake8:
stage: static-test
script:
- odoo-helper test flake8 .
pylint:
stage: static-test
script:
- odoo-helper test pylint .
bandit:
stage: static-test
before_script:
- odoo-helper pip install bandit
script:
- odoo-helper exec bandit -r .
tests:
stage: test
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer test --coverage --create-test-db -d .
- 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:
stage: test
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 .)
- 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)
script:
- odoo-helper --use-unbuffer test --coverage -d .
- odoo-helper exec coverage report --fail-under=90
coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\%)/'
only:
- /^9.0-.*$/ # only branches that started with '9.0-'
translation_rate_ua:
stage: translation
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer tr rate --lang uk_UA --min-total-rate 70 $(odoo-helper addons list .)
coverage: '/^TOTAL\s+\|\s+\d+\s+\|\s+\d+\s+|\s+(\d+\.\d+)/'
translation_rate_ru:
stage: translation
services:
- 10.100.98.41:5000/maao-docker/maao-ci-postgres
before_script:
- odoo-helper link .
script:
- odoo-helper --use-unbuffer tr rate --lang ru_RU $(odoo-helper addons list .)
coverage: '/^TOTAL\s+\|\s+\d+\s+\|\s+\d+\s+|\s+(\d+\.\d+)/'
Generic Conditions
==================
Generic Condition
=================
.. |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 9.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": "9.0.0.0.1",
"author": "Center of Research & Development",
"version": "9.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 9.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>
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 9.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": "9.0.0.0.1",
"author": "Center of Research & Development",
"version": "9.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 9.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 9.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": "9.0.0.0.1",
"author": "Center of Research & Development",
"version": "9.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 marketing campaigns)",
'category': 'Marketing',
'depends': [
......@@ -19,6 +19,7 @@
'views/marketing_campaign_view.xml',
# 'wizard/test_condition_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 Conditions Marketing</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>Integration of Generic Conditions with standard Odoo marketing campaigns platform.</p>
<p>At this moment this addon just adds ability to use conditions
in marketing.campaign activities.</p>
<p><b>Warning! Currently Odoo version 9.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>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 Condition - Tests
=========================
.. |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|
Test suit for generic condition addon.
This addon just defines simple model, that is used inside tests.
***So you do not need to install this addon***
**Warning! Currently Odoo version 9.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.