Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
85 changes: 85 additions & 0 deletions sale_auto_remove_zero_quantity_lines/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
====================================
Sale auto remove zero quantity lines
====================================

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

.. |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/18.0/sale_auto_remove_zero_quantity_lines
: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-18-0/sale-workflow-18-0-sale_auto_remove_zero_quantity_lines
: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=18.0
:alt: Try me on Runboat

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

Upon confirming a sales order remove any sales order lines that have
zero quantities.

**Table of contents**

.. contents::
:local:

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

To enable this feature you need to:

1. Go to *Sale > Settings > Quotation & Orders*.
2. Check Automatic Removal of Zero Quantity Lines

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_auto_remove_zero_quantity_lines%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
-------

* Camptocamp

Contributors
------------

- Telmo Santos <[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/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_auto_remove_zero_quantity_lines>`_ 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 sale_auto_remove_zero_quantity_lines/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions sale_auto_remove_zero_quantity_lines/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2024 Camptocamp (<https://www.camptocamp.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).


{
"name": "Sale auto remove zero quantity lines",
"version": "18.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"summary": "On sale confirmation remove lines with zero quantities",
"website": "https://github.com/OCA/sale-workflow",
"license": "AGPL-3",
"depends": ["sale"],
"category": "Sales/Sales",
"data": [
"views/res_config_settings_views.xml",
],
"installable": True,
"development_status": "Beta",
}
67 changes: 67 additions & 0 deletions sale_auto_remove_zero_quantity_lines/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_auto_remove_zero_quantity_lines
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-23 08:30+0000\n"
"PO-Revision-Date: 2024-04-09 22:38+0000\n"
"Last-Translator: jappi00 <[email protected]>\n"
"Language-Team: \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"
"X-Generator: Weblate 4.17\n"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,help:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
#: model_terms:ir.ui.view,arch_db:sale_auto_remove_zero_quantity_lines.res_config_settings_view_form_sale
msgid "Auto remove sale order lines with zero quantity upon confirmation."
msgstr ""
"Automatische Entfernung von Verkaufsauftragszeilen mit Nullmenge bei "
"Bestätigung."

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
msgid "Automatic Removal of Zero Quantity Lines"
msgstr "Automatische Entfernung von Nullmengen-Linien"

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

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_res_config_settings
msgid "Config Settings"
msgstr "Konfigurationseinstellungen"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_company__sale_auto_remove_zero_quantity_lines
msgid "Sale Auto Remove Zero Quantity Lines"
msgstr "Automatisches entfernen von Nullmengenzeilen im Verkauf"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_sale_order
msgid "Sales Order"
msgstr "Verkaufsaufträge"

#. module: sale_auto_remove_zero_quantity_lines
#. odoo-python
#: code:addons/sale_auto_remove_zero_quantity_lines/models/sale_order.py:0
#, python-format
msgid ""
"Some lines with zero quantities or empty notes were removed upon "
"confirmation."
msgstr ""

#, python-format
#~ msgid ""
#~ "Some sale order lines with zero quantities were removed upon confirmation."
#~ msgstr ""
#~ "Einige Verkaufsauftragszeilen mit Nullmengen wurden bei der Bestätigung "
#~ "entfernt."
66 changes: 66 additions & 0 deletions sale_auto_remove_zero_quantity_lines/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_auto_remove_zero_quantity_lines
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-23 08:30+0000\n"
"PO-Revision-Date: 2024-01-23 08:30+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,help:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
#: model_terms:ir.ui.view,arch_db:sale_auto_remove_zero_quantity_lines.res_config_settings_view_form_sale
msgid "Auto remove sale order lines with zero quantity upon confirmation."
msgstr ""
"Suppression automatique des lignes d'ordre de vente avec une quantité nulle "
"lors de la confirmation."

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
msgid "Automatic Removal of Zero Quantity Lines"
msgstr "Suppression automatique des lignes de quantité zéro"

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

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_company__sale_auto_remove_zero_quantity_lines
msgid "Sale Auto Remove Zero Quantity Lines"
msgstr ""

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_auto_remove_zero_quantity_lines
#. odoo-python
#: code:addons/sale_auto_remove_zero_quantity_lines/models/sale_order.py:0
#, python-format
msgid ""
"Some lines with zero quantities or empty notes were removed upon "
"confirmation."
msgstr ""

#, python-format
#~ msgid ""
#~ "Some sale order lines with zero quantities were removed upon confirmation."
#~ msgstr ""
#~ "Certaines lignes d'ordre de vente avec des quantités nulles ont été "
#~ "supprimées lors de la confirmation."
59 changes: 59 additions & 0 deletions sale_auto_remove_zero_quantity_lines/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_auto_remove_zero_quantity_lines
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-06-21 12:16+0000\n"
"Last-Translator: Bole <[email protected]>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,help:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
#: model_terms:ir.ui.view,arch_db:sale_auto_remove_zero_quantity_lines.res_config_settings_view_form_sale
msgid "Auto remove sale order lines with zero quantity upon confirmation."
msgstr "Automatski ukloni stavke ponude sa količinama 0 nakon potvrđivanja."

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
msgid "Automatic Removal of Zero Quantity Lines"
msgstr "Automatsko uklanjanje Stavaka sa količinom nula"

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

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_res_config_settings
msgid "Config Settings"
msgstr "Konfiguracijske postavke"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_company__sale_auto_remove_zero_quantity_lines
msgid "Sale Auto Remove Zero Quantity Lines"
msgstr "Automatski ukloni stavke bez količine u prodaji"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_sale_order
msgid "Sales Order"
msgstr "Prodajni nalog"

#. module: sale_auto_remove_zero_quantity_lines
#. odoo-python
#: code:addons/sale_auto_remove_zero_quantity_lines/models/sale_order.py:0
#, python-format
msgid ""
"Some lines with zero quantities or empty notes were removed upon "
"confirmation."
msgstr ""
"Neke stavke bez količine ili prazne napomene su uklonjene nakon potvrđivanja."
67 changes: 67 additions & 0 deletions sale_auto_remove_zero_quantity_lines/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_auto_remove_zero_quantity_lines
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-04-29 08:41+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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.17\n"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,help:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
#: model_terms:ir.ui.view,arch_db:sale_auto_remove_zero_quantity_lines.res_config_settings_view_form_sale
msgid "Auto remove sale order lines with zero quantity upon confirmation."
msgstr ""
"Rimuovi automaticamente alla conferma le righe ordine di vendita con "
"quantità a zero."

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_config_settings__sale_auto_remove_zero_quantity_lines
msgid "Automatic Removal of Zero Quantity Lines"
msgstr "Rimozione automatica righe a quantità zero"

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

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_res_config_settings
msgid "Config Settings"
msgstr "Impostazioni configurazione"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model.fields,field_description:sale_auto_remove_zero_quantity_lines.field_res_company__sale_auto_remove_zero_quantity_lines
msgid "Sale Auto Remove Zero Quantity Lines"
msgstr "Rimozione automatica righe vendita a quantità zero"

#. module: sale_auto_remove_zero_quantity_lines
#: model:ir.model,name:sale_auto_remove_zero_quantity_lines.model_sale_order
msgid "Sales Order"
msgstr "Ordine di vendita"

#. module: sale_auto_remove_zero_quantity_lines
#. odoo-python
#: code:addons/sale_auto_remove_zero_quantity_lines/models/sale_order.py:0
#, python-format
msgid ""
"Some lines with zero quantities or empty notes were removed upon "
"confirmation."
msgstr ""
"Alcune righe con quantità zero o note vuote sono state eliminate alla "
"conferma."

#, python-format
#~ msgid ""
#~ "Some sale order lines with zero quantities were removed upon confirmation."
#~ msgstr ""
#~ "Alcune righe ordine con quantità a zero sono state rimosse alla conferma."
Loading