### Install Odoo Discuss Push-to-Talk Extension Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/mail/push-to-talk-extension/README.md Instructions for installing the Push-to-Talk extension by loading it unpacked in the Chrome extensions panel. ```English 1. Go to the chrome extension panel: `chrome://extensions/`. 2. Click on `Load unpacked`. 3. Select the `push-to-talk-extension` folder. 4. Your extension is active! ``` -------------------------------- ### Inline Editing Example Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/website/README.md Demonstrates the 'edit inline' approach where content can be modified directly on the webpage without needing a separate backend interface. ```HTML

Want to change the price of a product? or put it in bold? Want to change a blog title?

Just click and change. What you see is what you get. Really.

``` -------------------------------- ### mediasoup-client Library Information Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/mail/static/lib/odoo_sfu/odoo_sfu.licenses.txt Provides details about the mediasoup-client JavaScript library, including its version, license, and repository. ```plaintext Name: mediasoup-client Version: 3.7.0 License: ISC Private: false Description: mediasoup client side JavaScript library Repository: https://github.com/versatica/mediasoup-client.git Homepage: https://mediasoup.org ``` -------------------------------- ### PayPal Payments Standard API Reference Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/payment_paypal/README.md Details the PayPal Payments Standard API for form-based redirection flow integration. This includes information on basic form elements and integration guides. ```APIDOC PayPal Payments Standard: Integration Guide: https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/formbasics/ Flow: Generic payment with redirection flow via form submission. Features: - Payment with redirection flow - Webhook notifications Module History: - v17.0: Removed support for customer fees. - v16.2: Removed 'Merchant Account ID' and 'Use IPN' fields. - v16.1: Customer fees converted to payment transaction currency. - v15.2: Changed webhook verification error from Validation to HTTP 404 Forbidden. Testing: - Use a separate sandbox account: https://www.sandbox.paypal.com/myaccount/ - Sandbox documentation: https://developer.paypal.com/tools/sandbox/ ``` -------------------------------- ### Ogone API Integration Details Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/payment_ogone/README.md This section details the APIs used by the Ogone module for payment processing. It includes links to the Hosted Payment Page and Direct Link API documentation, explaining their roles in the payment flow and tokenization. ```APIDOC Hosted Payment Page API: URL: https://support.legacy.worldline-solutions.com/integration-solutions/integrations/hosted-payment-page?com.dotmarketing.htmlpage.language=1&skiprules=true&com.dotmarketing.htmlpage.language=1&skiprules=true Description: Used for the generic payment with redirection flow based on form submission. Direct Link API: URL: https://support.legacy.worldline-solutions.com/integration-solutions/integrations/directlink?com.dotmarketing.htmlpage.language=1&skiprules=true&com.dotmarketing.htmlpage.language=1&skiprules=true Description: Used for token payments. ``` -------------------------------- ### AsiaPay API Reference (Client Post Through Browser v3.67) Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/payment_asiapay/README.md This section provides details on the AsiaPay Client Post Through Browser API, version 3.67, which is used for payment redirection flows. The full integration guide and API reference are available via the provided link. ```APIDOC API: Client Post Through Browser version 3.67 Integration Guide: https://www.paydollar.com/pdf/op/enpdintguide.pdf ``` -------------------------------- ### Select2 Basic Usage Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/web/static/lib/select2/README.md Demonstrates how to initialize Select2 on a select element. This is the fundamental step to enable Select2's features. ```javascript $("#your-select-element").select2(); ``` -------------------------------- ### Odoo Website Builder Features Overview Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/website/README.md This section provides a general overview of the Odoo Website Builder's capabilities, highlighting its ease of use, customization options, and integrated business features. ```APIDOC OdooWebsiteBuilder: Features: - Inline Editing: Allows direct content modification on the page. - Enterprise-Ready: Integrates e-commerce, events, blogs, jobs, etc. - Responsive Design: Ensures mobile-friendly experience across devices. - SEO Tools: Includes keyword suggestions, sitemap generation, and analytics integration. - Multi-Language Support: Facilitates website translation and propagation. - Designer-Friendly Templates: Uses clean HTML and Bootstrap CSS for easy customization. - Fluid Grid Layouting: Based on a responsive 12-column grid system. - Professional Themes: Offers pre-defined themes and custom theme design. Integrations: - e-Commerce: Product promotion, online sales, shopping experience optimization. - Blog: Content creation for news, visitor engagement, and customer loyalty. - Online Events: Scheduling, promotion, and sales for conferences, webinars, etc. ``` -------------------------------- ### Odoo Editor Options - JavaScript Object Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/website/doc/website.snippet.rst Defines the structure and methods of a JavaScript object used for customizing HTML content within the Odoo website editor. It outlines properties like $target, $el, and $overlay, and key methods such as start, onFocus, onBlur, and cleanForSave. ```javascript /* * Example JavaScript object for Odoo editor options */ var MyCustomOption = { // Properties this.$target: null, // The block HTML inserted inside the page this.$el: null, // The HTML li list of this options this.$overlay: null, // The HTML editor overlay // Methods _setActive: function() { /* highlight customize menu item */ }, start: function() { /* called when the editor is created on the DOM */ }, onFocus: function() { /* called when the user clicks inside the block */ }, onBlur: function() { /* called when the user clicks outside the block */ }, onClone: function() { /* called when the snippet is duplicate */ }, onRemove: function() { /* called when the snippet is removed */ }, onBuilt: function() { /* called just after a thumbnail is drag and dropped */ }, cleanForSave: function() { /* called just before to save the vue */ }, // Customize Methods Example check_class: function(type, className, $li) { /* toggle className on $target */ }, selectClass: function(type, className, $li) { /* manage class selection */ } }; ``` -------------------------------- ### ms Library Information Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/mail/static/lib/odoo_sfu/odoo_sfu.licenses.txt Information about the ms JavaScript library, a tiny millisecond conversion utility. ```plaintext Name: ms Version: 2.1.2 License: MIT Private: false Description: Tiny millisecond conversion utility Repository: undefined ``` -------------------------------- ### Fetch and Display IoT Box Logs Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/hw_posbox_homepage/views/logs.html This JavaScript code fetches logs from the Odoo IoT Box via an asynchronous request and updates the UI. It uses the `fetch` API to get data from '/hw_posbox_homepage/iot_logs' and then updates an element with the ID 'logs'. The logs are refreshed every second using `setInterval`. ```javascript async function getLogs() { const result = await fetch('/hw_posbox_homepage/iot_logs'); const data = await result.json(); document.getElementById('logs').innerText = data.logs; document.getElementById('logs').scrollTop = document.getElementById('logs').scrollHeight; } document.addEventListener("DOMContentLoaded", function(event) { setInterval(getLogs, 1000); }); ``` -------------------------------- ### Stripe API Reference Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/payment_stripe/README.md This section provides an overview of the Stripe API version used and key concepts for server-to-server communication, including payment intent creation and webhook handling. ```APIDOC Stripe API Version: 2019-05-16 Key Concepts: - Server-to-server API calls are made to appropriate API endpoints for backend operations like refunds or offline payments. - Follows the guide 'Collect payment details before creating an Intent' for deferred payment detail collection. - Preferred over 'Payment Element' when 'payment.transaction' object is not yet available. - Methods for creating Stripe objects (intents, customers) are defined on the 'payment.transaction' object. - Stripe Connect platform solution is used for quick onboarding. Webhook Notifications: - Responses are sent with the proper HTTP code. - Webhook notifications accept new events based on PaymentIntent and SetupIntent objects to handle async payment status updates. - An HTTP 404 'Forbidden' error is raised instead of a Validation error when webhook notification authenticity cannot be verified. ``` -------------------------------- ### Fluid Grid Layouting Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/website/README.md Illustrates the concept of fluid grid layouting using Bootstrap's responsive grid system, allowing building blocks to be moved and scaled within a 12-column structure. ```HTML
Content for block 1
Content for block 2
``` -------------------------------- ### Select2 Integrations Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/web/static/lib/select2/README.md Lists various integrations available for Select2 with different web frameworks and technologies, facilitating its use in diverse projects. ```html ``` -------------------------------- ### Odoo Blog - Writing and Design Source: https://github.com/marianosbvdma/odoov17/blob/17.0/addons/website_blog/README.md Describes the 'Building Blocks' feature for creating visually appealing blog posts with drag-and-drop functionality. It emphasizes an 'edit inline' approach for ease of use, allowing users to create professional-looking content without design expertise. ```HTML
Blog Image

Blog Post Title

Content of the blog post...

Call to Action
```