Skip to content
Merged
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
117 changes: 117 additions & 0 deletions account_billing_from_cutoff/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
===========================
Account Billing From Cutoff
===========================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fl10n--japan-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-japan/tree/18.0/account_billing_from_cutoff
:alt: OCA/l10n-japan
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-japan-18-0/l10n-japan-18-0-account_billing_from_cutoff
: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/l10n-japan&target_branch=18.0
:alt: Try me on Runboat

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

This module creates billings for partners with Summary Invoicing
enabled, based on the cutoff date of their invoices.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module,

- Go to *Invoicing -> Customers or Vendors -> Create Billing From
Cutoff*
- Set the cutoff date and click on *Create Billings*

The cutoff date you enter becomes the threshold date of the billing:

- A new billing is created with *Invoice Date* as its threshold date
type and the cutoff date as its threshold date.
- When the invoices are added to an existing draft billing, its
threshold date is moved forward to the cutoff date. A threshold date
that is already later is kept, so that it is never lowered.
- A draft billing whose threshold date type is *Due Date* is not
reused. As the cutoff date is derived from the invoice date, applying
it to such a billing would leave its threshold date earlier than the
due dates of its lines and prevent the billing from being validated.

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

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

* Quartile

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

- Quartile <https://www.quartile.co>

- Aung Ko Ko Lin
- Yoshi Tashiro

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

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

|maintainer-yostashiro| |maintainer-aungkokolin1997|

This module is part of the `OCA/l10n-japan <https://github.com/OCA/l10n-japan/tree/18.0/account_billing_from_cutoff>`_ 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_billing_from_cutoff/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
24 changes: 24 additions & 0 deletions account_billing_from_cutoff/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2025 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Account Billing From Cutoff",
"summary": "Create billings based on invoice cutoff dates",
"version": "18.0.1.0.0",
"depends": [
"account_billing",
"account_payment_term_cutoff_day",
"l10n_jp_summary_invoice",
],
"author": "Quartile, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-japan",
"category": "Accounting",
"data": [
"security/ir.model.access.csv",
"wizards/account_billing_cutoff.xml",
],
"development_status": "Alpha",
"maintainers": ["yostashiro", "aungkokolin1997"],
"installable": True,
}
3 changes: 3 additions & 0 deletions account_billing_from_cutoff/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions account_billing_from_cutoff/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Quartile \<<https://www.quartile.co>\>
- Aung Ko Ko Lin
Comment thread
AungKoKoLin1997 marked this conversation as resolved.
- Yoshi Tashiro
2 changes: 2 additions & 0 deletions account_billing_from_cutoff/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module creates billings for partners with Summary Invoicing
enabled, based on the cutoff date of their invoices.
17 changes: 17 additions & 0 deletions account_billing_from_cutoff/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
To use this module,

- Go to *Invoicing -\> Customers or Vendors -\> Create Billing From
Cutoff*
- Set the cutoff date and click on *Create Billings*

The cutoff date you enter becomes the threshold date of the billing:

- A new billing is created with *Invoice Date* as its threshold date
type and the cutoff date as its threshold date.
- When the invoices are added to an existing draft billing, its
threshold date is moved forward to the cutoff date. A threshold date
that is already later is kept, so that it is never lowered.
- A draft billing whose threshold date type is *Due Date* is not reused.
As the cutoff date is derived from the invoice date, applying it to
such a billing would leave its threshold date earlier than the due
dates of its lines and prevent the billing from being validated.
2 changes: 2 additions & 0 deletions account_billing_from_cutoff/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_wiz_account_billing_cutoff,access_wiz_account_billing_cutoff,model_wiz_account_billing_cutoff,account.group_account_invoice,1,1,1,1
Loading
Loading