summaryrefslogtreecommitdiff
path: root/odoo/addons/base/wizard/base_document_layout_views.xml
AgeCommit message (Collapse)Author
2020-09-01[IMP] base: Document layout preview improvementsSimon Genin (ges)
The document layout preview is a complete defferent simplified template with its own css that replicates at best the different styles. It does not have the external layout features and lack of fidelity. The new preview actually use the real documents templates and put the result in an iframe. It now has a high fidelity, though not perfect. The goal is for a better onboarding, where clients see easely how documents will look if they had an app to generate them. Of course, the data on the document is a false invoice. Refactor all this from base to web. Task ID 2304177 closes odoo/odoo#56415 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2020-08-19[FIX] base: Render "custom colors" widgetJulien Mougenot
Since commit 11857adec059164e11cb0ed73a74a7337152bbe1 the invisible form widgets are not rendered at all. This caused an issue in the document layout designer where the "custom_colors" field was invisible but still referenced by a label with a "for" attribute. Now, said field is not completely invisible anymore; it is set with "display:none" instead to be rendered invisible and interactive as before. closes odoo/odoo#55970 Task: 2320982 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2020-06-15[IMP] account & account_edi: Some visual improvements.Florian Gilbert
Hide invoice_origin field. Hide partner_bank_id for customer invoice. Remove margin-bottom for report layout in "base" module. Hide electronic invoicing message for "Send & Print" action. Task ID: #2277282 closes odoo/odoo#52953 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-02-20[FIX] web: document layout configuration: style not scopedAdrien Dieudonne
Commit 9a482fc introduced change for the document layout preview: all "td" tag included in clearfix were in display: flex; Because of this some styles were broken in form views on mobile. We could have only put this rule in the right scope but we preferred to fix this correctly. Steps to reproduce: - Go to Settings - General Settings - Click on Configure Document Layout Related to task-ID: 2184243 closes odoo/odoo#45830 X-original-commit: 0206ee8f8a3652ae0eeb5aa78a94b92bd6e84921 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2020-02-17[FIX] base: paperformat_id is required on settingsSwapnesh Shah
Not setting a value for paperformat_id on 'Company Document Layout' will also make paperformat_id False on the company but it is required in the settings. Without this commit, you can get in the weird situation of being able to set a value on the document layout but having an error in the general settings as a required field is missing. Apply the same logic as in the other views closes odoo/odoo#45527 X-original-commit: e518063e48936a3f8f9f921950cdae209e67ab47 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-09-16[FIX] base: document layout reset colors buttonJulien Mougenot
Fixed the button allowing to reset to the logo colors in the document layout configurator. Before this commit, the custom_colors boolean asserting that the colors used by the layout are different than the ones computed from the logo and used to revert to those colors was in readonly and couldn't be toggled. Now, the boolean is editable and allows to revert the colors properly. Task 2072557 closes odoo/odoo#36968 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
2019-07-29[IMP] base: Configure document layoutJulien Mougenot
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>