Skip to content
Open
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
100 changes: 100 additions & 0 deletions account_billing_from_cutoff/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
===========================
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/16.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-16-0/l10n-japan-16-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=16.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:

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

To enable Summary Invoicing for a partner:

- Go to Contacts and select the partner.
- In the Accounting tab, enable Summary Invoicing. Billings for this partner
will then be created based on the invoices’ cutoff date.

Usage
=====

To use this module,

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

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:%2016.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

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.

This module is part of the `OCA/l10n-japan <https://github.com/OCA/l10n-japan/tree/16.0/account_billing_from_cutoff>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions account_billing_from_cutoff/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
19 changes: 19 additions & 0 deletions account_billing_from_cutoff/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2025 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Account Billing From Cutoff",
"version": "16.0.1.0.0",
"depends": ["account_billing", "account_payment_term_cutoff_day"],
"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",
"views/res_partner_views.xml",
],
"development_status": "Alpha",
"installable": True,
}
1 change: 1 addition & 0 deletions account_billing_from_cutoff/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_partner
14 changes: 14 additions & 0 deletions account_billing_from_cutoff/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2025 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ResPartner(models.Model):
_inherit = "res.partner"

use_summary_invoicing = fields.Boolean(
string="Summary Invoicing",
help="If enabled, invoices for this partner will be grouped into a billing "
"when using the 'Create Billings' wizard.",
)
5 changes: 5 additions & 0 deletions account_billing_from_cutoff/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To enable Summary Invoicing for a partner:

- Go to Contacts and select the partner.
- In the Accounting tab, enable Summary Invoicing. Billings for this partner
will then be created based on the invoices’ cutoff date.
2 changes: 2 additions & 0 deletions account_billing_from_cutoff/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Quartile \<<https://www.quartile.co>\>
- Aung Ko Ko Lin
2 changes: 2 additions & 0 deletions account_billing_from_cutoff/readme/DESCRIPTION.rst
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.
4 changes: 4 additions & 0 deletions account_billing_from_cutoff/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
To use this module,

- Go to *Invoicing -> Customers or Vendors -> Create Billing From Cutoff*
- Set the cutoff date and click on *Create Billings*
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