diff options
| author | Simon Genin (ges) <ges@odoo.com> | 2020-07-30 20:21:03 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2020-09-01 08:58:40 +0000 |
| commit | c121a246f16899735306266a3a12b526e08e7620 (patch) | |
| tree | 489c09e57ae1c46a28c3c51d7b97f08c29917479 /addons/base_setup | |
| parent | e43c35d3c95c58d6d6af424d4eebf8244c83f332 (diff) | |
[IMP] base: Document layout preview improvements
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>
Diffstat (limited to 'addons/base_setup')
| -rw-r--r-- | addons/base_setup/views/res_config_settings_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml index ab4002a54ab..7398104b97f 100644 --- a/addons/base_setup/views/res_config_settings_views.xml +++ b/addons/base_setup/views/res_config_settings_views.xml @@ -123,7 +123,7 @@ <field name="external_report_layout_id" domain="[('type','=', 'qweb')]" class="oe_inline"/> </div> <div class="mt8"> - <button name="%(base.action_base_document_layout_configurator)d" string="Configure Document Layout" type="action" class="oe_link" icon="fa-arrow-right"/> + <button name="%(web.action_base_document_layout_configurator)d" string="Configure Document Layout" type="action" class="oe_link" icon="fa-arrow-right"/> <button name="edit_external_header" string="Edit Layout" type="object" class="oe_link" groups="base.group_no_one"/> <button name="%(web.action_report_externalpreview)d" string="Preview Document" type="action" class="oe_link" groups="base.group_no_one"/> </div> |
