reporting-engine/report_layout_config/models/res_company.py
2024-10-01 07:53:56 +02:00

20 lines
512 B
Python

# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class ResCompany(models.Model):
_inherit = "res.company"
full_header_img = fields.Binary(
string="Full header image",
help="This image will replace all header.",
attachment=True,
)
full_footer_img = fields.Binary(
string="Full footer image",
help="This image will replace all footer.",
attachment=True,
)