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] delivery_price_rule_untaxed #908

Open
wants to merge 9 commits into
base: 16.0
Choose a base branch
from
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
89 changes: 89 additions & 0 deletions delivery_price_rule_untaxed/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
===========================
Delivery price rule untaxed
===========================

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

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

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

This module allows the user to use the total untaxed price of the sale order inside the rules used by delivery methods.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/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/delivery-carrier/issues/new?body=module:%20delivery_price_rule_untaxed%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
~~~~~~~

* Agile Business Group

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

* Simone Rubino <[email protected]>
* Giovanni Serra <[email protected]>

* `Ooops <https://www.ooops404.com/>`_:

* Ashish Hirpara <https://ashish-hirpara.com>

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-AshishHirapara| image:: https://github.com/AshishHirapara.png?size=40px
:target: https://github.com/AshishHirapara
:alt: AshishHirapara

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

|maintainer-AshishHirapara|

This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/16.0/delivery_price_rule_untaxed>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions delivery_price_rule_untaxed/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
16 changes: 16 additions & 0 deletions delivery_price_rule_untaxed/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2018 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Delivery price rule untaxed",
"summary": "Add untaxed amount to variables for price delivery price rule",
"version": "16.0.1.0.0",
"category": "Stock",
"website": "https://github.com/OCA/delivery-carrier",
"author": "Agile Business Group, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["delivery"],
"maintainers": ["AshishHirapara"],
"demo": ["data/delivery_price_rule_untaxed_demo.xml"],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!-- Carrier -->
<record id="untaxed_delivery_carrier" model="delivery.carrier">
<field name="name">Carrier price on untaxed</field>
<field name="delivery_type">base_on_rule</field>
<field name="product_id" ref="delivery.product_product_delivery" />
</record>

<!-- Price rule -->
<record id="untaxed_delivery_price_rule1" model="delivery.price.rule">
<field name="carrier_id" ref="untaxed_delivery_carrier" />
<field eval="300" name="max_value" />
<field name="operator">&lt;=</field>
<field name="variable">untaxed_price</field>
<field name="variable_factor">untaxed_price</field>
<field eval="2" name="list_price" />
<field eval="0" name="list_base_price" />
</record>
</odoo>
49 changes: 49 additions & 0 deletions delivery_price_rule_untaxed/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * delivery_price_rule_untaxed
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-08-05 12:58+0000\n"
"Last-Translator: Nikolaus Weingartmair <[email protected]>"
"\n"
"Language-Team: none\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 5.6.2\n"

#. module: delivery_price_rule_untaxed
#: model:delivery.carrier,name:delivery_price_rule_untaxed.untaxed_delivery_carrier
msgid "Carrier price on untaxed"
msgstr "Versanddienstleisterpreis unversteuert"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_price_rule
msgid "Delivery Price Rules"
msgstr "Auslieferungspreisregel"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_carrier
msgid "Shipping Methods"
msgstr "Versandmethode"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable__untaxed_price
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable_factor__untaxed_price
msgid "Untaxed price"
msgstr "Preis unversteuert"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable
msgid "Variable"
msgstr "Variable"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable_factor
msgid "Variable Factor"
msgstr "Variabler Faktor"
45 changes: 45 additions & 0 deletions delivery_price_rule_untaxed/i18n/delivery_price_rule_untaxed.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * delivery_price_rule_untaxed
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \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: delivery_price_rule_untaxed
#: model:delivery.carrier,name:delivery_price_rule_untaxed.untaxed_delivery_carrier
msgid "Carrier price on untaxed"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_price_rule
msgid "Delivery Price Rules"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_carrier
msgid "Shipping Methods"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable__untaxed_price
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable_factor__untaxed_price
msgid "Untaxed price"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable
msgid "Variable"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable_factor
msgid "Variable Factor"
msgstr ""
57 changes: 57 additions & 0 deletions delivery_price_rule_untaxed/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * delivery_price_rule_untaxed
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-20 22:33+0000\n"
"Last-Translator: Ivorra78 <[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.17\n"

#. module: delivery_price_rule_untaxed
#: model:delivery.carrier,name:delivery_price_rule_untaxed.untaxed_delivery_carrier
msgid "Carrier price on untaxed"
msgstr "Precio del transportista sin impuestos"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_price_rule
msgid "Delivery Price Rules"
msgstr "Reglas Entrega Precio"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_carrier
msgid "Shipping Methods"
msgstr "Métodos de Envío"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable__untaxed_price
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable_factor__untaxed_price
msgid "Untaxed price"
msgstr "Precio sin impuestos"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable
msgid "Variable"
msgstr "Variable"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable_factor
msgid "Variable Factor"
msgstr "Factor Variable"

#~ msgid "Display Name"
#~ msgstr "Mostrar Nombre"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Última Modificación el"
74 changes: 74 additions & 0 deletions delivery_price_rule_untaxed/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * delivery_price_rule_untaxed
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-14 08:30+0000\n"
"PO-Revision-Date: 2019-06-14 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: delivery_price_rule_untaxed
#: model:delivery.carrier,name:delivery_price_rule_untaxed.untaxed_delivery_carrier
msgid "Carrier price on untaxed"
msgstr "Frais de livraison basés sur le prix HT"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_price_rule
msgid "Delivery Price Rules"
msgstr "Règles de prix de livraison"

#. module: delivery_price_rule_untaxed
#: model:ir.model,name:delivery_price_rule_untaxed.model_delivery_carrier
msgid "Shipping Methods"
msgstr ""

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable__untaxed_price
#: model:ir.model.fields.selection,name:delivery_price_rule_untaxed.selection__delivery_price_rule__variable_factor__untaxed_price
msgid "Untaxed price"
msgstr "Prix HT"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable
msgid "Variable"
msgstr "Variable"

#. module: delivery_price_rule_untaxed
#: model:ir.model.fields,field_description:delivery_price_rule_untaxed.field_delivery_price_rule__variable_factor
msgid "Variable Factor"
msgstr "Facteur variable"

#~ msgid "Delivery Methods"
#~ msgstr "Méthodes de livraison"

#~ msgid "Price"
#~ msgstr "Prix TTC"

#~ msgid "Quantity"
#~ msgstr "Quantité"

#, python-format
#~ msgid ""
#~ "Selected product in the delivery method doesn't fulfill any of the "
#~ "delivery carrier(s) criteria."
#~ msgstr ""
#~ "Le produit sélectionné dans la méthode de livraison ne remplit aucun des "
#~ "critères du ou des transporteurs."

#~ msgid "Volume"
#~ msgstr "Volume"

#~ msgid "Weight"
#~ msgstr "Poids"

#~ msgid "Weight * Volume"
#~ msgstr "Poids * volume"
Loading
Loading