| 1 |
import { Component, xml } from "@odoo/owl"; |
| 2 |
import { registry } from "@web/core/registry"; |
| 3 |
|
| 4 |
// In pos we are not loading all the assests that the web views might need |
| 5 |
// so this is a workaround such that we don't have console warnings |
| 6 |
|
| 7 |
class DefaultField extends Component { |
| 8 |
static template = xml``; |
| 9 |
static props = ["*"]; |
| 10 |
} |
| 11 |
registry.category("fields").add("list.many2one_avatar_user", { component: DefaultField }); |
| 12 |
registry.category("fields").add("list.list_activity", { component: DefaultField }); |