19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -0,0 +1 @@
from . import portal

View file

@ -0,0 +1,13 @@
# 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