Skip to content

Commit

Permalink
Merge commit 'refs/pull/2253/head' of https://github.com/oca/sale-wor…
Browse files Browse the repository at this point in the history
…kflow into 16.0-1023
  • Loading branch information
docker-odoo committed Jan 6, 2023
2 parents b521711 + a164108 commit c58de6d
Show file tree
Hide file tree
Showing 107 changed files with 18,889 additions and 0 deletions.
145 changes: 145 additions & 0 deletions sale_order_type/README.rst
@@ -0,0 +1,145 @@
===============
Sale Order Type
===============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/15.0/sale_order_type
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_order_type
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/15.0
:alt: Try me on Runbot

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

This module adds a typology for the sales orders. In each different type, you
can define, invoicing and refunding journal, a warehouse, a stock route,
a sequence, the shipping policy, the invoicing policy, a payment term,
a pricelist and an incoterm.

You can see sale types as lines of business.

You are able to select a sales order type by partner so that when you add a
partner to a sales order it will get the related info to it.

**Table of contents**

.. contents::
:local:

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

To configure Sale Order Types you need to:

#. Go to **Sales > Configuration > Sales Orders Types**
#. Create a new sale order type with all the settings you want

Usage
=====

#. Go to **Sales > Sales Orders** and create a new sale order. Select the new
type you have created before and all settings will be propagated.
#. You can also define a type for a particular partner if you go to *Sales &
Purchases* and set a sale order type.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_type%0Aversion:%2015.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
~~~~~~~

* Grupo Vermon
* AvanzOSC
* Tecnativa
* Agile Business Group
* Niboo

Contributors
~~~~~~~~~~~~

* `Vermon <http://www.grupovermon.com>`_

* Carlos Sánchez Cifuentes <csanchez@grupovermon.com>

* `AvanzOsc <http://avanzosc.es>`_

* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
* Ana Juaristi <anajuaristi@avanzosc.es>
* Daniel Campos <danielcampos@avanzosc.es>
* Ainara Galdona <ainaragaldona@avanzosc.es>

* `Agile Business Group <https://www.agilebg.com>`_

* Lorenzo Battistini <lorenzo.battistini@agilebg.com>

* `Niboo <https://www.niboo.be/>`_

* Samuel Lefever <sam@niboo.be>
* Pierre Faniel <pierre@niboo.be>

* `Tecnativa <https://www.tecnativa.com>`_

* Pedro M. Baeza
* David Vidal
* Carlos Dauden
* Sergio Teruel

* `Pesol <https://www.pesol.es>`_

* Angel Moya Pardo <angel.moya@pesol.es>
* Antonio J Rubio Lorente <antonio.rubio@pesol.es>

* Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>

* `Druidoo <https://www.druidoo.io>`_

* Iván Todorovich <ivan.todorovich@druidoo.io>

* `GSLab.it <https://www.gslab.it>`_

* Giovanni Serra <giovanni@gslab.it>

* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>

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

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/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_order_type>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions sale_order_type/__init__.py
@@ -0,0 +1,5 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import reports
from . import wizards
35 changes: 35 additions & 0 deletions sale_order_type/__manifest__.py
@@ -0,0 +1,35 @@
# Copyright 2015 Carlos Sánchez Cifuentes <csanchez@grupovermon.com>
# Copyright 2015-2016 Oihane Crucelaegui <oihane@avanzosc.com>
# Copyright 2015-2020 Tecnativa - Pedro M. Baeza
# Copyright 2016 Lorenzo Battistini
# Copyright 2016 Carlos Dauden <carlos.dauden@tecnativa.com>
# Copyright 2018 David Vidal <david.vidal@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Sale Order Type",
"version": "16.0.1.0.0",
"category": "Sales Management",
"author": "Grupo Vermon,"
"AvanzOSC,"
"Tecnativa,"
"Agile Business Group,"
"Niboo,"
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"license": "AGPL-3",
"depends": ["sale_stock", "account", "sale_management"],
"demo": ["demo/sale_order_demo.xml"],
"data": [
"security/ir.model.access.csv",
"security/security.xml",
"views/sale_order_view.xml",
"views/sale_order_type_view.xml",
"views/account_move_views.xml",
"views/res_partner_view.xml",
"data/default_type.xml",
"reports/account_invoice_report_view.xml",
"reports/sale_report_view.xml",
],
"installable": True,
}
7 changes: 7 additions & 0 deletions sale_order_type/data/default_type.xml
@@ -0,0 +1,7 @@
<odoo noupdate="1">
<record id="normal_sale_type" model="sale.order.type">
<field name="name">Normal Order</field>
<field name="company_id" eval="False" />
<field name="sequence_id" ref="sale.seq_sale_order" />
</record>
</odoo>
26 changes: 26 additions & 0 deletions sale_order_type/demo/sale_order_demo.xml
@@ -0,0 +1,26 @@
<odoo noupdate="1">
<record id="sale.sale_order_1" model="sale.order">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_2">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_3">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_4">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_5">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_6">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_7">
<field name="type_id" ref="normal_sale_type" />
</record>
<record model="sale.order" id="sale.sale_order_8">
<field name="type_id" ref="normal_sale_type" />
</record>
</odoo>

0 comments on commit c58de6d

Please sign in to comment.