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

[18.0][MIG] procurement_purchase_no_grouping: Migration to 18.0 #2487

Open
wants to merge 42 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c2c27a7
[ADD] procurement_purchase_no_grouping: Grouping purchase lines from …
alfredoavanzosc Aug 4, 2015
f48f7c2
Slovene translations of odoomrp modules
sysadminmatmoz Aug 15, 2015
0b94c45
[IMP] procurement_purchase_no_grouping: Expand no grouping behaviour …
pedrobaeza Aug 18, 2015
05319be
[FIX] procurement_purchase_no_grouping: Restrict scope of the limitat…
pedrobaeza Sep 3, 2015
2e4caa3
[MIG] procurement_purchase_no_grouping: Migration to 9.0
pedrobaeza Dec 6, 2016
e1556c7
[9.0][FIX] procurement_purchase_no_grouping: PO total amount don't co…
carlosdauden Jul 22, 2017
d8a9765
[10.0][MIG] procurement_purchase_no_grouping: Migration to v10.0
sergio-teruel Sep 5, 2017
f0c3a0e
[MIG] procurement_purchase_no_grouping: Migration to 11.0
carlosdauden Jul 12, 2018
769816b
[FIX+IMP] procurement_purchase_no_grouping: Fix tests + PO grouping +…
pedrobaeza Sep 16, 2018
ece00bd
[MIG] procurement_purchase_no_grouping: Migration to 12.0
Tardo Jun 17, 2019
c7212d6
[IMP] procurement_purchase_no_grouping: black, isort
Tardo Feb 12, 2020
182e556
[MIG] procurement_purchase_no_grouping: Migration to 13.0
Tardo Feb 12, 2020
053d7c2
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
ca11bcb
[IMP] procurement_purchase_no_grouping: Add company level policy
Rad0van Aug 9, 2020
09d6465
[FIX] procurement_purchase_no_grouping: Don't group by domain
pedrobaeza Sep 15, 2020
73b045c
[FIX] Delete empty " " spaces in same string line
MiquelRForgeFlow Sep 30, 2020
86ec8e5
[IMP] procurement_purchase_no_grouping: Add product_category in procu…
victoralmau Feb 2, 2021
bef9dfc
[IMP] procurement_purchase_no_grouping: black, isort, prettier
volodymyr-dehtiarenko Jan 26, 2022
5ccef78
[MIG] procurement_purchase_no_grouping: Migration to 14.0
volodymyr-dehtiarenko Jan 26, 2022
b7fab39
[FIX] procurement_purchase_no_grouping: Take into account SO updates
pedrobaeza Nov 27, 2021
27dc25e
[MIG] procurement_purchase_no_grouping: Migration to 15.0
cesar-tecnativa Jul 12, 2022
9f7a6c0
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
3ab6c05
[FIX] Change SavepointCase to TransactionCase
victoralmau Oct 26, 2022
ef9a16e
Translated using Weblate (Italian)
francesco-ooops Feb 1, 2023
49025a3
Translated using Weblate (Spanish)
Ivorra78 Jul 13, 2023
a4ad2f5
[IMP] procurement_purchase_no_grouping: test performance improvement
josep-tecnativa Oct 24, 2023
0cc267b
Translated using Weblate (Spanish)
Ivorra78 Oct 24, 2023
99d771a
[FIX] procurement_purchase_no_grouping: Duplicated tab in settings
renda-dev Nov 17, 2023
f74881c
Translated using Weblate (Spanish)
Ivorra78 Jan 11, 2024
64253ae
[MIG] procurement_purchase_no_grouping: Migration to 16.0
May 22, 2023
d3eb15e
[UPD] Update procurement_purchase_no_grouping.pot
Mar 5, 2024
fbf3184
[BOT] post-merge updates
OCA-git-bot Mar 5, 2024
158d0b4
Translated using Weblate (Italian)
mymage Mar 5, 2024
828381f
[IMP] procurement_purchase_no_grouping: pre-commit auto fixes
AndreuOForgeFlow Mar 14, 2024
1760f0f
[MIG] procurement_purchase_no_grouping: Migration to 17.0
AndreuOForgeFlow Mar 15, 2024
6ba9d7f
[UPD] Update procurement_purchase_no_grouping.pot
Mar 15, 2024
9059d18
[BOT] post-merge updates
OCA-git-bot Mar 15, 2024
0e7ca54
Update translation files
weblate Mar 15, 2024
9cd77e1
Translated using Weblate (Italian)
mymage Mar 18, 2024
4001720
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
ada4afb
[IMP] procurement_purchase_no_grouping: pre-commit auto fixes
HeliconiaSolutions Dec 16, 2024
45c2795
[MIG] procurement_purchase_no_grouping: Migration to 18.0
HeliconiaSolutions Dec 16, 2024
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
122 changes: 122 additions & 0 deletions procurement_purchase_no_grouping/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
================================
Procurement Purchase No Grouping
================================

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

.. |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/18.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-18-0/purchase-workflow-18-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=18.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:%2018.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 <[email protected]>
- Alfredo de la Fuente <[email protected]>
- Radovan Skolnik <[email protected]>
- `Pesol <https://www.pesol.es>`__:

- Jonathan Oscategui Taza <[email protected]>

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/18.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": "18.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",
}
132 changes: 132 additions & 0 deletions procurement_purchase_no_grouping/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * procurement_purchase_no_grouping
#
# Translators:
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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\">\n"
" </span>"
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