Metadata-Version: 2.1
Name: odoo-addon-currency_rate_update_TH_BOT
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo-addon-currency_rate_update==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Currency Rate Update - BOT
Home-page: https://github.com/OCA/l10n-thailand
License: AGPL-3
Author: Ecosoft, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 3 - Alpha
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

==========================
Currency Rate Update - BOT
==========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:7801073cf8aca59817e69533d9e7a483a15902834dd6a212b7d6bbc5abcd8605
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--thailand-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-thailand/tree/18.0/currency_rate_update_TH_BOT
    :alt: OCA/l10n-thailand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-thailand-18-0/l10n-thailand-18-0-currency_rate_update_TH_BOT
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-thailand&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds `bot.or.th <https://bot.or.th/>`__ currency exchange
rates provider.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

Configuration
=============

To enable scheduled currency rates update:

1. Go to **Invoicing > Configuration > Settings**
2. Ensure **Automatic Currency Rates (OCA)** is checked

To configure currency rates providers:

1. Go to **Invoicing > Configuration > Currency Rates Providers**
2. Create and configure one or more providers

To configure bot.or.th currency rates provider credentials

Follow the steps below to obtain the API token from **BOT** (bot.or.th)
and configure it in Odoo:

1. | **Login / Sign Up**
   | Visit the following URL to log in or sign up for a new account:
   | `BOT API Login / Sign
     Up <https://apiportal.bot.or.th/bot/public/user/login>`__

2. **Create New Apps** \| After logging in, navigate to **Apps > Create
   New App** \| Fill in the required details for your application, such
   as title and description. when done, you will have client secret then
   verify Client Secret with secret key

3. | **Access API Products**
   | After logging in, go to **API Products**. Select **Exchange Rates
     (2.0.1)** from the available products.
   | Alternatively, you can access the Exchange Rates product directly
     via this link:
   | `Exchange Rates API
     Product <https://apiportal.bot.or.th/bot/public/node/504>`__

4. | **Subscribe to the Exchange Rates API**
   | Click on **Subscribe** to start the subscription process. Follow
     the on-screen instructions until you receive your API token.

5. | **Copy the API Token**
   | Once the subscription is complete, you will be provided with an API
     token. **Copy the token** to use in the next step.

6. **Configure Odoo with the BOT Token**

   - In Odoo, Go to *Invoicing > Configuration > Settings*
   - Find the **BOT Provider** section under the **Currencies**
     settings.
   - Paste the copied API token into the **Client ID** field.

7. | **Save the Settings**
   | After pasting the token, save the changes in Odoo. Your system will
     now be connected to the BOT API for currency rate updates.

Usage
=====

To update historical currency rates:

1. Go to **Invoicing > Configuration > Currency Rates Providers**
2. Select specific providers
3. Launch **Actions > Update Rates Wizard**
4. Configure date interval and click **Update**

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-thailand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-thailand/issues/new?body=module:%20currency_rate_update_TH_BOT%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Ecosoft

Contributors
------------

- `Ecosoft <http://ecosoft.co.th>`__:

  - Pimolnat Suntian <pimolnats@ecosoft.co.th>
  - Saran Lim. <saranl@ecosoft.co.th>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-ps-tubtim| image:: https://github.com/ps-tubtim.png?size=40px
    :target: https://github.com/ps-tubtim
    :alt: ps-tubtim

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ps-tubtim| 

This module is part of the `OCA/l10n-thailand <https://github.com/OCA/l10n-thailand/tree/18.0/currency_rate_update_TH_BOT>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
