Skip to content

Commit

Permalink
Merge pull request #1 from yelizariev/10.0-docs
Browse files Browse the repository at this point in the history
📖 basic docs
  • Loading branch information
itpp-bot committed Aug 12, 2019
2 parents 09e1a73 + 469b69e commit ae271d0
Show file tree
Hide file tree
Showing 10 changed files with 192 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base_automation_webhook/__manifest__.py
Expand Up @@ -6,16 +6,16 @@
"summary": """Send webhook on Odoo events: when record is created/updated/deleted""",
"category": "Extra Tools",
# "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=10.0",
"images": [],
"images": ['images/base_automation_webhook.png'],
"version": "10.0.1.0.0",
"application": False,

"author": "IT-Projects LLC, Ivan Yelizariev",
"support": "apps@it-projects.info",
"website": "https://apps.odoo.com/apps/modules/10.0/base_automation_webhook/",
"license": "LGPL-3",
# "price": 9.00,
# "currency": "EUR",
"price": 60.00,
"currency": "EUR",

"depends": [
"base_action_rule",
Expand Down
9 changes: 9 additions & 0 deletions base_automation_webhook/doc/index.rst
Expand Up @@ -16,10 +16,12 @@ Configuration
* **Name**: *Test*
* **Model**: *Contact*
* **Trigger Condition**: *On Creation*
* **Filter**: Optional. You can specify a condition that must be satisfied before executing the Rule.
* **Server actions to run**:

* **Action Name**: *Test Action*
* **Action To Do**: *Execute Python Code*
* **Condition**: Optional. You can specify a condition that must be satisfied before executing the Action.
* **Python Code**: ```
WEBHOOK="https://PASTE-YOUR-WEBHOOK-URL"
data = {
Expand All @@ -31,6 +33,13 @@ requests.post(WEBHOOK, data)

* Save everything

Handling field changing
-----------------------

If you need to call a webhook on updating specific field, do as following:
* set Rule's**Filter** to a domain like ``FIELD is not equal to TARGET_VALUE``
* set Action's **Condition** to a domain like ``FIELD is equal to TARGET_VALUE``

Usage
=====

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
180 changes: 180 additions & 0 deletions base_automation_webhook/static/description/index.html
@@ -0,0 +1,180 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<h2 class="oe_slogan" style="color:#875A7B;">Outgoing Webhooks</h2>
<h3 class="oe_slogan">This simple module opens you a door for infinite integrations</h3>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span6">
<p class="oe_mt32">
Configure notifications in Telegram on important updates in Odoo. <b>No extra module is needed!</b> Check out the detailed instruction:
<ul>
<li><a href="https://odoo-sync.sh/odoo2x/odoo2telegram/documentation.html">Notify in telegram when new task assigned to me is created</a></li>
</ul>
</p>
</div>
<div class="oe_span6">
<div class="oe_row_img oe_centered" align="center">
<img class="oe_demo oe_picture oe_screenshot" src="telegram.jpg"/>
</div>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span6">
<div class="oe_row_img oe_centered" align="center">
<img class="oe_demo oe_picture oe_screenshot" src="github.jpg"/>
</div>
</div>
<div class="oe_span6">
<p class="oe_mt32">
Configure GitHub integration. <b>No extra module is needed!</b> Check out the detailed instruction:
<ul>
<li><a href="https://odoo-sync.sh/odoo2x/odoo2github/documentation.html">Create an github issue when the problem is confirmed in Odoo</a></li>
</ul>
</p>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span6">
<p class="oe_mt32">
IFTTT is a hub for <a href="https://ifttt.com/services">thousands services and IoT devices</a>. With a special <a href="https://ifttt.com/maker_webhooks">Webhooks service</a>, you can connect Odoo with IFTTT. <b>No extra module is needed!</b> Check out the detailed instruction:
<ul>
<li><a href="https://odoo-sync.sh/odoo2x/odoo2android-push-via-ifttt/documentation.html">Send PUSH notification when an eCommerce product becomes out of stock</a></li>
</ul>
</p>
</div>
<div class="oe_span6">
<div class="oe_row_img oe_centered" align="center">
<img class="oe_demo oe_picture oe_screenshot" src="ifttt.jpg"/>
</div>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span6">
<div class="oe_row_img oe_centered" align="center">
<img class="oe_demo oe_picture oe_screenshot" src="aws.png"/>
</div>
</div>
<div class="oe_span6">
<p class="oe_mt32">
AWS is much more than just about cloud storage and servers. With AWS you can
<a href="https://aws.amazon.com/translate"> translate texts</a>;
<a href="https://aws.amazon.com/sns"> send SMS</a>;
<a href="https://aws.amazon.com/comprehend"> analyze text and documents</a>;
<a href="https://aws.amazon.com/robomaker"> develop, test, and deploy Robots</a>;
<a href="https://aws.amazon.com/forecast"> predict the future</a>;
and even <a href="https://aws.amazon.com/ground-station/">control your Satellites</a>!
All this can now be connected to Odoo <b>without extra modules!</b> Check out the detailed instruction:
<ul>
<li><a href="https://odoo-sync.sh/odoo2x/odoo2sms-via-lambda/documentation.html">Send SMS to a customer on receiving request</a></li>
</ul>
</p>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_span6">
<p class="oe_mt32">
Need more? Anything with webhook support can be connected to Odoo <b>just with this module</b>!
</p>
</div>
<div class="oe_span6">
<div class="oe_row_img oe_centered" align="center">
<img class="oe_demo oe_picture oe_screenshot" src="dots.jpg"/>
</div>
</div>
</div>
</section>

<section class="oe_container">
<div class="oe_row">
<div class="oe_span12">

<div class="alert alert-success oe_mt32 oe_centered" align="center" style="padding:1.3em 0.6em; font-size: 150%;">
<b>Buy Once, Use Forever!</b>
</div>

</div>
</div>
</section>

<section class="oe_container">
<div class="oe_row">
<div class="oe_span12">

<div class="alert alert-warning oe_centered" align="center" style="padding:1.3em 0.6em; font-size: 150%;">
<b>Are you not a developer?</b> <br/>Send this page to your IT guys to evaluate the possibilities or tell us your concerns
</div>

</div>
</div>
</section>

<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span8">
<h2>Have a question?</h2>
<p class="oe_mt32">Contact us by <a href="mailto:apps@it-projects.info">email</a> or fill out <a href="https://www.it-projects.info/page/website.contactus " target="_blank">request form</a></p>
<ul>
<li><a href="mailto:apps@it-projects.info">apps@it-projects.info <i class="fa fa-envelope-o"></i></a></li>
<li><a href="https://www.it-projects.info/page/website.contactus " target="_blank">https://www.it-projects.info/page/website.contactus <i class="fa fa-list-alt"></i></a></li>
<li><a href="https://m.me/itprojectsllc" target="_blank">https://m.me/itprojectsllc <i class="fa fa-facebook-square"></i></a></li>
<li>skype@it-projects.info <i class="fa fa-skype"></i></li>
</ul>
</div>
<div class="oe_span4">
<div class="stamp" style="width:200px;">
<div style="margin-top: 15px;
position: relative;
font-family:'Vollkorn', serif;
font-size: 16px;
line-height: 25px;
text-transform: uppercase;
font-weight: bold;
color: #75526b;
border: 3px dashed #75526b;
float: left;
padding: 4px 12px;
-webkit-transform: rotate(8deg);
-o-transform: rotate(8deg);
-moz-transform: rotate(8deg);
-ms-transform: rotate(8deg);">
Tested on Odoo<br/>10.0 community
</div>
<div style="margin-top: 15px;
position: relative;
font-family:'Vollkorn', serif;
font-size: 16px;
line-height: 25px;
text-transform: uppercase;
font-weight: bold;
color: #75526b;
border: 3px dashed #75526b;
float: left;
padding: 4px 12px;
-webkit-transform: rotate(5deg);
-o-transform: rotate(5deg);
-moz-transform: rotate(5deg);
-ms-transform: rotate(5deg);">
Tested on Odoo<br/>10.0 enterprise
</div>
</div>
</div>
</div>
</section>

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ae271d0

Please sign in to comment.