diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-11 11:27:27 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-09-02 13:44:15 +0200 |
| commit | 665781d5a8524e73ce2649665d1113d9e6c854d6 (patch) | |
| tree | 9df1a7bc81578f0eaefb6a8e4e659b3561a7057a /addons/base_setup/views | |
| parent | fb0cb419127d8fb869a43bded26fd5c2e348e158 (diff) | |
[IMP] various: Move all configuration fields from res_company form to the related modules
=======
Purpose
=======
The company form should be heavily simplified. It's complex to have some settings on the company form, and others on the Settings menu of the related app. It would be much easier to have all settings in Settings menu (res.config) and nothing on the company, even if some of the Settings are multi company. (Stored on the company but set from the Settings menu).
Diffstat (limited to 'addons/base_setup/views')
| -rw-r--r-- | addons/base_setup/views/res_config_views.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/addons/base_setup/views/res_config_views.xml b/addons/base_setup/views/res_config_views.xml index 1996530b637..10c55e76b90 100644 --- a/addons/base_setup/views/res_config_views.xml +++ b/addons/base_setup/views/res_config_views.xml @@ -13,6 +13,7 @@ <div> <label string="You will find more options in your company details: address for the header and footer, overdue payments texts, etc."/> <button type="object" name="open_company" string="Configure your company data" icon="fa-cogs" class="oe_inline oe_link"/> + <field name="company_id" invisible="1"/> </div> <group> <label for="id" string="Email" name="email_label"/> @@ -109,6 +110,47 @@ </div> </div> </group> + <group string="Report Configuration" name="report"> + <label for="custom_footer"/> + <div> + <field name="custom_footer" class="oe_inline"/> + </div> + <label for="rml_footer"/> + <div> + <field name="rml_footer" class="oe_inline"/> + </div> + <label for="rml_footer_readonly"/> + <div> + <field name="rml_footer_readonly" class="oe_inline"/> + </div> + </group> + <group string="RML Report Configuration" groups="base.group_no_one"> + <button name="%(base.preview_rml_report)d" string="Preview RML Report" type="action" colspan="2"/> + <label for="rml_paper_format"/> + <div> + <field name="rml_paper_format" class="oe_inline"/> + </div> + <label for="font"/> + <div> + <field name="font" class="oe_inline"/> + <button string="(reload fonts)" name="act_discover_fonts" type="object" class="oe_link"/> + </div> + <label for="rml_header"/> + <div> + <field name="rml_header"/> + </div> + <label for="rml_header2"/> + <div> + <field name="rml_header2"/> + </div> + <label for="rml_header3"/> + <div> + <field name="rml_header3"/> + </div> + </group> + <div name="company_dependent_settings_message"> + <span>(*) This configuration value is related to the company you're logged in.</span> + </div> </form> </field> </record> |
