KeyNotFoundError: Cannot find owl.action_bag_owl in this registry! Error: Cannot find owl.action_bag_owl in this registry!
this error is came when i try to overide owl component
/* @odoo-module */
import { registry } from "@addons/web/core/registry";
//const {Component, useState} = owl;
import { Component, useState } from "@addons/odoo/owl";
export class OwlBagList extends Component {
setup() { this.state=useState({value:1})}
}
OwlBagList.template = 'owl.BagList'
registry.category("actions").add("owl.action_bag_owl", OwlBagList);
record id="action_bag_owl_id" model="ir.actions.client"
field name="name">Bags List owl field
field name="tag">owl.action_bag_owl field
record
now in view i am using same tag as owl.action_bag_owl and in js file also i am using same owl.action_bag_owl so why i am getting that error
anyone solve error