Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
5fcb126
Initial check-in of my cut-off modules
Sep 9, 2013
6acb314
Coding style enhancements (osv.Model -> orm.Model, from . import xxx)
Sep 28, 2013
f825d4c
Add _prepare functions to allow to inherit before create
Oct 13, 2013
f333c77
Forgot to move some code to the new _prepare function.
Oct 13, 2013
b7fb78c
Remove the unnecessary "and True or False" after 'xxx' not in context…
Oct 15, 2013
d3394cc
Reduce flake8 warnings (cut lines and comments, space after coma insi…
Dec 20, 2013
ac01ee4
My christmas present to the PEP8 fundamentalists : there is not even …
Dec 24, 2013
9ed0e2e
all modules unported to odoo 8.0
gurneyalex Aug 13, 2014
383b78e
[MIG] move account_cutoff_base and account_cutoff_prepaid out of unpo…
sbidoul Nov 28, 2014
7748f1a
[MIG] account_cutoff: set installable=True
sbidoul Nov 28, 2014
adbd9df
[MIG] account_cutoff_prepaid 8.0
Nov 28, 2014
cc1af60
[IMP] account_cutoff_prepaid: add hooks
sbidoul Nov 29, 2014
d752c96
[ADD][account_cutoff_base] Add multi-company record rule
Apr 22, 2015
f0c4af1
Add missing default oca icons
yvaucher Aug 18, 2015
deecb6d
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
f27309f
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
85b67ed
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
e14503b
Port account_cutoff_base and account_cutoff_prepaid to Odoo v9
alexis-via Jul 24, 2016
1e908cc
Add some hooks that are in 8.0
Sep 5, 2016
243f5c9
Take into account the remarks of Pedro:
alexis-via Oct 13, 2016
8e06033
Migration of account_cutoff modules to 10.0
Oct 17, 2016
984654c
[FIX] Bad attributes on m2m fields.
Mar 13, 2017
df98ad3
[IMP] Add some tests to improve the code coverage
Jan 31, 2017
b7f3965
[MIG] account_cutoff_base: Migration to 11.0
Jan 3, 2018
8d73b38
[UPD] Update account_cutoff_base.pot
oca-travis Jun 22, 2018
90db8e7
Translated using Weblate (German)
rschnapka Aug 20, 2018
9320fdc
[MIG] account_cutoff_base: Migration to 12.0
Dec 7, 2018
ea735d8
[12.0-mig-account] fixing review comments
Feb 8, 2019
c4e5d31
[UPD] Update account_cutoff_base.pot
oca-travis May 7, 2019
0640f14
[FIX] remove titles from readme fragments
sbidoul May 11, 2019
8456e5d
[UPD] README.rst
OCA-git-bot May 11, 2019
4b04e3f
Update translation files
oca-transbot May 20, 2019
91ea0f2
[UPD] README.rst
OCA-git-bot Jul 29, 2019
009c623
moved cutoff menu in submenu menu_finance_entries
Aug 29, 2019
b949e8d
account_cutoff_base 12.0.1.0.1
OCA-git-bot Sep 4, 2019
03c0074
[IMP] account_cutoff_base: black, isort
jimhoefnagels Jan 22, 2020
4ca88bf
[MIG] account_cutoff_base: Migration to 13.0
jimhoefnagels Jan 22, 2020
5c3eb60
[UPD] README.rst
OCA-git-bot Apr 23, 2020
b29ce19
Up-port improvements from v12
alexis-via Apr 23, 2020
3e4609f
Black and other pre-commit stuff
alexis-via Apr 23, 2020
bed09a9
FIX visibility of forecast button
alexis-via Apr 23, 2020
d3ae3a1
Remove unused variable
alexis-via Apr 23, 2020
a3f5494
[UPD] README.rst
OCA-git-bot Apr 24, 2020
a4d368a
Add option move_partner
alexis-via Apr 24, 2020
0db5cf4
[UPD] README.rst
OCA-git-bot Apr 28, 2020
0c2de99
[UPD] Update account_cutoff_base.pot
oca-travis May 13, 2020
2962034
Update translation files
oca-transbot May 13, 2020
c4b7b47
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 15, 2020
c956b80
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 15, 2020
44fb6dd
Update translation files
oca-transbot Aug 16, 2020
0145b97
[FIX] account_cutoff_base: res company
teewux Oct 6, 2020
9368bd3
[MIG] account_cutoff_base to v14
alexis-via Feb 12, 2021
2750d0e
[UPD] Update account_cutoff_base.pot
oca-travis Apr 13, 2021
cefff20
[UPD] README.rst
OCA-git-bot Apr 13, 2021
db762c3
[14.0][FIX] account_cutoff_base: Move domains where they are used
rousseldenis Aug 5, 2021
8abd225
[UPD] Update account_cutoff_base.pot
oca-travis Aug 8, 2021
04a631b
account_cutoff_base 14.0.1.1.0
OCA-git-bot Aug 8, 2021
84baa9e
Update translation files
oca-transbot Aug 8, 2021
cdc389d
account_cutoff_base: widget="text" on name field (same as on account.…
alexis-via Nov 2, 2021
9c7a95b
Translated using Weblate (Italian)
francesco-ooops Dec 3, 2021
9481a2c
account_cutoff_base 14.0.1.2.0
OCA-git-bot Dec 7, 2021
bb0d8e9
Translated using Weblate (Italian)
francesco-ooops Dec 20, 2021
23cadb8
Translated using Weblate (Italian)
francesco-ooops Dec 30, 2021
1aa9481
Translated using Weblate (Italian)
primes2h Dec 30, 2021
de2ce6f
Translated using Weblate (Italian)
primes2h Dec 30, 2021
0390fad
Translated using Weblate (Italian)
primes2h Dec 31, 2021
b9eae4a
Translated using Weblate (Italian)
primes2h Jan 5, 2022
aefca9f
Translated using Weblate (Italian)
AntonioMariaVigliotti Jan 10, 2022
d0adbc6
[IMP] : black, isort, prettier
yankinmax Jan 24, 2022
df71d12
[IMP] account_cutoff_base: pylint
yankinmax Jan 24, 2022
5cc6ab0
[MIG] account_cutoff_base: Migration to 15.0
yankinmax Jan 24, 2022
fd5b7b9
account_cutoff_base: improve tree view of account.cutoff
alexis-via Jan 28, 2022
886e9db
[UPD] Update account_cutoff_base.pot
Jan 31, 2022
6302038
Translated using Weblate (Spanish (Argentina))
ibuioli Jun 18, 2022
4216293
[MIG] account_cutoff_base: Migration to 16.0
dzungtran89 Dec 5, 2022
449a875
account_cutoff_base: forward-port source_move_state from v14
alexis-via Feb 15, 2023
73e10e0
[UPD] README.rst
OCA-git-bot Feb 16, 2023
fe8bf28
[UPD] Update account_cutoff_base.pot
Feb 16, 2023
dda3255
account_cutoff_base: update README
alexis-via Feb 16, 2023
7325136
[UPD] README.rst
OCA-git-bot Feb 16, 2023
a9420cb
Update translation files
weblate Feb 16, 2023
54ec18b
Translated using Weblate (Italian)
mymage Mar 30, 2023
a29d2db
Translated using Weblate (Italian)
mymage Apr 3, 2023
52b92ef
Translated using Weblate (Italian)
mymage Apr 4, 2023
a63d06b
Translated using Weblate (Italian)
mymage Apr 5, 2023
98e6d56
Translated using Weblate (Italian)
mymage Apr 12, 2023
0957321
Translated using Weblate (French)
sanrav May 8, 2023
b878f20
Translated using Weblate (French)
sanrav May 10, 2023
9f6d557
Translated using Weblate (Italian)
mymage May 18, 2023
8d0e5a4
[UPD] Update account_cutoff_base.pot
May 18, 2023
2794496
Update translation files
weblate May 18, 2023
f7d2a6c
Translated using Weblate (French)
sanrav Jun 1, 2023
3079119
Translated using Weblate (French (France) (fr_FR))
sanrav Jun 1, 2023
7d28496
Translated using Weblate (Italian)
francesco-ooops Jun 6, 2023
fa19264
Translated using Weblate (Italian)
mymage Jun 15, 2023
7482ddc
cutoff modules: improve strings
alexis-via Jun 20, 2023
cc2d087
Translated using Weblate (French)
Jun 20, 2023
fe808b0
[UPD] Update account_cutoff_base.pot
Jun 20, 2023
ce3ad6e
account_cutoff_base 16.0.1.1.0
OCA-git-bot Jun 20, 2023
0836473
Update translation files
weblate Jun 20, 2023
11444c6
Translated using Weblate (Catalan)
Jun 23, 2023
2a22e55
Translated using Weblate (Spanish)
Ivorra78 Jun 28, 2023
a43b04d
account_cutoff_base: simplify config for taxes
alexis-via Jun 29, 2023
b930f37
Translated using Weblate (French)
Jun 29, 2023
2c56f58
[UPD] Update account_cutoff_base.pot
Jul 3, 2023
c0e5d1c
account_cutoff_base 16.0.1.2.0
OCA-git-bot Jul 3, 2023
8d4d366
Update translation files
weblate Jul 3, 2023
054b24f
Translated using Weblate (Spanish)
Ivorra78 Jul 5, 2023
66fb813
Translated using Weblate (Spanish)
Ivorra78 Jul 11, 2023
3103225
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d23d1b2
[UPD] Update account_cutoff_base.pot
Sep 3, 2023
a61e71b
Translated using Weblate (Italian)
mymage Aug 22, 2023
6231780
Update translation files
weblate Sep 3, 2023
fc9373a
Translated using Weblate (Spanish)
Ivorra78 Sep 4, 2023
f951931
[UPD] Update account_cutoff_base.pot
Oct 27, 2023
6666f1d
Update translation files
weblate Oct 29, 2023
47432c3
Translated using Weblate (Spanish)
Ivorra78 Oct 29, 2023
516e046
[FIX] account_cutoff_base: tax in view
jbaudoux Oct 26, 2023
d5003f3
[UPD] Update account_cutoff_base.pot
Nov 7, 2023
24fd8c2
[BOT] post-merge updates
OCA-git-bot Nov 7, 2023
97b964b
Update translation files
weblate Nov 7, 2023
77b823f
[TRN] remove fr_FR.po
sbidoul Nov 21, 2023
28f3fbc
[IMP] account_cutoff_base: pre-commit auto fixes
thaolt99 Nov 27, 2023
8d87d07
[MIG] account_cutoff_base: Migration to 17.0
thaolt99 Nov 27, 2023
f34da90
[UPD] Update account_cutoff_base.pot
Dec 8, 2023
9e5f1d2
[BOT] post-merge updates
OCA-git-bot Dec 8, 2023
859d2ca
[FIX] account_cutoff_base: wrong states={} migration
alexis-via Jan 29, 2024
6963447
[FIX] account_cutoff_base: fix maintainers in manifest
alexis-via Jan 29, 2024
0a5a51e
[IMP] account_cutoff_base: migrate config page to new syntax
alexis-via Jan 29, 2024
009a458
Update translation files
weblate Feb 3, 2024
feff364
Translated using Weblate (Italian)
mymage Feb 6, 2024
04d24aa
Translated using Weblate (Spanish)
Ivorra78 Feb 8, 2024
8e8b859
[BOT] post-merge updates
OCA-git-bot Feb 9, 2024
1d9d16f
Translated using Weblate (Italian)
mymage Feb 16, 2024
1a6e5aa
Translated using Weblate (Italian)
mymage Mar 18, 2024
c9711ca
Translated using Weblate (Swedish)
jakobkrabbe Jun 4, 2024
8995a2a
[UPD] Update account_cutoff_base.pot
Jul 31, 2024
7237e61
Update translation files
weblate Jul 31, 2024
f74f9c2
Translated using Weblate (Italian)
mymage Oct 21, 2024
5bc8dba
[IMP] account_cutoff_base: pre-commit auto fixes
alexis-via Feb 27, 2025
c18da78
[MIG] account_cutoff_base: migrate to v18
alexis-via Feb 27, 2025
850279e
[IMP] account_cutoff_base: compute fields instead of default values
alexis-via Feb 27, 2025
eaf83fd
[IMP] account_cutoff_base: update cutoff journal domain
alexis-via Feb 27, 2025
bbf4d86
[IMP] account_cutoff_base: per-country autoconfiguration of companies
alexis-via Feb 27, 2025
78257af
[IMP] account_cutoff_base: notes field on lines converted to from Tex…
alexis-via Feb 27, 2025
92fed2f
[FIX] account_cutoff_base: wrong license in manifest
alexis-via Feb 27, 2025
642f0ca
[UPD] Update account_cutoff_base.pot
Jun 6, 2025
595d501
[BOT] post-merge updates
OCA-git-bot Jun 6, 2025
9d9b38e
[UPD] Update account_cutoff_base.pot
Jul 10, 2025
8b294b8
Update translation files
weblate Jul 10, 2025
a8d5830
Translated using Weblate (Italian)
mymage Jul 11, 2025
9d55061
Translated using Weblate (French)
remi-filament Oct 5, 2025
99269f1
Translated using Weblate (Spanish (Argentina))
nanosgr Jan 6, 2026
b03a6a5
[MIG] account_cutoff_base: migrate 18 -> 19
alexis-via Jan 19, 2026
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
141 changes: 141 additions & 0 deletions account_cutoff_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

====================
Account Cut-off Base
====================

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

.. |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/license-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/19.0/account_cutoff_base
: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-19-0/account-closing-19-0-account_cutoff_base
: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=19.0
:alt: Try me on Runboat

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

This module contains the technical basis for other cut-off modules ; it
doesn't provide useful features by itself. You need to install other
cut-off modules to get the useful features:

- the module *account_cutoff_start_end_dates* will manage cut-offs
based on start date and end date of invoice/move lines,
- the module *account_cutoff_picking* will manage cut-offs based on the
pickings.
- the module *account_cutoff_accrual_subscription* will manage cut-offs
based on subscriptions.

**Table of contents**

.. contents::
:local:

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

Go to the menu *Invoicing > Configuration > Settings* and configure the
parameters that are in the *Cut-off* section.

If you have enabled the option *Accural on Taxes*, you can either:

- configure the *Default Tax Account for Accrued Revenue* and *Default
Tax Account for Accrued Expense* on the configuration page.
- if you need to use different accounts depending on the tax, go to
*Invoicing > Configuration > Accounting > Taxes* and configure the
*Accrued Revenue Tax Account* on sale taxes and *Accrued Expense Tax
Account* on purchase taxes.

Usage
=====

This module is used as a base for other cut-off modules. Please refer to
the README of the other cut-off modules.

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_cutoff_base%0Aversion:%2019.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>

- Alexandre Fayolle <alexandre.fayolle@camptocamp.com>

- Stéphane Bidoul (ACSONE)

- Adrien Peiffer (ACSONE)

- Pedro M. Baeza <pedro.baeza@gmail.com>

- Jeroen Evens <jeroen.evenss@dynapps.be>

- Jim Hoefnagels <jim.hoefnagels@dynapps.be>

- `Trobz <https://trobz.com>`__:

- Dzung Tran <dungtd@trobz.com>
- Thao Le <thaolt@trobz.com>

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/19.0/account_cutoff_base>`_ 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 account_cutoff_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import models
from . import wizards
from .post_install import company_country_cutoff_setup
27 changes: 27 additions & 0 deletions account_cutoff_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2013-2021 Akretion
# Copyright 2018-2021 Camptocamp
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Cut-off Base",
"version": "19.0.1.0.0",
"category": "Accounting & Finance",
"summary": "Base module for Account Cut-offs",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/account-closing",
"depends": ["account"],
"data": [
"security/account_cutoff_base_security.xml",
"security/ir.model.access.csv",
"views/res_config_settings.xml",
"views/account_cutoff.xml",
"views/account_cutoff_line.xml",
"views/account_cutoff_tax_line.xml",
"views/account_cutoff_mapping.xml",
"views/account_tax.xml",
],
"post_init_hook": "company_country_cutoff_setup",
"installable": True,
"license": "AGPL-3",
}
Loading