mirror of
https://github.com/bringout/oca-ocb-report.git
synced 2026-04-23 17:42:09 +02:00
19.0 vanilla
This commit is contained in:
parent
62d197ac8b
commit
184bb0e321
667 changed files with 691406 additions and 239886 deletions
|
|
@ -0,0 +1,16 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class IrHttp(models.AbstractModel):
|
||||
_inherit = 'ir.http'
|
||||
|
||||
def session_info(self):
|
||||
"""
|
||||
Override this method to enable the 'Insert in spreadsheet' button in the
|
||||
web client.
|
||||
"""
|
||||
res = super().session_info()
|
||||
res["can_insert_in_spreadsheet"] = False
|
||||
return res
|
||||
Loading…
Add table
Add a link
Reference in a new issue