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
458 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.getProductTab = animations.Animation.extend({
selector : '.product_tab_class',
async start(){
const data = await rpc('/get_product_tab')
if(data){
this.$target.empty().append(data);
}
}
});