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

[16.0][MIG] procurement_purchase_no_grouping: Migration to 16.0 #2186

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1b53e71
[ADD] procurement_purchase_no_grouping: Grouping purchase lines from …
alfredoavanzosc Aug 4, 2015
66fdecd
Slovene translations of odoomrp modules
sysadminmatmoz Aug 15, 2015
2f626c9
[IMP] procurement_purchase_no_grouping: Expand no grouping behaviour …
pedrobaeza Aug 18, 2015
3d7aca0
[FIX] procurement_purchase_no_grouping: Restrict scope of the limitat…
pedrobaeza Sep 3, 2015
9286b5b
[MIG] procurement_purchase_no_grouping: Migration to 9.0
pedrobaeza Dec 6, 2016
41922ca
[9.0][FIX] procurement_purchase_no_grouping: PO total amount don't co…
carlosdauden Jul 22, 2017
42631ff
[10.0][MIG] procurement_purchase_no_grouping: Migration to v10.0
sergio-teruel Sep 5, 2017
d0158e5
[MIG] procurement_purchase_no_grouping: Migration to 11.0
carlosdauden Jul 12, 2018
8d6728b
[FIX+IMP] procurement_purchase_no_grouping: Fix tests + PO grouping +…
pedrobaeza Sep 16, 2018
10c0ff9
[MIG] procurement_purchase_no_grouping: Migration to 12.0
Tardo Jun 17, 2019
ca30dc0
[IMP] procurement_purchase_no_grouping: black, isort
Tardo Feb 12, 2020
4a60330
[MIG] procurement_purchase_no_grouping: Migration to 13.0
Tardo Feb 12, 2020
4de2eeb
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
d78c642
[IMP] procurement_purchase_no_grouping: Add company level policy
Rad0van Aug 9, 2020
e61987b
[FIX] procurement_purchase_no_grouping: Don't group by domain
pedrobaeza Sep 15, 2020
8acfa7e
[FIX] Delete empty " " spaces in same string line
MiquelRForgeFlow Sep 30, 2020
187214a
[IMP] procurement_purchase_no_grouping: Add product_category in procu…
victoralmau Feb 2, 2021
99f2e36
[IMP] procurement_purchase_no_grouping: black, isort, prettier
volodymyr-dehtiarenko Jan 26, 2022
a328bab
[MIG] procurement_purchase_no_grouping: Migration to 14.0
volodymyr-dehtiarenko Jan 26, 2022
c6408c6
[FIX] procurement_purchase_no_grouping: Take into account SO updates
pedrobaeza Nov 27, 2021
924982e
[MIG] procurement_purchase_no_grouping: Migration to 15.0
cesar-tecnativa Jul 12, 2022
b7b954d
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
c79ab62
[FIX] Change SavepointCase to TransactionCase
victoralmau Oct 26, 2022
369f4c0
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
5f73321
Translated using Weblate (Spanish)
Ivorra78 Jul 13, 2023
2416a6f
[IMP] procurement_purchase_no_grouping: test performance improvement
josep-tecnativa Oct 24, 2023
c86b22e
Translated using Weblate (Spanish)
Ivorra78 Oct 24, 2023
72652de
[FIX] procurement_purchase_no_grouping: Duplicated tab in settings
renda-dev Nov 17, 2023
bd011bc
Translated using Weblate (Spanish)
Ivorra78 Jan 11, 2024
b5e7e64
[IMP] procurement_purchase_no_grouping: pre-commit stuff
victoralmau Feb 28, 2024
f17d99d
[MIG] procurement_purchase_no_grouping: Migration to 16.0
May 22, 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
120 changes: 120 additions & 0 deletions procurement_purchase_no_grouping/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
================================
Procurement Purchase No Grouping
================================

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

.. |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%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/16.0/procurement_purchase_no_grouping
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-procurement_purchase_no_grouping
: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/purchase-workflow&target_branch=16.0
:alt: Try me on Runboat

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

This module allows to not group generated purchase orders from procurements.
The grouping behaviour can be configurable at product category level or fall back
to system default.

**Table of contents**

.. contents::
:local:

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

Go to each product category, and select one of these values in the field
"Procured purchase grouping":

* *Standard grouping*: With this option, procurements will generate
purchase orders as always, grouping lines and orders when possible.
* *No line grouping*: With this value, if there are any open purchase order
for the same supplier, it will be reused, but lines won't be merged.
* *No order grouping*: This option will prevent any kind of grouping.
* *<empty>*: If you select nothing, default value set up in System
settings will be applied.
* *Product category grouping*: This option groups products in the same purchase order that belongs to the same product category.

System default behaviour can be set up in System settings / Purchase / Procurement
Purchase Grouping

Known issues / Roadmap
======================

- If you reuse the same procurement group between several sales orders, and
using "No line grouping", they will be grouped anyways, as the criteria for
grouping or not should be kept to the same procurement group, as it's the only
way to get proper quantities updates after confirming the sales order.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-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/purchase-workflow/issues/new?body=module:%20procurement_purchase_no_grouping%0Aversion:%2016.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
~~~~~~~

* AvanzOSC
* Tecnativa

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

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

* Pedro M. Baeza
* Sergio Teruel
* Carlos Dauden
* Alexandre Díaz
* Víctor Martínez
* César A. Sánchez

* Ana Juaristi <ajuaristo@gmail.com>
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es>
* Radovan Skolnik <radovan@skolnik.info>

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

* Jonathan Oscategui Taza <info@pesol.es>

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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/16.0/procurement_purchase_no_grouping>`_ 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 procurement_purchase_no_grouping/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions procurement_purchase_no_grouping/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2015 AvanzOsc (http://www.avanzosc.es)
# Copyright 2015-2017 Tecnativa - Pedro M. Baeza
# Copyright 2018 Tecnativa - Carlos Dauden
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Procurement Purchase No Grouping",
"version": "16.0.1.0.0",
"author": "AvanzOSC, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"category": "Procurements",
"depends": ["purchase_stock"],
"data": ["views/product_category_view.xml", "views/res_config_settings_views.xml"],
"installable": True,
"license": "AGPL-3",
}
131 changes: 131 additions & 0 deletions procurement_purchase_no_grouping/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * procurement_purchase_no_grouping
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-24 07:53+0000\n"
"PO-Revision-Date: 2017-11-24 07:53+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 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: procurement_purchase_no_grouping
#: model_terms:ir.ui.view,arch_db:procurement_purchase_no_grouping.res_config_settings_view_form_procurement_purchase_grouping
msgid ""
"<span class=\"o_form_label\">Grouping</span>\n"
" <span class=\"fa fa-lg fa-object-group\" title="
"\"Value to be used if individual category is set to 'System default'\" aria-"
"label=\"Value set here is default. Specific values are set per category.\" "
"role=\"img\"/>"
msgstr ""

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

#. module: procurement_purchase_no_grouping
#: model_terms:ir.ui.view,arch_db:procurement_purchase_no_grouping.res_config_settings_view_form_procurement_purchase_grouping
msgid "Grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__product_category__procured_purchase_grouping__line
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__res_company__procured_purchase_grouping__line
msgid "No line grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__product_category__procured_purchase_grouping__order
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__res_company__procured_purchase_grouping__order
msgid "No order grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields,field_description:procurement_purchase_no_grouping.field_product_category__procured_purchase_grouping
#: model:ir.model.fields,field_description:procurement_purchase_no_grouping.field_res_company__procured_purchase_grouping
#: model:ir.model.fields,field_description:procurement_purchase_no_grouping.field_res_config_settings__procured_purchase_grouping
msgid "Procured Purchase Grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model_terms:ir.ui.view,arch_db:procurement_purchase_no_grouping.res_config_settings_view_form_procurement_purchase_grouping
msgid "Procurement Purchase Grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model,name:procurement_purchase_no_grouping.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model,name:procurement_purchase_no_grouping.model_product_category
msgid "Product Category"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__product_category__procured_purchase_grouping__product_category
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__res_company__procured_purchase_grouping__product_category
msgid "Product category grouping"
msgstr ""

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

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields,help:procurement_purchase_no_grouping.field_product_category__procured_purchase_grouping
msgid ""
"Select the behaviour for grouping procured purchases for the the products of "
"this category:\n"
"* Standard grouping (default): Procurements will generate purchase orders as "
"always, grouping lines and orders when possible.\n"
"* No line grouping: If there are any open purchase order for the same "
"supplier, it will be reused, but lines won't be merged.\n"
"* No order grouping: This option will prevent any kind of grouping.\n"
"* <empty>: If no value is selected, system-wide default will be used.\n"
"* Product category grouping: This option groups products in the same "
"purchase order that belongs to the same product category."
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields,help:procurement_purchase_no_grouping.field_res_company__procured_purchase_grouping
#: model:ir.model.fields,help:procurement_purchase_no_grouping.field_res_config_settings__procured_purchase_grouping
msgid ""
"Select the behaviour for grouping procured purchases for the the products of "
"this category:\n"
"* Standard grouping: Procurements will generate purchase orders as always, "
"grouping lines and orders when possible.\n"
"* No line grouping: If there are any open purchase order for the same "
"supplier, it will be reused, but lines won't be merged.\n"
"* No order grouping: This option will prevent any kind of grouping.\n"
"* <empty>: If no value is selected, system-wide default will be used.\n"
"* Product category grouping: This option groups products in the same "
"purchase order that belongs to the same product category."
msgstr ""

#. module: procurement_purchase_no_grouping
#: model_terms:ir.ui.view,arch_db:procurement_purchase_no_grouping.res_config_settings_view_form_procurement_purchase_grouping
msgid "Set the default procurement purchase grouping type"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__product_category__procured_purchase_grouping__standard
#: model:ir.model.fields.selection,name:procurement_purchase_no_grouping.selection__res_company__procured_purchase_grouping__standard
msgid "Standard grouping"
msgstr ""

#. module: procurement_purchase_no_grouping
#: model:ir.model,name:procurement_purchase_no_grouping.model_stock_rule
msgid "Stock Rule"
msgstr ""
Loading
Loading