mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-23 18:42:02 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
11
odoo-bringout-oca-ocb-account/account/models/ir_http.py
Normal file
11
odoo-bringout-oca-ocb-account/account/models/ir_http.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue