Prod => Dev #3

Merged
admin merged 5 commits from main into dev 2026-01-10 09:18:03 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit ccbf545fe2 - Show all commits

View File

@@ -48,6 +48,8 @@ class Company(ModelSQL, ModelView):
employees = fields.One2Many('company.employee', 'company', 'Employees',
help="Add employees to the company.")
logo = fields.Binary("Logo")
@property
def header_used(self):
return Template(self.header or '').safe_substitute(self._substitutions)

View File

@@ -17,6 +17,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="header"/>
<separator name="footer"/>
<field name="footer"/>
<separator name="logo"/>
<field name="logo"/>
</page>
</notebook>
</form>