mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-25 14:52:06 +02:00
Initial commit: Odoomates Odoo packages (12 packages)
This commit is contained in:
commit
3b38c49bf0
526 changed files with 34983 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
|
||||
|
||||
class AccountConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
def open_followup_level_form(self):
|
||||
res_ids = self.env['followup.followup'].search([], limit=1)
|
||||
return {
|
||||
'type': 'ir.actions.act_window',
|
||||
'name': 'Follow-up Levels',
|
||||
'res_model': 'followup.followup',
|
||||
'res_id': res_ids and res_ids.id or False,
|
||||
'view_mode': 'form,tree',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue