Skip to content

Commit

Permalink
Merge PR #686 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by etobella
  • Loading branch information
OCA-git-bot committed Apr 4, 2024
2 parents e380720 + 3bec556 commit 3fd7aff
Show file tree
Hide file tree
Showing 21 changed files with 1,548 additions and 0 deletions.
105 changes: 105 additions & 0 deletions account_payment_term_partner_holiday/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
====================================
Account Payment Term Partner Holiday
====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:afe7b305107611842f1263bcb1bc45fed2405cd569ea078defd85c749ae46592
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Faccount--payment-lightgray.png?logo=github
:target: https://github.com/OCA/account-payment/tree/14.0/account_payment_term_partner_holiday
:alt: OCA/account-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_payment_term_partner_holiday
: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/account-payment&target_branch=14.0
:alt: Try me on Runboat

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

This addon adds the possibility of defining holiday periods in a
partner so as not to use those periods as the due date on invoices.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to 'Contacts' and create a record or edit an existing one.
#. Go to 'Sales & Purchase' tab and create some holiday periods.
#. Go to 'Invoicing > Customers > Invoices' or to 'Invoicing > Vendors >
Invoices' and create or edit a record.
#. If the computed due date is within a holiday period, it's moved to the first available date.

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

* Due dates for invoices are not updated when new holiday periods are created.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-payment/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/account-payment/issues/new?body=module:%20account_payment_term_partner_holiday%0Aversion:%2014.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
~~~~~~~

* Tecnativa

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

* `Tecnativa <https://www.tecnativa.com>`__:

* Víctor Martínez
* Pedro M. Baeza
* Luis D. Lafaurie

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

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

|maintainer-victoralmau|

This module is part of the `OCA/account-payment <https://github.com/OCA/account-payment/tree/14.0/account_payment_term_partner_holiday>`_ 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 account_payment_term_partner_holiday/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions account_payment_term_partner_holiday/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2021 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Payment Term Partner Holiday",
"version": "14.0.1.0.0",
"website": "https://github.com/OCA/account-payment",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["account_payment_term_extension"],
"maintainers": ["victoralmau"],
"development_status": "Beta",
"data": ["security/ir.model.access.csv", "views/res_partner_view.xml"],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_term_partner_holiday
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.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: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "April"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "August"
msgstr ""

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

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__create_uid
msgid "Created by"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__create_date
msgid "Created on"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__day_from
msgid "Day from"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__day_to
msgid "Day to"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "December"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__display_name
msgid "Display Name"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "February"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__id
msgid "ID"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "January"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model,name:account_payment_term_partner_holiday.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "July"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "June"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "March"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "May"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__month_from
msgid "Month from"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.constraint,message:account_payment_term_partner_holiday.constraint_res_partner_holiday_month_consistency
msgid "Month from should be higher than month from"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__month_to
msgid "Month to"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "November"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "October"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner_holiday__partner_id
msgid "Partner"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model,name:account_payment_term_partner_holiday.model_res_partner_holiday
msgid "Partner Holidays"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model,name:account_payment_term_partner_holiday.model_account_payment_term
msgid "Payment Terms"
msgstr ""

#. module: account_payment_term_partner_holiday
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_partner__holiday_ids
#: model:ir.model.fields,field_description:account_payment_term_partner_holiday.field_res_users__holiday_ids
msgid "Payment Terms Holidays"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "September"
msgstr ""

#. module: account_payment_term_partner_holiday
#: code:addons/account_payment_term_partner_holiday/models/res_partner.py:0
#, python-format
msgid "You can't set the ending holidays period before the beginning."
msgstr ""
Loading

0 comments on commit 3fd7aff

Please sign in to comment.