You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
442 B
15 lines
442 B
/** @odoo-module **/
|
|
|
|
import { rpc } from "@web/core/network/rpc";
|
|
import publicWidget from "@web/legacy/js/public/public_widget";
|
|
import animations from "@website/js/content/snippets.animation";
|
|
|
|
publicWidget.registry.findCar = animations.Animation.extend({
|
|
selector : '.find_car_class',
|
|
async start() {
|
|
const data = await rpc('/find_car')
|
|
if(data){
|
|
this.$target.empty().append(data);
|
|
}
|
|
}
|
|
});
|
|
|