Sausage & Sons Franchise Model: A Recipe for Rapid, Scalable F&B Growth in Malaysia
February 11, 2026
by
Nurul
// 1. 获取刚才上传成功的附件 ID
const attachmentId = $json.id;
// 2. 构建 Odoo 专用的封面配置 JSON
const coverConfig = {
"background-image": "url(/web/image/" + attachmentId + ")",
"background_color_class": "o_cc3",
"opacity": "0.4",
"resize_class": "o_half_screen_height"
};
// 3. 返回字符串化的 JSON
return JSON.stringify(coverConfig);
in Service