mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-23 20:02:00 +02:00
13 lines
497 B
Python
13 lines
497 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import _
|
|
|
|
from odoo.addons.account.controllers.portal import PortalAccount as CustomerPortal
|
|
|
|
|
|
class PortalAccount(CustomerPortal):
|
|
|
|
def _prepare_my_account_rendering_values(self, *args, **kwargs):
|
|
rendering_values = super()._prepare_my_account_rendering_values(*args, **kwargs)
|
|
rendering_values['invoice_sending_methods'].update({'snailmail': _("by Post")})
|
|
return rendering_values
|