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.0 mig account invoice start end dates #307

Open
wants to merge 69 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
69 commits
Select commit Hold shift + click to select a range
1739353
Port account_cutoff_base and account_cutoff_prepaid to Odoo v9
alexis-via Jul 24, 2016
05fed80
Migration of account_cutoff modules to 10.0
adrienpeiffer Oct 17, 2016
c98d512
account_invoice_start_end_dates: Migration to 11.0
Jan 3, 2018
65aca68
Savepoint tests invoice_start
Jan 17, 2018
8b99fc9
OCA Transbot updated translations from Transifex
oca-transbot Feb 2, 2018
15557ca
account_invoice_start_end_dates: Migration to 12.0 account_invoice_st…
Dec 6, 2018
8762512
README.rst
OCA-git-bot Apr 26, 2019
6b3c449
icon.png
OCA-git-bot Apr 26, 2019
bbb748d
Update translation files
oca-transbot May 20, 2019
aa44ba5
README.rst
OCA-git-bot Jul 29, 2019
20dda57
[MIG] account_invoice_start_end_dates to v13
alexis-via Dec 5, 2019
f0db7a8
Black
alexis-via Apr 23, 2020
f394a7b
Use super() instead of super(classname, self)
alexis-via Apr 23, 2020
aece33d
[UPD] README.rst
OCA-git-bot Apr 23, 2020
4a40c0a
Black and other pre-commit stuff
alexis-via Apr 23, 2020
cac3733
FIX visibility of forecast button
alexis-via Apr 23, 2020
0df4db0
[UPD] README.rst
OCA-git-bot Apr 24, 2020
60e21fb
[UPD] README.rst
OCA-git-bot Apr 28, 2020
c1a149b
[FIX] lint issues
sbidoul May 13, 2020
c1af434
Update translation files
oca-transbot May 13, 2020
c5b3c8e
Update translation files
oca-transbot Aug 16, 2020
d20c4e2
[MIG] account_invoice_start_end_dates from 13 to 14
alexis-via Oct 15, 2020
e63c59a
[UPD] README.rst
OCA-git-bot Oct 16, 2020
c19b7bd
account_invoice_start_end_dates 14.0.1.0.1
OCA-git-bot Oct 16, 2020
a5d0834
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
9da01ea
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
c4a581a
Translated using Weblate (Portuguese)
pedrocs-exo Jul 2, 2021
5d768b6
Translated using Weblate (Italian)
SicurSam Dec 3, 2021
7fae55b
[MIG] account_invoice_start_end_dates to v15
alexis-via Dec 7, 2021
bc9bd73
[UPD] README.rst
OCA-git-bot Jan 27, 2022
acadccd
Translated using Weblate (French)
gregory-moka Jul 4, 2022
b960606
[MIG] account_invoice_start_end_dates: Migration to 16.0
FrancoMaxime Oct 10, 2022
8a8f669
[UPD] README.rst
OCA-git-bot Oct 16, 2022
d3f4b35
Update translation files
weblate Oct 17, 2022
1d07945
Added translation using Weblate (German)
marylla Oct 25, 2022
1f47c82
Translated using Weblate (German)
marylla Oct 25, 2022
f589d27
[UPD] Update account_invoice_start_end_dates.pot
Dec 7, 2022
0b4f935
Update translation files
weblate Dec 7, 2022
49028a5
Translated using Weblate (Italian)
mymage Dec 28, 2022
741133d
[IMP] account_invoice_start_end_dates: add start/end dates in tree vi…
alexis-via Dec 5, 2022
556c6d1
account_invoice_start_end_dates 16.0.1.1.0
OCA-git-bot Dec 30, 2022
85828aa
Translated using Weblate (Croatian)
badbole Jan 3, 2023
294ecdc
Added translation using Weblate (Persian)
mostafabarmshory Jan 21, 2023
dae81e1
Translated using Weblate (Persian)
mostafabarmshory Jan 21, 2023
0f6b9ad
Translated using Weblate (French)
sanrav May 8, 2023
eece2e0
Translated using Weblate (French (France) (fr_FR))
sanrav May 8, 2023
d7aa105
Translated using Weblate (Italian)
mymage May 9, 2023
a3d8966
Translated using Weblate (Italian)
mymage May 18, 2023
7889355
Translated using Weblate (French)
Jun 20, 2023
e97d545
cutoff modules: improve strings
alexis-via Jun 20, 2023
371894f
[UPD] Update account_invoice_start_end_dates.pot
Jun 20, 2023
82c0294
account_invoice_start_end_dates 16.0.1.2.0
OCA-git-bot Jun 20, 2023
3bd4e6d
Update translation files
weblate Jun 20, 2023
4ade66a
Added translation using Weblate (Spanish)
Ivorra78 Jun 28, 2023
92054a4
Translated using Weblate (Spanish)
Ivorra78 Jun 28, 2023
27fda7f
Translated using Weblate (Croatian)
badbole Jun 29, 2023
d66a117
Translated using Weblate (French)
Aug 14, 2023
5cce0a1
[UPD] README.rst
OCA-git-bot Sep 3, 2023
52b427d
Update translation files
weblate Oct 9, 2023
b863d33
[TRN] remove fr_FR.po
sbidoul Nov 21, 2023
00763eb
[IMP] account_invoice_start_end_dates: pre-commit auto fixes
thaolt99 Nov 28, 2023
3101d62
[MIG] account_invoice_start_end_dates: Migration to 17.0
thaolt99 Nov 28, 2023
9258e52
[UPD] Update account_invoice_start_end_dates.pot
Dec 8, 2023
c93d68b
[BOT] post-merge updates
OCA-git-bot Dec 8, 2023
e40070e
[FIX] account_cutoff_start_end_dates: fix view migration to v17
alexis-via Jan 29, 2024
42281ce
Translated using Weblate (Italian)
mymage Feb 4, 2024
7a9301d
[BOT] post-merge updates
OCA-git-bot Feb 9, 2024
bdb4da0
[MIG] account_invoice_start_end_dates: Migration to 18.0
fredericgrall Oct 30, 2024
67c656f
[MIG] account_invoice_start_end_dates: Migration to 18.0
fredericgrall Oct 30, 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
116 changes: 116 additions & 0 deletions account_invoice_start_end_dates/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
===============================
Account Invoice Start End Dates
===============================

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

.. |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--closing-lightgray.png?logo=github
:target: https://github.com/OCA/account-closing/tree/18.0/account_invoice_start_end_dates
:alt: OCA/account-closing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-closing-18-0/account-closing-18-0-account_invoice_start_end_dates
: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-closing&target_branch=18.0
:alt: Try me on Runboat

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

This module adds the fields *Start Date* and *End Date* on invoice/move
lines.

It also adds an option *Must Have Start/End Dates* on the product form
(in the *Accounting* tab) ; if you enable this option, you will get an
error message if you try to post an invoice/move that constains such a
product on one of its lines and doesn't have start/end dates on that
line.

If you use this module, you may also be interested in several other
modules:

- the module *sale_start_end_dates* from the `sale-workflow OCA
project <https://github.com/OCA/sale-workflow>`__: this module adds
the fields *Start Date* and *End Date* on sale order lines and copies
the information from sale order lines to invoice/move lines.
- the modules *account_cutoff_prepaid* and
*account_cutoff_accrual_dates* in the `account-closing OCA
projct <https://github.com/OCA/account-closing>`__: these modules
allow easy computation of prepaid expenses, prepaid revenues, accrued
expense and accrued revenue using start/end dates.

**Table of contents**

.. contents::
:local:

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

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

* Akretion

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

- Alexis de Lattre <alexis.delattre@akretion.com>
- Jeroen Evens <jeroen.evens@dynapps.be>
- `Trobz <https://trobz.com>`__:

- Thao Le thaolt@trobz.com

- Frederic Grall <fgr@apik.cloud>

Other credits
-------------

The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp.

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

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

|maintainer-alexis-via|

This module is part of the `OCA/account-closing <https://github.com/OCA/account-closing/tree/18.0/account_invoice_start_end_dates>`_ 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_invoice_start_end_dates/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions account_invoice_start_end_dates/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2016-2021 Akretion France (http://www.akretion.com/)
# Copyright 2018-2021 Camptocamp
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Invoice Start End Dates",
"version": "18.0.1.0.0",
"category": "Accounting & Finance",
"license": "AGPL-3",
"summary": "Adds start/end dates on invoice/move lines",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/account-closing",
"depends": ["account"],
"data": ["views/account_move.xml", "views/product_template.xml"],
"demo": ["demo/product_demo.xml"],
"installable": True,
}
26 changes: 26 additions & 0 deletions account_invoice_start_end_dates/demo/product_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2013-2020 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="product_insurance_contract_demo" model="product.product">
<field name="name">Car Insurance</field>
<field name="default_code">CARINSUR</field>
<field name="type">service</field>
<field name="categ_id" ref="product.product_category_5" />
<field name="must_have_dates" eval="True" />
<field name="list_price" eval="1200.0" />
<field name="standard_price" eval="600.0" />
</record>
<record id="product_maintenance_contract_demo" model="product.product">
<field name="name">Maintenance contract</field>
<field name="default_code">MAINTENANCE</field>
<field name="type">service</field>
<field name="categ_id" ref="product.product_category_5" />
<field name="must_have_dates" eval="True" />
<field name="list_price" eval="2400.0" />
<field name="standard_price" eval="1200.0" />
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_start_end_dates
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_invoice_start_end_dates
#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template
msgid "Car Insurance"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date
msgid "End Date"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_move_line__must_have_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates
msgid ""
"If this option is active, the user will have to enter a Start Date and an "
"End Date on the invoice lines that have this product."
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template
msgid "Maintenance contract"
msgstr ""

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid "Missing End Date for line '%s'."
msgstr ""

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move.py:0
#, python-format
msgid ""
"Missing Start Date and End Date for invoice line with Product '%s' which has"
" the property 'Must Have Start/End Dates'."
msgstr ""

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid "Missing Start Date for line '%s'."
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__must_have_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates
msgid "Must Have Start/End Dates"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_product_template
msgid "Product"
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date
msgid "Start Date"
msgstr ""

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid ""
"Start Date (%(start_date)s) should be before End Date (%(end_date)s) for "
"line '%(name)s'."
msgstr ""
129 changes: 129 additions & 0 deletions account_invoice_start_end_dates/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_start_end_dates
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-10-25 10:44+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\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 4.14.1\n"

#. module: account_invoice_start_end_dates
#: model:product.template,name:account_invoice_start_end_dates.product_insurance_contract_demo_product_template
msgid "Car Insurance"
msgstr "KFZ-Versicherung"

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__end_date
msgid "End Date"
msgstr "Enddatum"

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_account_move_line__must_have_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_product__must_have_dates
#: model:ir.model.fields,help:account_invoice_start_end_dates.field_product_template__must_have_dates
msgid ""
"If this option is active, the user will have to enter a Start Date and an "
"End Date on the invoice lines that have this product."
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_account_move
msgid "Journal Entry"
msgstr "Buchungssatz"

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_account_move_line
msgid "Journal Item"
msgstr "Buchungszeile"

#. module: account_invoice_start_end_dates
#: model:product.template,name:account_invoice_start_end_dates.product_maintenance_contract_demo_product_template
msgid "Maintenance contract"
msgstr "Wartungsvertrag"

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid "Missing End Date for line '%s'."
msgstr ""

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move.py:0
#, python-format
msgid ""
"Missing Start Date and End Date for invoice line with Product '%s' which has "
"the property 'Must Have Start/End Dates'."
msgstr ""
"Das Start- und Enddatum in der Rechnungszeile mit dem Produkt '%s' fehlt. Es "
"ist erforderlich, weil am Produkt die Einstellung \"Muss Start- und Enddatum "
"haben\" aktiviert ist."

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid "Missing Start Date for line '%s'."
msgstr ""

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__must_have_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_product__must_have_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_product_template__must_have_dates
msgid "Must Have Start/End Dates"
msgstr "Muss Start- und Enddatum haben"

#. module: account_invoice_start_end_dates
#: model:ir.model,name:account_invoice_start_end_dates.model_product_template
msgid "Product"
msgstr "Produkt"

#. module: account_invoice_start_end_dates
#: model:ir.model.fields,field_description:account_invoice_start_end_dates.field_account_move_line__start_date
msgid "Start Date"
msgstr "Startdatum"

#. module: account_invoice_start_end_dates
#. odoo-python
#: code:addons/account_invoice_start_end_dates/models/account_move_line.py:0
#, python-format
msgid ""
"Start Date (%(start_date)s) should be before End Date (%(end_date)s) for "
"line '%(name)s'."
msgstr ""

#~ msgid ""
#~ "If this option is active, the user will have to enter a Start Date and an "
#~ "End Date on the invoice/move lines that have this product."
#~ msgstr ""
#~ "Wenn das Häkchen gesetzt ist, muss ein Start- und Enddatum in den "
#~ "Rechnungs-/Buchungszeilen eingetragen werden, die das Produkt enthalten."

#, python-format
#~ msgid "Missing End Date for move line with Name '%s'."
#~ msgstr "Das Enddatum in der Buchungszeile mit Namen '%s' fehlt."

#, python-format
#~ msgid "Missing Start Date for move line with Name '%s'."
#~ msgstr "Das Startdatum in der Buchungszeile mit Namen '%s' fehlt."

#, python-format
#~ msgid ""
#~ "Start Date ({start_date}) should be before End Date ({end_date}) for move "
#~ "line with Name '{name}'."
#~ msgstr ""
#~ "Das Startdatum ({start_date}) muss vor dem Enddatum ({end_date}) liegen, "
#~ "siehe Buchungszeile mit Namen '{name}'."

#~ msgid "Units"
#~ msgstr "Einheiten"
Loading
Loading