Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] sale_order_type #1886

Merged
merged 93 commits into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
2e4b1b4
[REN] sale_order_type: Make module name singular
pedrobaeza Jan 11, 2015
f47ec58
[FIX] Carga de datos demo corregida.
Jan 21, 2015
4c99415
[MOD] Fixed installation error, closes #692
oihane Mar 9, 2015
8c40589
[IMP] Expand AUTHORS
pedrobaeza Mar 25, 2015
ec8f772
[IMP] <sale_order_type> Added readme and default journal made False
oihane Jun 10, 2015
8f1ef6c
[FIX] sale_order_type: Some typos
pedrobaeza Aug 10, 2015
8d9592c
Slovene translations added
sysadminmatmoz Aug 20, 2015
10be7f1
[FIX] sale_order_type: Fixed bug when picking is created from a purch…
Aug 27, 2015
3321122
Bump version of sale_order_type
yvaucher Sep 3, 2015
23764eb
OCA Transbot updated translations from Transifex
oca-transbot Sep 13, 2015
6fdbdcb
[FIX] <sale_order_type> Invoice state from type not applied in pickings
oihane Sep 18, 2015
481a1cb
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
200bc57
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
6f19f5b
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
a81e0da
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
993a75f
sale_order_type
nicomacr Sep 23, 2016
6218694
FIX sale_order_type: propagate sale type to invoice
eLBati Oct 4, 2016
9e7e2cb
FIX test case
nicomacr Oct 4, 2016
fe12d5c
FIX onchange_type_id
nicomacr Nov 10, 2016
64028b9
sale_order_type: Manager security overwrited with same Id in Salesman…
carlosdauden Nov 29, 2016
7392147
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
a6c41a9
sale_order_type: Remove required fields to make it more flexible
carlosdauden Dec 4, 2016
0bade00
OCA Transbot updated translations from Transifex
oca-transbot Dec 24, 2016
692cdb5
[MIG] sale_order_type: Migrated to 10.0
Jan 4, 2017
301749f
OCA Transbot updated translations from Transifex
oca-transbot Jul 15, 2017
8c171cf
[MIG] sale_order_type: Migration to 11.0
chienandalu Mar 21, 2018
18f3287
[FIX] sale_order_type: avoid error on invoices if user is only acountant
cubells May 11, 2018
3a81cbf
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
4bba4e6
[UPD] Update sale_order_type.pot
oca-travis Jun 21, 2018
8d12446
[FIX] sale_order_type: Correct parent menu
pedrobaeza Jul 11, 2018
904b0ec
[UPD] Update sale_order_type.pot
oca-travis Jul 13, 2018
0970bcb
[IMP] sale_order_type: Use commercial partner sale type as fallback
pedrobaeza Jul 19, 2018
ea6f9e3
[IMP] sale_order_type: New README style
pedrobaeza Jul 19, 2018
596062c
Translated using Weblate (Spanish)
chienandalu Oct 23, 2018
7b26f64
[IMP] sale_order_type: Use 'Sales Order' config submenu (#720)
ivantodorovich Oct 25, 2018
3e6221f
MIG sale_order_type
angelmoya Feb 16, 2019
72c3a6c
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
128ff08
Translated using Weblate (Italian)
GSLabIt Nov 4, 2019
c421bf2
[12.0] [FIX] sale_order_type: Missing warnings on inv onchange method
nicomacr Dec 9, 2019
6287ac0
[IMP] sale_order_type: black, isort
kongrattapong Mar 13, 2020
1950553
[MIG] sale_order_type: Migration to 13.0
kongrattapong Mar 13, 2020
b1a2690
[FIX+IMP] sale_order_type: New computed writable + migration fixes
pedrobaeza Apr 6, 2020
e197112
[UPD] Update sale_order_type.pot
oca-travis Apr 6, 2020
05555d2
Update translation files
oca-transbot Apr 9, 2020
c4a8418
[IMP] Added route field in sale type
ivantodorovich Apr 22, 2020
bbeb04e
[IMP] Move sale_order_type to Sales group
ivantodorovich Apr 27, 2020
c290ac6
[IMP] sale_order_type: Add missing fields in view and use groups to h…
ivantodorovich May 14, 2020
dce350f
[UPD] README.rst
OCA-git-bot Jun 29, 2020
9ce55e5
[UPD] Update sale_order_type.pot
oca-travis Jun 29, 2020
4607e67
Update translation files
oca-transbot Jun 29, 2020
ae87939
[FIX] Properly display sale_type_id field in account.move form view.
ivantodorovich Jul 10, 2020
5bca9c6
[IMP] Do not allow to edit sale_order_type on confirmed records
ivantodorovich Jul 10, 2020
8aceb72
sale_order_type 13.0.1.2.0
OCA-git-bot Jul 14, 2020
0cdc049
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
3858f8a
sale_order_type: add default value to fix breaking tests
grindtildeath Aug 5, 2020
614051b
Update translation files
oca-transbot Aug 16, 2020
8e57943
[13.0] [FIX] sale_order_type: Only show the type field in sales
nicomacr Sep 10, 2020
48673af
sale_order_type 13.0.1.3.0
OCA-git-bot Sep 15, 2020
afd1652
Translated using Weblate (Catalan)
brendapaniagua Nov 6, 2020
929e244
[FIX] sale_order_type: Proper no partner field
pedrobaeza Nov 9, 2020
2dcfc2c
[13.0] [FIX] sale_order_type: Not allowed to delete a sale order type…
nicomacr Nov 11, 2020
f880051
sale_order_type 13.0.1.3.2
OCA-git-bot Nov 12, 2020
cc104a8
[FIX] sale_order_type: Copy type in sales orders
pedrobaeza Nov 25, 2020
ce76a37
[FIX+IMP] sale_order_type: Proper computed writable definition + fiel…
sergio-teruel Jul 16, 2020
fe0c992
[FIX] sale_order_type: Use record instead of self
sergio-teruel Sep 22, 2020
555f598
sale_order_type 13.0.1.3.4
OCA-git-bot Nov 26, 2020
a8e5337
[FIX] sale_order_type: Preserve type on move copy
pedrobaeza Nov 27, 2020
d5b40b8
[FIX] sale_order_type: Restrict order type search to current company
pedrobaeza Nov 30, 2020
cdc51d9
[MIG] sale_order_type: Migration to 14.0
newtratip Jan 22, 2021
ca7dbc7
[IMP] Attend code review comments
BT-cserra Jul 6, 2021
098562a
[FIX] sale_order_type: Non reset the value when it's sitting by the u…
nicomacr Mar 26, 2021
ead7258
[12.0][IMP]sale_order_type: update quotation name when user change or…
chandni300 Mar 10, 2021
02c4b83
[12.0][FIX] sale_order_type, singleton error on write
GSLabIt Mar 19, 2021
c3bff1d
[FIX] sale_order_type: changes ignored
chienandalu Apr 12, 2021
3308e61
Delete the README so that it is regenerated
BT-cserra Jul 6, 2021
2f7bff1
[14.0][FIX] sale_order_type: sequence depending on date ranges
BT-cserra Jul 12, 2021
6d9ee12
[UPD] Update sale_order_type.pot
oca-travis Jul 13, 2021
629d0f8
[UPD] README.rst
OCA-git-bot Jul 13, 2021
3d8ff73
[14.0][FIX] sale_order_type: call to create from copy crashes
BT-cserra Jul 15, 2021
fc74e62
sale_order_type 14.0.1.0.1
OCA-git-bot Jul 19, 2021
9643a91
[IMP] sale_order_type: add sale order type to sales and invoice analy…
skeller1 Aug 8, 2021
4d64db8
[UPD] Update sale_order_type.pot
oca-travis Sep 1, 2021
bfd9582
sale_order_type 14.0.1.1.0
OCA-git-bot Sep 1, 2021
7f38ef0
Update translation files
oca-transbot Sep 1, 2021
d50ba20
[FIX] sale_order_type: default value is 'New' not '/'
oihane Sep 14, 2021
e5d2d5b
[UPD] Update sale_order_type.pot
oca-travis Sep 15, 2021
f55fecb
sale_order_type 14.0.1.1.1
OCA-git-bot Sep 15, 2021
09e4791
Update translation files
oca-transbot Sep 15, 2021
0b672f0
[IMP] sale_order_type: copy sale type of partners
hailangvn Dec 13, 2021
5a20132
[IMP] sale_order_type: black, isort, prettier
juanpgarza Jan 22, 2022
7fe337f
[MIG] sale_order_type: Migration to 15.0
juanpgarza Jan 23, 2022
5b61d88
[FIX] sale_order_type: Default value check company
hildickethan Jan 31, 2022
cf4bb23
[FIX] sale_order_type: Inconsistent data in multi-company environments
sergio-teruel Jan 21, 2022
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
144 changes: 144 additions & 0 deletions sale_order_type/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
===============
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:/OCA/sale-workflow/tree/14.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-14-0/sale-workflow-14-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/14.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:/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:/OCA/sale-workflow/issues/new?body=module:%20sale_order_type%0Aversion:%2014.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

* `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]>

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:/OCA/sale-workflow/tree/14.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": "15.0.1.0.0",
"category": "Sales Management",
"author": "Grupo Vermon,"
"AvanzOSC,"
"Tecnativa,"
"Agile Business Group,"
"Niboo,"
"Odoo Community Association (OCA)",
"website": "https:/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 model="sale.order" id="sale.sale_order_1">
<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