@@ -68,7 +68,7 @@ WithSearch.props = {
|
||||
display: { type: Object, optional: true },
|
||||
|
||||
// search query elements
|
||||
comparison: { validate: () => true, optional: true }, // fix problem with validation with type: [Object, null]
|
||||
comparison: { type: [Object, { value: null }], optional: true },
|
||||
// Issue OWL: https://github.com/odoo/owl/issues/910
|
||||
context: { type: Object, optional: true },
|
||||
domain: { type: Array, element: [String, Array], optional: true },
|
||||
|
||||
@@ -20,7 +20,7 @@ export const standardViewProps = {
|
||||
arch: { type: String },
|
||||
bannerRoute: { type: String, optional: true },
|
||||
className: { type: String, optional: true },
|
||||
comparison: { validate: () => true }, // fix problem with validation with type: [Object, null]
|
||||
comparison: { type: [Object, { value: null }], optional: true },
|
||||
// Issue OWL: https://github.com/odoo/owl/issues/910
|
||||
context: { type: Object },
|
||||
createRecord: { type: Function, optional: true },
|
||||
|
||||
Reference in New Issue
Block a user