Skip to content
Snippets Groups Projects
Commit fea1706f authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] google_spreadsheet: avoid pollution of default view


The view had no priority set and could be used as the default view on
ir.attachment (same priority as base). The view has less information
than the generic base.view_attachment_tree that are not relevant
ouside of the context of google_spreadsheet

Same reasons for the form view

closes odoo/odoo#52522

X-original-commit: 36bf73a8
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 95538713
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
<record id="view_ir_attachment_google_spreadsheet_tree" model="ir.ui.view">
<field name="name">ir.attachment.google.spreadsheet.tree</field>
<field name="model">ir.attachment</field>
<field name="priority">100</field>
<field name="arch" type="xml">
<tree string="Google Spreadsheets">
<field name="name" string="Name"/>
......@@ -17,6 +18,7 @@
<record id="view_ir_attachment_google_spreadsheet_form" model="ir.ui.view">
<field name="name">ir.attachment.google.spreadsheet.form</field>
<field name="model">ir.attachment</field>
<field name="priority">100</field>
<field name="arch" type="xml">
<form string="Google Spreadsheets">
<sheet>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment