mirror of
https://github.com/bringout/oca-ocb-test.git
synced 2026-04-21 04:42:10 +02:00
Initial commit: Test packages
This commit is contained in:
commit
080accd21c
338 changed files with 32413 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class Website(models.Model):
|
||||
_inherit = "website"
|
||||
|
||||
def _search_get_details(self, search_type, order, options):
|
||||
result = super()._search_get_details(search_type, order, options)
|
||||
if search_type in ['test']:
|
||||
result.append(self.env['test.model']._search_get_detail(self, order, options))
|
||||
return result
|
||||
Loading…
Add table
Add a link
Reference in a new issue