TIP: You can type at any time to perform a new search.
Account Invoice Transmit Method Substitution Rule
account_invoice_transmit_method_substitution_rule · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoicing
- Last tracking update
- 2026-08-07 08:42:47
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, hda
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>string='Company' -
domainChardefault='[]'required=True -
nameCharrequired=True -
transmit_method_idMany2one → transmit.methodcomodel_name='transmit.method'required=Truestring='Transmit Method'
-
get_substitution_rules_by_company(self)@api.model
Loading…