Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions sale_purchase_inter_company/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
===============================================
Inter Company Module for Sale to Purchase Order
===============================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Fmulti--company-lightgray.png?logo=github
:target: https://github.com/OCA/multi-company/tree/18.0/sale_purchase_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-18-0/multi-company-18-0-sale_purchase_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=18.0
:alt: Try me on Runboat

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

This module is useful if there are multiple companies in the same Odoo
database and those companies sell goods or services among themselves. It
allows to create a purchase order in company B from a sale order in
company A.

Imagine you have company A and company B in the same Odoo database:

- Company A sale goods to company B.
- Company A will create a sale order with company B as customer.
- This module automate the creation of the purchase order in company B
with company A as supplier.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to: #. Go to the menu *Settings >
General Settings*. #. Go to the tab *Companies / Inter Company OCA
features*, in the group *Purchase/Sale*, check the option *Purchase from
sale*. #. If you check the option *Purchase Auto Validation* in the
configuration of company B, then when you validate a *Sale Order* in
company A with company B as customer, the *Purchase Order* will be
automatically validated in company B with company A as supplier.

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:%20sale_purchase_inter_company%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
-------

* Akretion

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

- \`Akretion
<`https://www.akretion.com\\>\\\` <https://www.akretion.com\>\`>`__:

- Chafique Delli <chafique.delli@akretion.com>
- Kévin Roche <kevin.roche@akretion.com>
- Guillaume Masson <guillaume.masson@akretion.com>

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.

This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/18.0/sale_purchase_inter_company>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions sale_purchase_inter_company/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions sale_purchase_inter_company/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2023 Chafique DELLI @ Akretion
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Inter Company Module for Sale to Purchase Order",
"summary": "Intercompany SO/PO rules",
"version": "18.0.1.0.0",
"category": "Sale Management",
"website": "https://github.com/OCA/multi-company",
"author": "Akretion, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["sale", "purchase", "account_invoice_inter_company"],
"data": ["views/res_config_view.xml"],
}
144 changes: 144 additions & 0 deletions sale_purchase_inter_company/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_sale_inter_company
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-08-04 15:47+0000\n"
"PO-Revision-Date: 2017-04-22 02:48+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_res_company
msgid "Companies"
msgstr "Unternehmen"

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_company__po_from_so
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_config_settings__po_from_so
msgid "Create Purchase Orders when selling to this company"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,help:sale_purchase_inter_company.field_res_company__po_from_so
#: model:ir.model.fields,help:sale_purchase_inter_company.field_res_config_settings__po_from_so
msgid ""
"Generate a Purchase Order when a Sale Order with this company as customer is "
"created.\n"
" The intercompany user must at least be Purchase User."
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_company__intercompany_purchase_user_id
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_config_settings__intercompany_purchase_user_id
msgid "Intercompany Purchase User"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_company__purchase_auto_validation
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_res_config_settings__purchase_auto_validation
msgid "Purchase Orders Auto Validation"
msgstr ""

#. module: sale_purchase_inter_company
#: model_terms:ir.ui.view,arch_db:sale_purchase_inter_company.res_config_settings_view_form
msgid "Purchase from sale"
msgstr ""

#. module: sale_purchase_inter_company
#: model_terms:ir.ui.view,arch_db:sale_purchase_inter_company.res_config_settings_view_form
msgid "Sale/Purchase"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model,name:sale_purchase_inter_company.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_purchase_order__auto_sale_order_id
msgid "Source Sale Order"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,field_description:sale_purchase_inter_company.field_purchase_order_line__auto_sale_line_id
msgid "Source Sale Order Line"
msgstr ""

#. module: sale_purchase_inter_company
#. odoo-python
#: code:addons/sale_purchase_inter_company/models/account_move.py:0
#, python-format
msgid "This customer bill is related with: {}"
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,help:sale_purchase_inter_company.field_res_config_settings__intercompany_purchase_user_id
msgid ""
"User used to create the Purchase order arising from a sale order in another "
"company."
msgstr ""

#. module: sale_purchase_inter_company
#: model:ir.model.fields,help:sale_purchase_inter_company.field_res_company__purchase_auto_validation
#: model:ir.model.fields,help:sale_purchase_inter_company.field_res_config_settings__purchase_auto_validation
msgid ""
"When a Purchase Order is created by a multi company rule for this company, "
"it will automatically validate it."
msgstr ""

#. module: sale_purchase_inter_company
#. odoo-python
#: code:addons/sale_purchase_inter_company/models/sale_order.py:0
#, python-format
msgid "You can't cancel an order that is %s"
msgstr ""

#. module: sale_purchase_inter_company
#. odoo-python
#: code:addons/sale_purchase_inter_company/models/sale_order.py:0
#, python-format
msgid "You cannot create PO from SO because product '%s' is not intercompany"
msgstr ""

#. module: sale_purchase_inter_company
#. odoo-python
#: code:addons/sale_purchase_inter_company/models/sale_order.py:0
#, python-format
msgid ""
"You cannot create PO from SO because purchase price list currency is "
"different than sale price list currency."
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Rechnung"
Loading
Loading