reporting-engine/report_layout_config/models/res_company.py

20 lines
512 B
Python
Raw Normal View History

2024-10-01 05:53:56 +00:00
# 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,
)