mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-22 23:02:05 +02:00
11 lines
317 B
Python
11 lines
317 B
Python
from odoo import api, models
|
|
|
|
|
|
class IrHttp(models.AbstractModel):
|
|
_inherit = 'ir.http'
|
|
|
|
@api.model
|
|
def lazy_session_info(self):
|
|
res = super().lazy_session_info()
|
|
res['show_sale_receipts'] = self.env['ir.config_parameter'].sudo().get_param('account.show_sale_receipts')
|
|
return res
|