mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-19 13:12:06 +02:00
Initial commit: Technical packages
This commit is contained in:
commit
3473fa71a0
873 changed files with 297766 additions and 0 deletions
15
odoo-bringout-oca-ocb-iap/iap/models/res_config_settings.py
Normal file
15
odoo-bringout-oca-ocb-iap/iap/models/res_config_settings.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
@api.model
|
||||
def _redirect_to_iap_account(self):
|
||||
return {
|
||||
'type': 'ir.actions.act_url',
|
||||
'url': self.env['iap.account'].get_account_url(),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue