Billing Process
account_billing · OCA/account-invoicing
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Description
In some countries, there is a customary practice for companies to collect money from their customers only once in a month. For example, the customer has 3 payments due in a given month, the vendor or billing company should group all the due AR Invoices in a document call Billing Document and issue it with all the invoices consolidated to the customer on the Billing Day. The customer will be paying based on the payable amount shown in Billing Document in the following month.
This module use a new document called "Billing" to group these invoices together.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_billing |
report_billing | ir.ui.view | qweb | New |
report_billing_document |
report_billing_document | ir.ui.view | qweb | New |
view_account_billing_form |
account.billing.form | account.billing | form | New |
view_account_billing_tree |
account.billing.list | account.billing | list | New |
view_billing_search |
account.billing.search | account.billing | search | New |
view_invoice_config_settings |
res.config.settings | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_invoice_tree |
account.invoice.tree | account.move | tree | Inherits account.view_invoice_tree |
view_move_form |
account.move.form.inherit.view.billing | account.move | form | Inherits account.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
-
amount_dueMonetarycompute='_compute_amount_due'store=True -
amount_taxMonetarycompute='_compute_amount'store=Truestring='Tax Amount' -
amount_totalMonetarycompute='_compute_amount'store=Truestring='Total Amount' -
amount_untaxedMonetarycompute='_compute_amount'store=Truestring='Untaxed Amount' -
bill_typeSelectiondefault=<expr>help='Type of invoice'readonly=Trueselection=[('out_invoice', 'Customer Invoice'), ('in_invoice', 'Vendor Bill')] -
billing_line_idsOne2many → account.billing.linecomodel_name='account.billing.line'inverse_name='billing_id'readonly=Truestring='Bill Lines' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>index=Truerequired=True -
currency_idMany2one → res.currencycomodel_name='res.currency'default=<expr>help='Currency'readonly=Truerequired=True -
dateDatedefault=fields.Date.context_todayhelp='Effective date for accounting entries'readonly=Truestring='Billing Date'tracking=True -
invoice_related_countIntegercompute='_compute_invoice_related_count'help='Count invoice in billing'string='# of Invoices' -
is_being_sentBooleancompute='_compute_is_being_sent' -
is_sentBooleancopy=Falsehelp='It indicates that the billing has been sent by email.'readonly=True -
nameCharcopy=Falsehelp='Number of account.billing'readonly=True -
narrationHtmlhelp='Notes'readonly=Truestring='Notes' -
partner_idMany2one → res.partnercomodel_name='res.partner'help='Partner Information'required=Truetracking=True -
payment_paid_allBooleancompute='_compute_payment_paid_all'store=True -
sending_dataJsoncopy=False -
stateSelectiondefault='draft'help="\n * The 'Draft' status is used when a user create a new billing\n\n * The 'Billed' status is used when user confirmed billing,\n billing number is generated\n\n * The 'Cancelled' status is used when user billing is cancelled\n "readonly=Trueselection=[('draft', 'Draft'), ('cancel', 'Cancelled'), ('billed', 'Billed')]string='Status' -
threshold_dateDatedefault=<expr>help='All invoices with date (threshold date type) before and equal to threshold date will be listed in billing lines'readonly=Truerequired=Truetracking=True -
threshold_date_typeSelectiondefault=<expr>help='All invoices with date (threshold date type) before and equal to threshold date will be listed in billing lines'readonly=Truerequired=Trueselection=[('invoice_date_due', 'Due Date'), ('invoice_date', 'Invoice Date')]
-
action_billing_send(self) -
action_cancel(self) -
action_cancel_draft(self) -
action_register_payment(self) -
compute_lines(self) -
invoice_relate_billing_tree_view(self) -
message_post(self, **kwargs) -
validate_billing(self)
-
amount_residualMonetarycompute='_compute_amount_residual'store=Truestring='Amount Due' -
amount_totalMonetaryreadonly=Truestring='Total' -
billing_idMany2one → account.billingcomodel_name='account.billing' -
currency_idMany2onerelated='move_id.currency_id' -
invoice_dateDatecompute='_compute_invoice_date' -
move_idMany2one → account.movecomodel_name='account.move'index=True -
nameCharrelated='move_id.name' -
originCharrelated='move_id.invoice_origin' -
payment_stateSelectionrelated='move_id.payment_state' -
sequenceIntegerdefault=10 -
stateSelectionrelated='move_id.state'
No public methods.
-
billing_idsMany2many → account.billingcomodel_name='account.billing'compute='_compute_billing_ids'groups='account.group_account_invoice'help='Relationship between invoice and billing'string='Billings' -
billing_line_idsOne2many → account.billing.linecomodel_name='account.billing.line'groups='account.group_account_invoice'help='Billing lines that reference this invoice'inverse_name='move_id'string='Billing Lines'
-
action_create_billing(self) -
button_draft(self)
-
billing_email_template_idMany2one → mail.templatedomain=[('model', '=', 'account.billing')]help='Template used for sending billing emails.'string='Billing email template' args: 'mail.template'
No public methods.
-
billing_email_template_idMany2onereadonly=Falserelated='company_id.billing_email_template_id'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…