-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] account_invoice_inter_company: pre-commit auto fixes
- Loading branch information
Showing
14 changed files
with
114 additions
and
80 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 |
---|---|---|
|
@@ -17,23 +17,27 @@ Inter Company Invoices | |
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmulti--company-lightgray.png?logo=github | ||
:target: https://github.com/OCA/multi-company/tree/16.0/account_invoice_inter_company | ||
:target: https://github.com/OCA/multi-company/tree/17.0/account_invoice_inter_company | ||
:alt: OCA/multi-company | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-account_invoice_inter_company | ||
:target: https://translation.odoo-community.org/projects/multi-company-17-0/multi-company-17-0-account_invoice_inter_company | ||
: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/multi-company&target_branch=16.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/multi-company&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module is usefull if there are multiple companies in the same Odoo database and those companies sell goods or services among themselves. | ||
It allow to create an invoice in company A from an invoice in company B. | ||
This module is usefull if there are multiple companies in the same Odoo | ||
database and those companies sell goods or services among themselves. It | ||
allow to create an invoice in company A from an invoice in company B. | ||
|
||
Imagine you have company A and company B in the same Odoo database. | ||
First scenario: company B create an invoice with company A as customer. The module will automate the generation of the supplier invoice in company A. | ||
Second scenario: company A create an invoice with company B as supplier. The module will automate the generation of the customer invoice in company B. | ||
First scenario: company B create an invoice with company A as customer. | ||
The module will automate the generation of the supplier invoice in | ||
company A. Second scenario: company A create an invoice with company B | ||
as supplier. The module will automate the generation of the customer | ||
invoice in company B. | ||
|
||
**Table of contents** | ||
|
||
|
@@ -43,58 +47,68 @@ Second scenario: company A create an invoice with company B as supplier. The mod | |
Configuration | ||
============= | ||
|
||
To configure this module, you need to go to the menu *Settings > General Settings*, go to the tab *Companies / Inter Company OCA features* | ||
To configure this module, you need to go to the menu *Settings > General | ||
Settings*, go to the tab *Companies / Inter Company OCA features* | ||
|
||
You now have access to other checks *Common Product Catalog* and *Invoice Auto Validation*. | ||
You now have access to other checks *Common Product Catalog* and | ||
*Invoice Auto Validation*. | ||
|
||
To customize products sharing don't hesitate to override `_compute_share_product()` in `res.company` model. | ||
To customize products sharing don't hesitate to override | ||
\_compute_share_product() in res.company model. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* This module cannot be fully used in combination with `remove_odoo_entreprise` module. If you need both, uninstall `remove_odoo_entreprise`, complete settings with `account_invoice_inter_company` and then re-install `remove_odoo_entreprise`. | ||
* Product mapping: would be nice to have a matrix with the products on the left side and on the top row the companies. | ||
- This module cannot be fully used in combination with | ||
remove_odoo_entreprise module. If you need both, uninstall | ||
remove_odoo_entreprise, complete settings with | ||
account_invoice_inter_company and then re-install | ||
remove_odoo_entreprise. | ||
- Product mapping: would be nice to have a matrix with the products | ||
on the left side and on the top row the companies. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/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/multi-company/issues/new?body=module:%20account_invoice_inter_company%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/multi-company/issues/new?body=module:%20account_invoice_inter_company%0Aversion:%2017.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 | ||
~~~~~~~ | ||
------- | ||
|
||
* Odoo SA | ||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
------------ | ||
|
||
* Odoo S.A. (original module `inter_company_rules`) | ||
* Andrea Stirpe <[email protected]> | ||
* Adria Gil Sorribes <[email protected]> | ||
* Christopher Ormaza <[email protected]> | ||
* `Akretion <https://www.akretion.com>`: | ||
- Odoo S.A. (original module inter_company_rules) | ||
- Andrea Stirpe <[email protected]> | ||
- Adria Gil Sorribes <[email protected]> | ||
- Christopher Ormaza <[email protected]> | ||
- \`Akretion <https://www.akretion.com>\`: | ||
|
||
* Chafique Delli <[email protected]> | ||
* Alexis de Lattre <[email protected]> | ||
* David Beal <[email protected]> | ||
* `Tecnativa <https://www.tecnativa.com>`: | ||
- Chafique Delli <[email protected]> | ||
- Alexis de Lattre <[email protected]> | ||
- David Beal <[email protected]> | ||
|
||
* Jairo Llopis | ||
* David Vidal | ||
* Pedro M. Baeza | ||
* Isaac Gallart <[email protected]> | ||
- \`Tecnativa <https://www.tecnativa.com>\`: | ||
|
||
- Jairo Llopis | ||
- David Vidal | ||
- Pedro M. Baeza | ||
|
||
- Isaac Gallart <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
|
@@ -106,6 +120,6 @@ 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. | ||
|
||
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/16.0/account_invoice_inter_company>`_ project on GitHub. | ||
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/17.0/account_invoice_inter_company>`_ 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
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
|
||
class ResCompany(models.Model): | ||
|
||
_inherit = "res.company" | ||
|
||
company_share_product = fields.Boolean( | ||
|
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
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,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
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,9 @@ | ||
To configure this module, you need to go to the menu *Settings \> | ||
General Settings*, go to the tab *Companies / Inter Company OCA | ||
features* | ||
|
||
You now have access to other checks *Common Product Catalog* and | ||
*Invoice Auto Validation*. | ||
|
||
To customize products sharing don't hesitate to override | ||
\_compute_share_product() in res.company model. |
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
- Odoo S.A. (original module inter_company_rules) | ||
- Andrea Stirpe \<<[email protected]>\> | ||
- Adria Gil Sorribes \<<[email protected]>\> | ||
- Christopher Ormaza \<<[email protected]>\> | ||
- \`Akretion \<<https://www.akretion.com>\>\`: | ||
- Chafique Delli \<<[email protected]>\> | ||
- Alexis de Lattre \<<[email protected]>\> | ||
- David Beal \<<[email protected]>\> | ||
- \`Tecnativa \<<https://www.tecnativa.com>\>\`: | ||
- Jairo Llopis | ||
- David Vidal | ||
- Pedro M. Baeza | ||
- Isaac Gallart \<<[email protected]>\> |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
This module is usefull if there are multiple companies in the same Odoo | ||
database and those companies sell goods or services among themselves. It | ||
allow to create an invoice in company A from an invoice in company B. | ||
|
||
Imagine you have company A and company B in the same Odoo database. | ||
First scenario: company B create an invoice with company A as customer. | ||
The module will automate the generation of the supplier invoice in | ||
company A. Second scenario: company A create an invoice with company B | ||
as supplier. The module will automate the generation of the customer | ||
invoice in company B. |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
> - This module cannot be fully used in combination with | ||
> remove_odoo_entreprise module. If you need both, uninstall | ||
> remove_odoo_entreprise, complete settings with | ||
> account_invoice_inter_company and then re-install | ||
> remove_odoo_entreprise. | ||
> - Product mapping: would be nice to have a matrix with the products on | ||
> the left side and on the top row the companies. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.