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][MIG] purchase_fop_shipping #2485

Open
wants to merge 34 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
34 commits
Select commit Hold shift + click to select a range
e4afee3
[FIX] mv module
mourad-ehm Feb 7, 2017
fff2299
[FIX] adapt code to v10.0
mourad-ehm Feb 7, 2017
75c5878
[IMP] add test
mourad-ehm Feb 7, 2017
3e8e7f4
[FIX] readme.rst
mourad-ehm Feb 7, 2017
a87c93c
[FIX] use last template ofreadme.rst
mourad-ehm Feb 8, 2017
9fd94fa
[FIX] typo, replace openerp by odoo,indentation, translation
mourad-ehm Feb 8, 2017
05d9329
[FIX] add group FOP shipping manager
mourad-ehm Feb 8, 2017
6e50859
[FIX] rename order to purchase order & fix typo
mourad-ehm Feb 13, 2017
b09c50d
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
39998d9
[FIX] README lint errors
pedrobaeza Jun 20, 2018
03510dd
[MIG] purchase_fop_shipping migration to v13
benwillig Jun 5, 2020
23ff451
[13.0] purchase_fop_shipping: fixes and improvements
Jul 21, 2017
09fd61f
[FIX] FOP is reached if invoice amount is higher or equal to FOP amount
Sep 12, 2017
f1c1e91
[FIX] pre-commit
benwillig Jun 5, 2020
67c23eb
[FIX] group category to module_category_operations_purchase
benwillig Jun 16, 2020
484e49c
[14.0][MIG] - purchase_fop_shipping
sbejaoui Jun 3, 2021
c720f0d
[14.0][FIX] purchase_fop_shipping
xavier-bouquiaux Sep 20, 2021
50600e5
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
42d1b6f
[IMP] purchase_fop_shipping: black, isort, prettier
Ricardoalso Nov 11, 2022
c1c3aee
[MIG] purchase_fop_shipping: Migration to 15.0
Ricardoalso Nov 11, 2022
abe09b5
Update translation files
weblate Nov 18, 2022
094fed1
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
2ec44af
[MIG] purchase_fop_shipping: Migration to 16.0
dsolanki-initos Jun 22, 2023
413478d
Update translation files
weblate Oct 9, 2023
a9aebf0
Translated using Weblate (Spanish)
Ivorra78 Oct 12, 2023
934d933
[FIX] purchase_fop_shipping: purchase fop should not block negative PO
cyrilmanuel Oct 30, 2023
cbea363
Translated using Weblate (Italian)
mymage Dec 20, 2023
06081cc
Translated using Weblate (Italian)
mymage Jan 5, 2024
2c03d8f
[BOT] post-merge updates
OCA-git-bot Apr 5, 2024
264addf
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
90a5140
[IMP] purchase_fop_shipping: pre-commit auto fixes
traitrantrobz Jul 4, 2024
2966946
[MIG] purchase_fop_shipping: Migration to 17.0
traitrantrobz Jul 4, 2024
79f6747
[IMP] purchase_fop_shipping: pre-commit auto fixes
florian-dacosta Dec 15, 2024
82417ba
[MIG] purchase_fop_shipping to v18
florian-dacosta Dec 15, 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
79 changes: 79 additions & 0 deletions purchase_fop_shipping/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=================================
Purchase Free-Of-Payment shipping
=================================

This module allows to define a Free-Of-Payment (FOP) shipping on supplier.
FOP shipping is a min purchase order amount to got shipping free from supplier.
User can force confirm purchase order if he/she wishes.

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

To configure this module, you need to:
Define an amount of FOP shipping for suppliers

Usage
=====

#. Go to ...

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/142/10.0

.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example

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

* By upgrading the module you could have to re-configure all your FOP minimum amount on suppliers
as this information is now company-related.

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 smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

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

* Mourad EL HADJ MIMOUNE <[email protected]>
* Dhara Solanki <[email protected]>

Funders
-------

The development of this module has been financially supported by:

* Asler Diffusion

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
1 change: 1 addition & 0 deletions purchase_fop_shipping/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions purchase_fop_shipping/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# © 2017 Akretion (http://www.akretion.com) Payment
# @author Mourad EL HADJ MIMOUNE <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Purchase Free-Of-Payment shipping",
"version": "18.0.1.0.1",
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"maintainer": "Akretion",
"license": "AGPL-3",
"category": "Purchase",
"depends": ["purchase"],
"data": [
"security/res_groups.xml",
"views/purchase_order.xml",
"views/res_partner.xml",
],
"installable": True,
}
81 changes: 81 additions & 0 deletions purchase_fop_shipping/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_fop_shipping
#
# 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-03-03 03:41+0000\n"
"PO-Revision-Date: 2017-03-03 03:41+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: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Confirm under FOP"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model,name:purchase_fop_shipping.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "FOP reached"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_users__fop_shipping
msgid "FOP shipping"
msgstr ""

#. module: purchase_fop_shipping
#: model:res.groups,name:purchase_fop_shipping.group_fop_shipping_purchase_manager
msgid "FOP shipping Manager"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Force confirm purchase order under Free-Of-Payment shipping"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "Free-Of-Payment shipping reached"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_users__fop_shipping
msgid "Min purchase order amount for FOP shipping"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_shipping
msgid "Min purchase order amount for Free-Of-Payment shipping"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model,name:purchase_fop_shipping.model_purchase_order
msgid "Purchase Order"
msgstr "Bestellauftrag"

#. module: purchase_fop_shipping
#. odoo-python
#: code:addons/purchase_fop_shipping/models/purchase.py:0
#, python-format
msgid ""
"You cannot confirm a purchase order with amount under FOP shipping. To force "
"confirm you must belongs to \"FOP shipping Manager\"."
msgstr ""
84 changes: 84 additions & 0 deletions purchase_fop_shipping/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_fop_shipping
#
# 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-05-18 07:33+0000\n"
"PO-Revision-Date: 2023-10-12 16:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Confirm under FOP"
msgstr "Confirmar bajo FOP"

#. module: purchase_fop_shipping
#: model:ir.model,name:purchase_fop_shipping.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "FOP reached"
msgstr "FOP alcanzado"

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_users__fop_shipping
msgid "FOP shipping"
msgstr "Envío FOP"

#. module: purchase_fop_shipping
#: model:res.groups,name:purchase_fop_shipping.group_fop_shipping_purchase_manager
msgid "FOP shipping Manager"
msgstr "Gestor de envíos FOP"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Force confirm purchase order under Free-Of-Payment shipping"
msgstr "Forzar la confirmación de la orden de compra en envío Gratuito"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "Free-Of-Payment shipping reached"
msgstr "Envío gratuito alcanzado"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_users__fop_shipping
msgid "Min purchase order amount for FOP shipping"
msgstr "Importe mínimo de pedido para el envío FOP"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_shipping
msgid "Min purchase order amount for Free-Of-Payment shipping"
msgstr "Importe mínimo de pedido para el envío gratuito"

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

#. module: purchase_fop_shipping
#. odoo-python
#: code:addons/purchase_fop_shipping/models/purchase.py:0
#, python-format
msgid ""
"You cannot confirm a purchase order with amount under FOP shipping. To force "
"confirm you must belongs to \"FOP shipping Manager\"."
msgstr ""
"No se puede confirmar una orden de compra con importe por debajo del envío "
"FOP. Para forzar la confirmación debe pertenecer a \"FOP shipping Manager\"."
88 changes: 88 additions & 0 deletions purchase_fop_shipping/i18n/es_PE.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_fop_shipping
#
# Translators:
# Henry Garcia <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-15 06:42+0000\n"
"PO-Revision-Date: 2017-07-15 06:42+0000\n"
"Last-Translator: Henry Garcia <[email protected]>, 2017\n"
"Language-Team: Spanish (Peru) (https://www.transifex.com/oca/teams/23907/"
"es_PE/)\n"
"Language: es_PE\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: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Confirm under FOP"
msgstr "Confirmar bajo libre de pago"

#. module: purchase_fop_shipping
#: model:ir.model,name:purchase_fop_shipping.model_res_partner
msgid "Contact"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "FOP reached"
msgstr "Libre de pago alcanzado"

#. module: purchase_fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_purchase_order__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,field_description:purchase_fop_shipping.field_res_users__fop_shipping
msgid "FOP shipping"
msgstr "Envío libre de pago"

#. module: purchase_fop_shipping
#: model:res.groups,name:purchase_fop_shipping.group_fop_shipping_purchase_manager
msgid "FOP shipping Manager"
msgstr ""

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__force_order_under_fop
msgid "Force confirm purchase order under Free-Of-Payment shipping"
msgstr "Forzar la orden de compra bajo el envio de libre de pago"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_reached
msgid "Free-Of-Payment shipping reached"
msgstr "Envío libre de pago alcanzado"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_partner__fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_res_users__fop_shipping
msgid "Min purchase order amount for FOP shipping"
msgstr "Cantidad mìnima de pedido para envío libre de pago"

#. module: purchase_fop_shipping
#: model:ir.model.fields,help:purchase_fop_shipping.field_purchase_order__fop_shipping
msgid "Min purchase order amount for Free-Of-Payment shipping"
msgstr "Mínima cantidad de orden de compra para envío libre de pago"

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

#. module: purchase_fop_shipping
#. odoo-python
#: code:addons/purchase_fop_shipping/models/purchase.py:0
#, python-format
msgid ""
"You cannot confirm a purchase order with amount under FOP shipping. To force "
"confirm you must belongs to \"FOP shipping Manager\"."
msgstr ""
"No puede confirmar una orden de compra con un importe bajo el envío libre de "
"pago. Para confirmar la confirmación, debe pertenecer a \"Administrar envio "
"Libre de pago\"."

#~ msgid "Partner"
#~ msgstr "Socio"
Loading
Loading