Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 20 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 4 models 1 view 0 HTTP endpoints

Description

This module allows to select a monthly invoicing mode for a customer. It is based on partner_invoicing_mode. When this mode is selected for a customer, the customer will be automatically invoiced

Dependencies

Odoo dependencies
Python dependencies
requests
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits partner_invoicing_mode.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • invoicing_mode_monthly_day_todo Integer
    default='31' help='Day of the month to execute the invoicing. For a number higherthan the number of days in a month, the invoicing will beexecuted on the last day of the month.' args: 'Invoicing Day'
  • invoicing_mode_monthly_last_execution Datetime
    help='Last execution of monthly invoicing.' string='Last execution (monthly)'
Public methods (0)

No public methods.

New fields (2)
  • res_invoicing_mode_monthly_day_todo Integer
    readonly=False related='company_id.invoicing_mode_monthly_day_todo'
  • res_invoicing_mode_monthly_last_execution Datetime
    related='company_id.invoicing_mode_monthly_last_execution'
Public methods (0)

No public methods.

New fields (1)
  • invoicing_mode Selection
    ondelete={'monthly': 'set default'} selection_add=[('monthly', 'Monthly')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cron_generate_monthly_invoices(self)
    @api.model
    Cron called daily to check if monthly invoicing needs to be done.
  • generate_monthly_invoices(self, companies=None)
    @api.model

Loading…

Loading…