Skip to content

Commit 3818cf1

Browse files
[ADD] account_billling_from_cutoff
1 parent 3c2b0c4 commit 3818cf1

19 files changed

Lines changed: 901 additions & 0 deletions

File tree

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
===========================
2+
Account Billing From Cutoff
3+
===========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:3bd2ac035fb32366e6528bd429c87079ed4698590167692e1f9a8ed091e726f6
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Alpha
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--japan-lightgray.png?logo=github
20+
:target: https://github.com/OCA/l10n-japan/tree/16.0/account_billing_from_cutoff
21+
:alt: OCA/l10n-japan
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/l10n-japan-16-0/l10n-japan-16-0-account_billing_from_cutoff
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-japan&target_branch=16.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module creates billings for partners with Summary Invoicing enabled, based on the
32+
cutoff date of their invoices.
33+
34+
.. IMPORTANT::
35+
This is an alpha version, the data model and design can change at any time without warning.
36+
Only for development or testing purpose, do not use in production.
37+
`More details on development status <https://odoo-community.org/page/development-status>`_
38+
39+
**Table of contents**
40+
41+
.. contents::
42+
:local:
43+
44+
Configuration
45+
=============
46+
47+
To enable Summary Invoicing for a partner:
48+
49+
- Go to Contacts and select the partner.
50+
- In the Accounting tab, enable Summary Invoicing. Billings for this partner
51+
will then be created based on the invoices’ cutoff date.
52+
53+
Usage
54+
=====
55+
56+
To use this module,
57+
58+
- Go to *Invoicing -> Customers or Vendors -> Create Billing From Cutoff*
59+
- Set the cutoff date and click on *Create Billings*
60+
61+
Bug Tracker
62+
===========
63+
64+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-japan/issues>`_.
65+
In case of trouble, please check there if your issue has already been reported.
66+
If you spotted it first, help us to smash it by providing a detailed and welcomed
67+
`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**>`_.
68+
69+
Do not contact contributors directly about support or help with technical issues.
70+
71+
Credits
72+
=======
73+
74+
Authors
75+
~~~~~~~
76+
77+
* Quartile
78+
79+
Contributors
80+
~~~~~~~~~~~~
81+
82+
- Quartile \<<https://www.quartile.co>\>
83+
- Aung Ko Ko Lin
84+
85+
Maintainers
86+
~~~~~~~~~~~
87+
88+
This module is maintained by the OCA.
89+
90+
.. image:: https://odoo-community.org/logo.png
91+
:alt: Odoo Community Association
92+
:target: https://odoo-community.org
93+
94+
OCA, or the Odoo Community Association, is a nonprofit organization whose
95+
mission is to support the collaborative development of Odoo features and
96+
promote its widespread use.
97+
98+
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.
99+
100+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from . import wizards
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2025 Quartile (https://www.quartile.co)
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Account Billing From Cutoff",
6+
"version": "16.0.1.0.0",
7+
"depends": ["account_billing", "account_payment_term_cutoff_day"],
8+
"author": "Quartile, Odoo Community Association (OCA)",
9+
"license": "AGPL-3",
10+
"website": "https://github.com/OCA/l10n-japan",
11+
"category": "Accounting",
12+
"data": [
13+
"security/ir.model.access.csv",
14+
"wizards/account_billing_cutoff.xml",
15+
"views/res_partner_views.xml",
16+
],
17+
"development_status": "Alpha",
18+
"installable": True,
19+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import res_partner
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2025 Quartile (https://www.quartile.co)
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class ResPartner(models.Model):
8+
_inherit = "res.partner"
9+
10+
use_summary_invoicing = fields.Boolean(
11+
string="Summary Invoicing",
12+
help="If enabled, invoices for this partner will be grouped into a billing "
13+
"when using the 'Create Billings' wizard.",
14+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
To enable Summary Invoicing for a partner:
2+
3+
- Go to Contacts and select the partner.
4+
- In the Accounting tab, enable Summary Invoicing. Billings for this partner
5+
will then be created based on the invoices’ cutoff date.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Quartile \<<https://www.quartile.co>\>
2+
- Aung Ko Ko Lin
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This module creates billings for partners with Summary Invoicing enabled, based on the
2+
cutoff date of their invoices.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
To use this module,
2+
3+
- Go to *Invoicing -> Customers or Vendors -> Create Billing From Cutoff*
4+
- Set the cutoff date and click on *Create Billings*
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2+
access_wiz_account_billing_cutoff,access_wiz_account_billing_cutoff,model_wiz_account_billing_cutoff,account.group_account_invoice,1,1,1,1

0 commit comments

Comments
 (0)