-
-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] base_upflow: module to generate upflow.io payloads
--------- Co-authored-by: Matthias BARKAT <[email protected]>
- Loading branch information
Showing
41 changed files
with
2,993 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
============== | ||
Base Upflow.io | ||
============== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:bd21d053b40a9912cbd5c2ebd07de0691a56ce1d8f3d68a9bb47ce3e7451c062 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/licence-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%2Fcredit--control-lightgray.png?logo=github | ||
:target: https://github.com/OCA/credit-control/tree/14.0/base_upflow | ||
:alt: OCA/credit-control | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/credit-control-14-0/credit-control-14-0-base_upflow | ||
: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/credit-control&target_branch=14.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
|
||
This modules provide methods to generate `upflow.io <https://upflow.docs.apiary.io/>`_ | ||
HTTP API endpoint payloads without any method to communicate with the API. | ||
|
||
This module is used by `edi_upflow`, we decide to separate payloads generation logic | ||
from the edi framework in use. | ||
|
||
.. 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: | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* considering `out_receipt` account.move type (probably to be managed likes `out_refund`)? | ||
* test with multi-currency for a given company | ||
* improve the way to handler custom fields to be able to configure them | ||
and automatically generate the payload | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/credit-control/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/credit-control/issues/new?body=module:%20base_upflow%0Aversion:%2014.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 | ||
~~~~~~~ | ||
|
||
* Pierre Verkest | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Foodles <https://https://www.foodles.com>`_ | ||
|
||
* Pierre Verkest <[email protected]> | ||
* Matthias BARKAT <[email protected]> | ||
|
||
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-petrus-v| image:: https://github.com/petrus-v.png?size=40px | ||
:target: https://github.com/petrus-v | ||
:alt: petrus-v | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-petrus-v| | ||
|
||
This module is part of the `OCA/credit-control <https://github.com/OCA/credit-control/tree/14.0/base_upflow>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2023 Foodles (https://www.foodles.com/) | ||
# @author Pierre Verkest <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "Base Upflow.io", | ||
"summary": "Base module to generate Upflow.io API payloads format from odoo object", | ||
"version": "14.0.1.1.0", | ||
"development_status": "Alpha", | ||
"category": "EDI", | ||
"website": "https://github.com/OCA/credit-control", | ||
"author": "Pierre Verkest, Odoo Community Association (OCA)", | ||
"maintainers": ["petrus-v"], | ||
"license": "AGPL-3", | ||
"application": True, | ||
"depends": [ | ||
"contacts", | ||
"account", | ||
], | ||
# I'm not sure for test depencies we shoud declared them here | ||
"external_dependencies": {"python": ["jsonschema"]}, | ||
"data": [ | ||
"views/account_journal.xml", | ||
"views/account_move.xml", | ||
"views/res_partner.xml", | ||
"views/menu.xml", | ||
"datas/res_partner_position.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
"demo": [], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record | ||
id="upflow_res_partner_upflow_position_accounting" | ||
model="res.partner.upflow.position" | ||
> | ||
<field name="name">Accounting</field> | ||
<field name="code">ACCOUNTING</field> | ||
</record> | ||
<record | ||
id="upflow_res_partner_upflow_position_payer" | ||
model="res.partner.upflow.position" | ||
> | ||
<field name="name">Payer</field> | ||
<field name="code">PAYER</field> | ||
</record> | ||
<record | ||
id="upflow_res_partner_upflow_position_purchaser" | ||
model="res.partner.upflow.position" | ||
> | ||
<field name="name">Purchaser</field> | ||
<field name="code">PURCHASER</field> | ||
</record> | ||
<record | ||
id="upflow_res_partner_upflow_position_sales" | ||
model="res.partner.upflow.position" | ||
> | ||
<field name="name">Sales</field> | ||
<field name="code">SALES</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.