TIP: You can type at any time to perform a new search.
Account Invoice Payment Mode Note Template
account_invoice_payment_mode_note_template · OCA/account-invoice-reporting
- Repository
- OCA/account-invoice-reporting · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoice-reporting
- Last tracking update
- 2026-08-07 08:43:00
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, Samir GUESMI
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This addon allow user to customize the payment mode note using jinja2 templates
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_payment_mode_form |
account.payment.mode | form | Inherits account_payment_mode.account_payment_mode_form | |
account_payment_mode_note_template_form_view |
account.payment.mode.note.template | form | New | |
report_invoice_payment_mode |
report_invoice_payment_mode | ir.ui.view | qweb | Inherits account_payment_partner.report_invoice_payment_mode |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (1)
-
noteHtmlsanitize_attributes=Falsesanitize_tags=Falsetranslate=True
-
action_update_template_note(self) -
render_note(self, invoice, raise_error=False)
New fields (7)
-
copyvalueCharhelp='Final placeholder expression, to be copy-pasted in the desired template field.' args: 'Placeholder Expression' -
model_object_fieldMany2one → ir.model.fieldshelp='Select target field from the related document model.\nIf it is a relationship field you will be able to select a target field at the destination of the relationship.'string='Field' args: 'ir.model.fields' -
noteHtmltranslate=True -
null_valueCharhelp='Optional value to use if the target field is empty' args: 'Default Value' -
payment_mode_idMany2one → account.payment.modecomodel_name='account.payment.mode'ondelete='cascade'required=True -
sub_model_object_fieldMany2one → ir.model.fieldshelp='When a relationship field is selected as first field, this field lets you select the target field within the destination document model (sub-model).' args: 'ir.model.fields', 'Sub-field' -
sub_objectMany2one → ir.modelhelp='When a relationship field is selected as first field, this field shows the document model the relationship goes to.'readonly=True args: 'ir.model', 'Sub-model'
-
build_expression(self, field_name, sub_field_name, null_value) -
onchange_sub_model_object_value_field(self)@api.onchange('model_object_field', 'sub_model_object_field', 'null_value') -
validate(self)