Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
c98b6ba
[REN] sale_order_type: Make module name singular
pedrobaeza Jan 11, 2015
cbebafd
[FIX] Carga de datos demo corregida.
Jan 21, 2015
e83e43e
[MOD] Fixed installation error, closes #692
oihane Mar 9, 2015
24aed8d
[IMP] Expand AUTHORS
pedrobaeza Mar 25, 2015
89a54ea
[IMP] <sale_order_type> Added readme and default journal made False
oihane Jun 10, 2015
df0c46a
[FIX] sale_order_type: Some typos
pedrobaeza Aug 10, 2015
09f0d36
Slovene translations added
sysadminmatmoz Aug 20, 2015
98616cb
[FIX] sale_order_type: Fixed bug when picking is created from a purch…
Aug 27, 2015
78d7ce1
Bump version of sale_order_type
yvaucher Sep 3, 2015
1a81587
OCA Transbot updated translations from Transifex
oca-transbot Sep 13, 2015
a6b4e54
[FIX] <sale_order_type> Invoice state from type not applied in pickings
oihane Sep 18, 2015
b4022fd
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
db76e1c
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
fce5663
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
c399d95
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
9a0dc99
sale_order_type
nicomacr Sep 23, 2016
4022434
FIX sale_order_type: propagate sale type to invoice
eLBati Oct 4, 2016
6e3391f
FIX test case
nicomacr Oct 4, 2016
b583156
FIX onchange_type_id
nicomacr Nov 10, 2016
6c0fd2b
sale_order_type: Manager security overwrited with same Id in Salesman…
carlosdauden Nov 29, 2016
bdb5a89
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
fb92c90
sale_order_type: Remove required fields to make it more flexible
carlosdauden Dec 4, 2016
6357659
OCA Transbot updated translations from Transifex
oca-transbot Dec 24, 2016
0424b59
[MIG] sale_order_type: Migrated to 10.0
Jan 4, 2017
ebdba28
OCA Transbot updated translations from Transifex
oca-transbot Jul 15, 2017
b918bb3
[MIG] sale_order_type: Migration to 11.0
chienandalu Mar 21, 2018
cf367e4
[FIX] sale_order_type: avoid error on invoices if user is only acountant
cubells May 11, 2018
a5d2265
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
655fff3
[UPD] Update sale_order_type.pot
oca-travis Jun 21, 2018
c3483f9
[FIX] sale_order_type: Correct parent menu
pedrobaeza Jul 11, 2018
8acac4a
[UPD] Update sale_order_type.pot
oca-travis Jul 13, 2018
f9b2319
[IMP] sale_order_type: Use commercial partner sale type as fallback
pedrobaeza Jul 19, 2018
eb0095e
[IMP] sale_order_type: New README style
pedrobaeza Jul 19, 2018
dea8fe4
Translated using Weblate (Spanish)
chienandalu Oct 23, 2018
56a37d5
[IMP] sale_order_type: Use 'Sales Order' config submenu (#720)
ivantodorovich Oct 25, 2018
91f2052
MIG sale_order_type
angelmoya Feb 16, 2019
b9daead
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
99a677b
Translated using Weblate (Italian)
GSLabIt Nov 4, 2019
a904a96
[12.0] [FIX] sale_order_type: Missing warnings on inv onchange method
nicomacr Dec 9, 2019
d57eac5
[IMP] sale_order_type: black, isort
kongrattapong Mar 13, 2020
15e82e6
[MIG] sale_order_type: Migration to 13.0
kongrattapong Mar 13, 2020
cd10a44
[FIX+IMP] sale_order_type: New computed writable + migration fixes
pedrobaeza Apr 6, 2020
c9ff13a
[UPD] Update sale_order_type.pot
oca-travis Apr 6, 2020
9767657
Update translation files
oca-transbot Apr 9, 2020
37faa8c
[IMP] Added route field in sale type
ivantodorovich Apr 22, 2020
621f4ef
[IMP] Move sale_order_type to Sales group
ivantodorovich Apr 27, 2020
3af62a8
[IMP] sale_order_type: Add missing fields in view and use groups to h…
ivantodorovich May 14, 2020
0572e7d
[UPD] README.rst
OCA-git-bot Jun 29, 2020
590b935
[UPD] Update sale_order_type.pot
oca-travis Jun 29, 2020
59d2db5
Update translation files
oca-transbot Jun 29, 2020
588f158
[FIX] Properly display sale_type_id field in account.move form view.
ivantodorovich Jul 10, 2020
d56aab2
[IMP] Do not allow to edit sale_order_type on confirmed records
ivantodorovich Jul 10, 2020
1a268f3
sale_order_type 13.0.1.2.0
OCA-git-bot Jul 14, 2020
eefddc5
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
4ce9a3b
sale_order_type: add default value to fix breaking tests
grindtildeath Aug 5, 2020
3dd8d32
Update translation files
oca-transbot Aug 16, 2020
130ecdb
[13.0] [FIX] sale_order_type: Only show the type field in sales
nicomacr Sep 10, 2020
aac4bbd
sale_order_type 13.0.1.3.0
OCA-git-bot Sep 15, 2020
cba6628
Translated using Weblate (Catalan)
brendapaniagua Nov 6, 2020
ab04453
[FIX] sale_order_type: Proper no partner field
pedrobaeza Nov 9, 2020
c84d68e
[13.0] [FIX] sale_order_type: Not allowed to delete a sale order type…
nicomacr Nov 11, 2020
71c87e9
sale_order_type 13.0.1.3.2
OCA-git-bot Nov 12, 2020
d1e54c6
[FIX] sale_order_type: Copy type in sales orders
pedrobaeza Nov 25, 2020
6099bf1
[FIX+IMP] sale_order_type: Proper computed writable definition + fiel…
sergio-teruel Jul 16, 2020
79f24cc
[FIX] sale_order_type: Use record instead of self
sergio-teruel Sep 22, 2020
3aeea97
sale_order_type 13.0.1.3.4
OCA-git-bot Nov 26, 2020
4705ce1
[FIX] sale_order_type: Preserve type on move copy
pedrobaeza Nov 27, 2020
099a1de
[FIX] sale_order_type: Restrict order type search to current company
pedrobaeza Nov 30, 2020
fae46d8
[MIG] sale_order_type: Migration to 14.0
newtratip Jan 22, 2021
b39762f
[IMP] Attend code review comments
BT-cserra Jul 6, 2021
2612c94
[FIX] sale_order_type: Non reset the value when it's sitting by the u…
nicomacr Mar 26, 2021
b53726d
[12.0][IMP]sale_order_type: update quotation name when user change or…
chandni300 Mar 10, 2021
0f4da25
[12.0][FIX] sale_order_type, singleton error on write
GSLabIt Mar 19, 2021
c5530c9
[FIX] sale_order_type: changes ignored
chienandalu Apr 12, 2021
1c248ee
Delete the README so that it is regenerated
BT-cserra Jul 6, 2021
d6c211e
[14.0][FIX] sale_order_type: sequence depending on date ranges
BT-cserra Jul 12, 2021
2be9cc7
[UPD] Update sale_order_type.pot
oca-travis Jul 13, 2021
66273fb
[UPD] README.rst
OCA-git-bot Jul 13, 2021
d3f26bc
[14.0][FIX] sale_order_type: call to create from copy crashes
BT-cserra Jul 15, 2021
5ed8bd0
sale_order_type 14.0.1.0.1
OCA-git-bot Jul 19, 2021
270bd01
[IMP] sale_order_type: add sale order type to sales and invoice analy…
skeller1 Aug 8, 2021
e66fa1f
[UPD] Update sale_order_type.pot
oca-travis Sep 1, 2021
22c0ed0
sale_order_type 14.0.1.1.0
OCA-git-bot Sep 1, 2021
c24fd07
Update translation files
oca-transbot Sep 1, 2021
d8ead38
[FIX] sale_order_type: default value is 'New' not '/'
oihane Sep 14, 2021
df3c934
[UPD] Update sale_order_type.pot
oca-travis Sep 15, 2021
f523787
sale_order_type 14.0.1.1.1
OCA-git-bot Sep 15, 2021
4fa8d04
Update translation files
oca-transbot Sep 15, 2021
67af1ad
[IMP] sale_order_type: copy sale type of partners
hailangvn Dec 13, 2021
8a98f2e
[MIG] sale_order_type: Migration to 15.0
juanpgarza Jan 23, 2022
ff7afbd
[FIX] sale_order_type: Default value check company
Jan 31, 2022
9cb1219
[FIX] sale_order_type: Inconsistent data in multi-company environments
sergio-teruel Jan 21, 2022
5852421
[UPD] Update sale_order_type.pot
Feb 3, 2022
f98f646
[UPD] README.rst
OCA-git-bot Feb 3, 2022
0bcee05
[IMP] sale_order_type: Add analytic account and active fields to orde…
sergio-teruel Dec 23, 2021
af1d45b
[IMP] sale_order_type: Add quotation validity date field
sergio-teruel Feb 14, 2022
0c85786
Update translation files
oca-transbot Feb 16, 2022
16c2847
[UPD] Update sale_order_type.pot
Feb 16, 2022
d71860b
Update translation files
oca-transbot Feb 16, 2022
cf8ac43
Translated using Weblate (Catalan)
Noel000 Mar 21, 2022
636c851
Translated using Weblate (French (France))
yterrettaz May 24, 2022
e9adcd2
[UPD] README.rst
OCA-git-bot Jun 2, 2022
fe53a62
[UPD] README.rst
OCA-git-bot Jun 2, 2022
f881316
Translated using Weblate (French)
ClementChaumienneC2C Jul 5, 2022
9405a4e
[FIX] sale_order_type: default sequence
chienandalu Jun 30, 2022
d590b99
sale_order_type 15.0.2.0.1
OCA-git-bot Aug 22, 2022
7c3f665
[MIG] sale_order_type: Migration to 16.0
augusto-weiss Oct 27, 2022
5f4b680
[UPD] Update sale_order_type.pot
Jan 11, 2023
9879da6
[UPD] README.rst
OCA-git-bot Jan 11, 2023
ab8b84a
sale_order_type 16.0.1.0.1
OCA-git-bot Jan 11, 2023
27cc422
Update translation files
weblate Jan 11, 2023
414080a
Translated using Weblate (Turkish)
tate11 Feb 7, 2023
65734ad
Translated using Weblate (Croatian)
badbole Feb 15, 2023
b18ca58
Translated using Weblate (Croatian)
badbole Feb 15, 2023
e7b175e
Translated using Weblate (Italian)
mymage Mar 23, 2023
d1554e3
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
1253b9c
[16.0][FIX]sale: company_id singleton error
jok-adhoc May 2, 2023
4455a52
[FIX] sale_order_type: fix duplicate account code
pilarvargas-tecnativa May 12, 2023
54a614c
sale_order_type 16.0.1.0.2
OCA-git-bot May 15, 2023
8bbe2be
Translated using Weblate (Italian)
francesco-ooops May 18, 2023
53dc47e
[FIX] sale_order_type: Error when hr-expense is installed
igallart Jun 7, 2023
57f5f34
[FIX] sale_order_type: Default value not set for compute fields
sergio-teruel May 17, 2023
5823fe6
sale_order_type 16.0.1.0.3
OCA-git-bot Jun 8, 2023
0ec7476
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 10, 2023
2c373ce
[UPD] Update sale_order_type.pot
Jul 12, 2023
64db4c0
[UPD] README.rst
OCA-git-bot Jul 12, 2023
2790701
sale_order_type 16.0.1.0.4
OCA-git-bot Jul 12, 2023
e9cf4be
Update translation files
weblate Jul 12, 2023
5d2a0c2
Translated using Weblate (Spanish)
Ivorra78 Jul 25, 2023
9b31fc1
Translated using Weblate (Italian)
francesco-ooops Jul 25, 2023
171c6ec
Translated using Weblate (French)
Aug 11, 2023
91f169b
[IMP-FIX] sale_order_type: Remove onchange_type_id method
pilarvargas-tecnativa Aug 11, 2023
c52ebc3
[UPD] Update sale_order_type.pot
Aug 21, 2023
ae22868
sale_order_type 16.0.1.0.5
OCA-git-bot Aug 21, 2023
18a377e
sale_order_type 16.0.1.0.6
OCA-git-bot Aug 25, 2023
2e3c801
Update translation files
weblate Sep 2, 2023
5e13297
[UPD] README.rst
OCA-git-bot Sep 3, 2023
9685732
Translated using Weblate (Spanish)
Ivorra78 Sep 15, 2023
c1f7462
[IMP] sale_order_type: Add type field in search view
carlosdauden Oct 19, 2023
2786466
[UPD] Update sale_order_type.pot
Oct 20, 2023
0461d5c
[BOT] post-merge updates
OCA-git-bot Oct 20, 2023
3edd73f
Update translation files
weblate Oct 28, 2023
6d46c49
Translated using Weblate (Italian)
mymage Nov 8, 2023
873e7d6
[IMP] sale_order_type: pre-commit execution
matiasperalta1 Dec 6, 2023
a82faee
[17.0][MIG] sale_order_type: Migration to 17.0
matiasperalta1 Dec 6, 2023
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
150 changes: 150 additions & 0 deletions sale_order_type/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
===============
Sale Order Type
===============

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

.. |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/17.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-17-0/sale-workflow-17-0-sale_order_type
: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/sale-workflow&target_branch=17.0
:alt: Try me on Runboat

|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:

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

Usage
=====

1. 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.
2. 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 to smash it by providing a detailed and welcomed
`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**>`_.

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 <[email protected]>

- `AvanzOsc <http://avanzosc.es>`__

- Oihane Crucelaegui <[email protected]>
- Ana Juaristi <[email protected]>
- Daniel Campos <[email protected]>
- Ainara Galdona <[email protected]>

- `Agile Business Group <https://www.agilebg.com>`__

- Lorenzo Battistini <[email protected]>

- `Niboo <https://www.niboo.be/>`__

- Samuel Lefever <[email protected]>
- Pierre Faniel <[email protected]>

- `Tecnativa <https://www.tecnativa.com>`__

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

- `Pesol <https://www.pesol.es>`__

- Angel Moya Pardo <[email protected]>
- Antonio J Rubio Lorente <[email protected]>

- Rattapong Chokmasermkul <[email protected]>
- `Druidoo <https://www.druidoo.io>`__

- Iván Todorovich <[email protected]>

- `GSLab.it <https://www.gslab.it>`__

- Giovanni Serra <[email protected]>

- Tharathip Chaweewongphan <[email protected]>
- Isaac Gallart <[email protected]>

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/17.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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2015 Carlos Sánchez Cifuentes <[email protected]>
# Copyright 2015-2016 Oihane Crucelaegui <[email protected]>
# Copyright 2015-2020 Tecnativa - Pedro M. Baeza
# Copyright 2016 Lorenzo Battistini
# Copyright 2016 Carlos Dauden <[email protected]>
# Copyright 2018 David Vidal <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Sale Order Type",
"version": "17.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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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>
Loading