Skip to content

Commit 17af53e

Browse files
committed
Merge PR #2836 into 17.0
Signed-off-by pedrobaeza
2 parents 81c6a15 + a82faee commit 17af53e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+21106
-0
lines changed

sale_order_type/README.rst

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
===============
2+
Sale Order Type
3+
===============
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:ad25ff6379dfcd7badfb9875529d06bc791726e20b0f972cbf662674e9f556d5
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20+
:target: https://github.com/OCA/sale-workflow/tree/17.0/sale_order_type
21+
:alt: OCA/sale-workflow
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_type
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds a typology for the sales orders. In each different
32+
type, you can define, invoicing and refunding journal, a warehouse, a
33+
stock route, a sequence, the shipping policy, the invoicing policy, a
34+
payment term, a pricelist and an incoterm.
35+
36+
You can see sale types as lines of business.
37+
38+
You are able to select a sales order type by partner so that when you
39+
add a partner to a sales order it will get the related info to it.
40+
41+
**Table of contents**
42+
43+
.. contents::
44+
:local:
45+
46+
Configuration
47+
=============
48+
49+
To configure Sale Order Types you need to:
50+
51+
1. Go to **Sales > Configuration > Sales Orders Types**
52+
2. Create a new sale order type with all the settings you want
53+
54+
Usage
55+
=====
56+
57+
1. Go to **Sales > Sales Orders** and create a new sale order. Select
58+
the new type you have created before and all settings will be
59+
propagated.
60+
2. You can also define a type for a particular partner if you go to
61+
*Sales & Purchases* and set a sale order type.
62+
63+
Bug Tracker
64+
===========
65+
66+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
67+
In case of trouble, please check there if your issue has already been reported.
68+
If you spotted it first, help us to smash it by providing a detailed and welcomed
69+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_type%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
70+
71+
Do not contact contributors directly about support or help with technical issues.
72+
73+
Credits
74+
=======
75+
76+
Authors
77+
-------
78+
79+
* Grupo Vermon
80+
* AvanzOSC
81+
* Tecnativa
82+
* Agile Business Group
83+
* Niboo
84+
85+
Contributors
86+
------------
87+
88+
- `Vermon <http://www.grupovermon.com>`__
89+
90+
- Carlos Sánchez Cifuentes <[email protected]>
91+
92+
- `AvanzOsc <http://avanzosc.es>`__
93+
94+
- Oihane Crucelaegui <[email protected]>
95+
- Ana Juaristi <[email protected]>
96+
- Daniel Campos <[email protected]>
97+
- Ainara Galdona <[email protected]>
98+
99+
- `Agile Business Group <https://www.agilebg.com>`__
100+
101+
- Lorenzo Battistini <[email protected]>
102+
103+
- `Niboo <https://www.niboo.be/>`__
104+
105+
- Samuel Lefever <[email protected]>
106+
- Pierre Faniel <[email protected]>
107+
108+
- `Tecnativa <https://www.tecnativa.com>`__
109+
110+
- Pedro M. Baeza
111+
- David Vidal
112+
- Carlos Dauden
113+
- Sergio Teruel
114+
115+
- `Pesol <https://www.pesol.es>`__
116+
117+
- Angel Moya Pardo <[email protected]>
118+
- Antonio J Rubio Lorente <[email protected]>
119+
120+
- Rattapong Chokmasermkul <[email protected]>
121+
- `Druidoo <https://www.druidoo.io>`__
122+
123+
- Iván Todorovich <[email protected]>
124+
125+
- `GSLab.it <https://www.gslab.it>`__
126+
127+
- Giovanni Serra <[email protected]>
128+
129+
- Tharathip Chaweewongphan <[email protected]>
130+
- Isaac Gallart <[email protected]>
131+
132+
Do not contact contributors directly about support or help with
133+
technical issues.
134+
135+
Maintainers
136+
-----------
137+
138+
This module is maintained by the OCA.
139+
140+
.. image:: https://odoo-community.org/logo.png
141+
:alt: Odoo Community Association
142+
:target: https://odoo-community.org
143+
144+
OCA, or the Odoo Community Association, is a nonprofit organization whose
145+
mission is to support the collaborative development of Odoo features and
146+
promote its widespread use.
147+
148+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_order_type>`_ project on GitHub.
149+
150+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

sale_order_type/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
2+
3+
from . import models
4+
from . import reports
5+
from . import wizards

sale_order_type/__manifest__.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright 2015 Carlos Sánchez Cifuentes <[email protected]>
2+
# Copyright 2015-2016 Oihane Crucelaegui <[email protected]>
3+
# Copyright 2015-2020 Tecnativa - Pedro M. Baeza
4+
# Copyright 2016 Lorenzo Battistini
5+
# Copyright 2016 Carlos Dauden <[email protected]>
6+
# Copyright 2018 David Vidal <[email protected]>
7+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
8+
9+
{
10+
"name": "Sale Order Type",
11+
"version": "17.0.1.0.0",
12+
"category": "Sales Management",
13+
"author": "Grupo Vermon,"
14+
"AvanzOSC,"
15+
"Tecnativa,"
16+
"Agile Business Group,"
17+
"Niboo,"
18+
"Odoo Community Association (OCA)",
19+
"website": "https://github.com/OCA/sale-workflow",
20+
"license": "AGPL-3",
21+
"depends": ["sale_stock", "account", "sale_management"],
22+
"demo": ["demo/sale_order_demo.xml"],
23+
"data": [
24+
"security/ir.model.access.csv",
25+
"security/security.xml",
26+
"views/sale_order_view.xml",
27+
"views/sale_order_type_view.xml",
28+
"views/account_move_views.xml",
29+
"views/res_partner_view.xml",
30+
"data/default_type.xml",
31+
"reports/account_invoice_report_view.xml",
32+
"reports/sale_report_view.xml",
33+
],
34+
"installable": True,
35+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<odoo noupdate="1">
2+
<record id="normal_sale_type" model="sale.order.type">
3+
<field name="name">Normal Order</field>
4+
<field name="company_id" eval="False" />
5+
<field name="sequence_id" ref="sale.seq_sale_order" />
6+
</record>
7+
</odoo>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<odoo noupdate="1">
2+
<record id="sale.sale_order_1" model="sale.order">
3+
<field name="type_id" ref="normal_sale_type" />
4+
</record>
5+
<record model="sale.order" id="sale.sale_order_2">
6+
<field name="type_id" ref="normal_sale_type" />
7+
</record>
8+
<record model="sale.order" id="sale.sale_order_3">
9+
<field name="type_id" ref="normal_sale_type" />
10+
</record>
11+
<record model="sale.order" id="sale.sale_order_4">
12+
<field name="type_id" ref="normal_sale_type" />
13+
</record>
14+
<record model="sale.order" id="sale.sale_order_5">
15+
<field name="type_id" ref="normal_sale_type" />
16+
</record>
17+
<record model="sale.order" id="sale.sale_order_6">
18+
<field name="type_id" ref="normal_sale_type" />
19+
</record>
20+
<record model="sale.order" id="sale.sale_order_7">
21+
<field name="type_id" ref="normal_sale_type" />
22+
</record>
23+
<record model="sale.order" id="sale.sale_order_8">
24+
<field name="type_id" ref="normal_sale_type" />
25+
</record>
26+
</odoo>

0 commit comments

Comments
 (0)