[FIX] spreadsheet: fix test data

Before this revision, the fields of `partner` were not searchable, which
was not correct.
This revision fixes that.

Part of task-id 2987871

X-original-commit: 2c180660e412bd0f52da920bdf8f96b200fc3aa2
Part-of: odoo/odoo#102688
This commit is contained in:
Pierre Rousseau
2022-10-07 19:45:12 +02:00
committed by Rémi Rahir
parent 19e5870dae
commit 877f190f60
+26 -4
View File
@@ -266,22 +266,41 @@ export function getBasicData() {
searchable: true,
group_operator: "sum",
},
bar: { string: "Bar", type: "boolean", store: true, sortable: true },
name: { string: "name", type: "char", store: true, sortable: true },
date: { string: "Date", type: "date", store: true, sortable: true },
bar: {
string: "Bar",
type: "boolean",
store: true,
sortable: true,
searchable: true,
},
name: {
string: "name",
type: "char",
store: true,
sortable: true,
searchable: true,
},
date: {
string: "Date",
type: "date",
store: true,
sortable: true,
searchable: true,
},
create_date: {
string: "Creation Date",
type: "datetime",
store: true,
sortable: true,
},
active: { string: "Active", type: "bool", default: true },
active: { string: "Active", type: "bool", default: true, searchable: true },
product_id: {
string: "Product",
type: "many2one",
relation: "product",
store: true,
sortable: true,
searchable: true,
},
tag_ids: {
string: "Tags",
@@ -289,6 +308,7 @@ export function getBasicData() {
relation: "tag",
store: true,
sortable: true,
searchable: true,
},
probability: {
string: "Probability",
@@ -309,6 +329,7 @@ export function getBasicData() {
relation: "res.currency",
store: true,
sortable: true,
searchable: true,
},
pognon: {
string: "Money!",
@@ -317,6 +338,7 @@ export function getBasicData() {
store: true,
sortable: true,
group_operator: "avg",
searchable: true,
},
},
records: [