The onboarding modal for setting up the few base fields of a company has now been moved to a wizard It is accessible from the general settings, but also in the onboarding section of sale and account modules. The following company settings are editable with that wizard: - Set report **layout**: The user can chose the overall look of the report. The current choices are : *Standard* (default), *Background*, *Boxed* and *Clean*. - Set company **logo**: Changes the company logo. - Set report **colors**: The user can set the primary and secondary colors of the report through a newly added widget allowing to pick a custom color. When changing the **logo**, colors are automatically set to its most dominant colors. > A "Reset colors" button also triggers the color calculation. - Set report **font**: Changes the overall font of the report. Only Google Fonts are used for enhanced compatibility. - Company **tagline**, also called "header" - **Footer** - **Paper format** - Report **preview**: A mockup of a final report Automatically updates when changing **layout**, **logo**, **colors** or **font** Co-authored by: Julien Mougenot <jum@odoo.com> closes odoo/odoo#33863 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com> Co-authored-by: Lucas Perais <lpe@odoo.com>
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="report_layout_standard" model="report.layout">
|
|
<field name="name">Standard</field>
|
|
<field name="view_id" ref="web.external_layout_standard"/>
|
|
<field name="image">/web/static/img/preview_standard.png</field>
|
|
<field name="pdf">/web/static/pdf/preview_standard.pdf</field>
|
|
</record>
|
|
<record id="report_layout_background" model="report.layout">
|
|
<field name="name">Background</field>
|
|
<field name="view_id" ref="web.external_layout_background"/>
|
|
<field name="image">/web/static/img/preview_background.png</field>
|
|
<field name="pdf">/web/static/pdf/preview_background.pdf</field>
|
|
</record>
|
|
<record id="report_layout_boxed" model="report.layout">
|
|
<field name="name">Boxed</field>
|
|
<field name="view_id" ref="web.external_layout_boxed"/>
|
|
<field name="image">/web/static/img/preview_boxed.png</field>
|
|
<field name="pdf">/web/static/pdf/preview_boxed.pdf</field>
|
|
</record>
|
|
<record id="report_layout_clean" model="report.layout">
|
|
<field name="name">Clean</field>
|
|
<field name="view_id" ref="web.external_layout_clean"/>
|
|
<field name="image">/web/static/img/preview_clean.png</field>
|
|
<field name="pdf">/web/static/pdf/preview_clean.pdf</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|