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 purchase_quick #2171

Open
wants to merge 49 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d512cff
MIG 12.0
Feb 14, 2019
b3508d9
[UPD] Update purchase_quick.pot
oca-travis Sep 6, 2019
1b261df
[UPD] README.rst
OCA-git-bot Sep 6, 2019
22ab44c
[ADD] icon.png
OCA-git-bot Sep 6, 2019
8b8ea49
[FIX] purchase_quick search view primary
Apr 17, 2020
6e81d9b
[FIX] readme
Apr 17, 2020
80f2f14
[UPD] Update purchase_quick.pot
oca-travis Apr 19, 2020
526da66
purchase_quick 12.0.1.0.2
OCA-git-bot Apr 19, 2020
c012c1b
Update translation files
oca-transbot Apr 19, 2020
26e92d9
Translated using Weblate (French)
SandieFavre Aug 28, 2020
74e0142
Translated using Weblate (French)
quentinDupont Sep 23, 2020
64d9c3e
[FIX] purchase_quick : do not raise an error, if the key is not in th…
legalsylvain Nov 4, 2020
a4f5056
purchase_quick 12.0.1.0.3
OCA-git-bot Nov 10, 2020
7df935f
[IMP] purchase_quick: black, isort
phuctranfxvn Feb 26, 2020
43b45a9
[MIG] purchase_quick: Migration to 13.0
phuctranfxvn Feb 26, 2020
45a486f
[IMP] purchase_quick: black, isort, prettier
Dec 17, 2020
65fbb65
[MIG] purchase_quick: Migration to 14.0
Dec 17, 2020
e4e9288
[REF] purchase_quick: refactor
kevinkhao Jun 22, 2021
d3014f4
[FIX] purchase_quick: add incompatibility with purchase_order_type
kevinkhao Jul 6, 2021
65a5f8e
[FIX] While in the quick purchase interface, use sale.order.line perm…
kevinkhao Jul 28, 2021
e2ee3df
[FIX] fix view
sebastienbeau Sep 27, 2021
fcf305f
[FIX] fix price unit computation
sebastienbeau Sep 29, 2021
808b805
[IMP] add seller price on product list
sebastienbeau Sep 29, 2021
df2c6b0
[UPD] Update purchase_quick.pot
oca-travis Oct 5, 2021
346c77f
[UPD] README.rst
OCA-git-bot Oct 5, 2021
866c322
Translated using Weblate (French)
Kev-Roche Nov 29, 2021
67391a1
Translated using Weblate (French)
Kev-Roche Nov 30, 2021
ddf46ff
[FIX] purchase_quick: Fix tests
victoralmau Jan 5, 2022
25db427
purchase_quick 14.0.1.0.1
OCA-git-bot Jan 14, 2022
c296c84
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 31, 2022
d1c765a
Added translation using Weblate (Italian)
francesco-ooops May 24, 2022
fc802c4
Translated using Weblate (Italian)
francesco-ooops May 24, 2022
b88c402
[MIG]purchase_quick: Migration to 15.0
Feb 28, 2023
a1abcd7
[UPD] Update purchase_quick.pot
Apr 11, 2023
c5ec37c
[UPD] README.rst
OCA-git-bot Apr 11, 2023
34c7415
Added translation using Weblate (Spanish)
luis-ron Apr 12, 2023
8d7221a
Translated using Weblate (Spanish)
luis-ron Apr 12, 2023
2727058
Translated using Weblate (Italian)
mymage Apr 18, 2023
133c62f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
47ccaf0
Update translation files
weblate Oct 9, 2023
b83c1fc
[FIX] *: Linter fixes
pedrobaeza Oct 28, 2023
0a7f08b
[UPD] Update purchase_quick.pot
Oct 28, 2023
d0a0b07
[BOT] post-merge updates
OCA-git-bot Oct 28, 2023
9d06bd4
Update translation files
weblate Oct 28, 2023
1aa94a3
[FIX] purchase_quick: price_unit when qty_to_process is less than sel…
Oct 30, 2023
bfc85c6
[BOT] post-merge updates
OCA-git-bot Nov 7, 2023
12c2786
[IMP] purchase_quick: pre-commit execution
legalsylvain Feb 9, 2024
565fe1b
[MIG] purchase_quick: Migration to 16.0
legalsylvain Feb 9, 2024
958cf1a
[REF] purchase_quick: Adopt the addon
legalsylvain Oct 13, 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
132 changes: 132 additions & 0 deletions purchase_quick/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
====================
Quick Purchase order
====================

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

.. |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/purchase_quick
: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-purchase_quick
: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 add easily products into the purchase order (mass line add/update).

**Table of contents**

.. contents::
:local:

Usage
=====


Inside a purchase order, you can click on "Add products", to open a product tree view, then update "qty to purchase" field.

.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_quick/static/description/01_purchase_order_create.png
:width: 800 px
:alt: Purchase order create

|

.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_quick/static/description/02_purchase_order_add_product.png
:width: 800 px
:alt: Purchase order Add product

|

The update of "qty to purchase" will add new purchase line or update the existing line. If qty to purchase is 0 it purchase line will deleted if it exists.

|

.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_quick/static/description/03_purchase_order_updated.png
:width: 800 px
:alt: Purchase order updated

|

.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/16.0/purchase_quick/static/description/04_purchase_order_update_product_qty.png
:width: 800 px
:alt: Purchase order update product qty.

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

A note on dependencies: this module depends on stock. Mainly, for displaying qty_available of a product.
To avoid this dependency, this module could be split.

Compatibility note: purchase_order_type could be compatible as far as functionality goes, but not
for tests (adding a new required field breaks our usage of Form).

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:%20purchase_quick%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
~~~~~~~

* Akretion

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

* Sébastien BEAU <[email protected]>
* Mourad EL HADJ MIMOUNE <[email protected]>
* Pierrick Brun <[email protected]>
* Kevin Khao <[email protected]>

* `Sygel <https://www.sygel.es>`_:

* Ángel García de la Chica Herrera <[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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/16.0/purchase_quick>`_ 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 purchase_quick/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions purchase_quick/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# © 2014 Today Akretion
# @author Sébastien BEAU <[email protected]>
# @author Pierrick Brun <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Quick Purchase order",
"version": "16.0.1.0.0",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"website": "https://github.com/OCA/purchase-workflow",
"license": "AGPL-3",
"category": "Purchase",
"depends": ["base_product_mass_addition", "purchase"],
"data": ["views/purchase_view.xml", "views/product_view.xml"],
"installable": True,
}
89 changes: 89 additions & 0 deletions purchase_quick/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_quick
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-04-12 10:07+0000\n"
"Last-Translator: luis-ron <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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"
"X-Generator: Weblate 4.14.1\n"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.view_purchase_form
msgid "Add"
msgstr "Añadir"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_search_form_view
msgid "Filter products supplied by the supplier of the current parent object"
msgstr ""
"Filtrar los productos suministrados por el proveedor del objeto padre actual"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_search_form_view
msgid "For current supplier"
msgstr "Para el proveedor actual"

#. module: purchase_quick
#: code:addons/purchase_quick/models/purchase_order.py:0
#, python-format
msgid ""
"Must have only 1 line per product for mass addition, but there are {nr_lines}"
"s lines for the product %(product)s"
msgstr ""
"Sólo debe haber 1 línea por producto para la adición en masa, pero hay "
"{nr_lines}s líneas para el producto %(product)s"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_tree_view4purchase
msgid "Open"
msgstr "Abrir"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__po_line_ids
msgid "Po Line"
msgstr "Línea Po"

#. module: purchase_quick
#: model:ir.model,name:purchase_quick.model_product_product
msgid "Product"
msgstr "Producto"

#. module: purchase_quick
#: code:addons/purchase_quick/models/purchase_order.py:0
#, python-format
msgid "Product Variants"
msgstr "Variantes de Productos"

#. module: purchase_quick
#: model:ir.model,name:purchase_quick.model_purchase_order
msgid "Purchase Order"
msgstr "Orden de Compra"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__seller_price
msgid "Seller Price"
msgstr "Precio Vendedor"

#. module: purchase_quick
#: model:ir.model.fields,help:purchase_quick.field_product_product__po_line_ids
msgid "Technical: used to compute quantities to purchase."
msgstr "Técnico: utilizado para calcular las cantidades a comprar."

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_tree_view4purchase
msgid "UoM"
msgstr "UdM"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__variant_specific_seller_ids
msgid "Variant Specific Seller"
msgstr "Vendedor Específico de Variantes"
90 changes: 90 additions & 0 deletions purchase_quick/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_quick
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-09 22:03+0000\n"
"PO-Revision-Date: 2024-02-09 22:03+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.view_purchase_form
msgid "Add"
msgstr "Ajout Rapide"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_search_form_view
msgid "Filter products supplied by the supplier of the current parent object"
msgstr ""
"Afficher uniquement les articles du fournisseur de la commande d'achat en "
"cours"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_search_form_view
msgid "For current supplier"
msgstr "Ce Fournisseur"

#. module: purchase_quick
#. odoo-python
#: code:addons/purchase_quick/models/purchase_order.py:0
#, python-format
msgid ""
"Must have only 1 line per product for mass addition, but there are "
"%(nr_lines)s lines for the product %(product_name)s"
msgstr "Il doit y avoir seulement une ligne par produit pour l'addition en masse, mais il y a"
" %(nr_lines)s lignes pour le produit %(product_name)s"

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_tree_view4purchase
msgid "Open"
msgstr "Ouvrir"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__po_line_ids
msgid "Po Line"
msgstr "Ligne de Commande"

#. module: purchase_quick
#: model:ir.model,name:purchase_quick.model_product_product
msgid "Product Variant"
msgstr "Variante de produit"

#. module: purchase_quick
#. odoo-python
#: code:addons/purchase_quick/models/purchase_order.py:0
#, python-format
msgid "Product Variants"
msgstr "Articles"

#. module: purchase_quick
#: model:ir.model,name:purchase_quick.model_purchase_order
msgid "Purchase Order"
msgstr "Bon de commande"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__seller_price
msgid "Seller Price"
msgstr "Prix fournisseur"

#. module: purchase_quick
#: model:ir.model.fields,help:purchase_quick.field_product_product__po_line_ids
msgid "Technical: used to compute quantities to purchase."
msgstr "Technique : utilisé pour calculer les quantités à acheter."

#. module: purchase_quick
#: model_terms:ir.ui.view,arch_db:purchase_quick.product_tree_view4purchase
msgid "UoM"
msgstr "UdM"

#. module: purchase_quick
#: model:ir.model.fields,field_description:purchase_quick.field_product_product__variant_specific_seller_ids
msgid "Variant Specific Seller"
msgstr "Fournisseur spécifique pour cette variante"
Loading
Loading