Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 12.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
0 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 2 models 2 views 0 HTTP endpoints

Description

Sometimes a transmission method defined by default for the partner is not applicable. For example, when the transmission method is e-mail and the partner's e-mail is not set. This addon allows you to define substitution rules when an invoice matches certain criteria.

This module can also be used when it is not easy to define the partner's preference for the transmission method or the partner's preference is not legally permitted. For example, in some countries, invoices with payment direct debit method must be sent to the customer by post.

Dependencies

Odoo dependencies
Python dependencies
None
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 2

XML IDNameModelTypeStatus
transmit_method_substitution_rule_form_view transmit.method.substitution.rule form New
transmit_method_substitution_rule_tree_view transmit.method.substitution.rule list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (3)
  • apply_transmit_method_substitutions(self)
  • create(self, vals_list)
    @api.model_create_multi
  • get_substitution_transmit_method(self, substitution_rules)

New fields (5)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • domain Char
    default='[]' required=True
  • name Char
    required=True
  • transmit_method_id Many2one → transmit.method
    comodel_name='transmit.method' required=True string='Transmit Method'
Public methods (1)
  • get_substitution_rules_by_company(self)
    @api.model

Loading…