跳至內容
選單
此問題已被標幟
1 回覆
1840 瀏覽次數

Hello,
I'm extending the aforementioned module to no avail...
What am I doing wrong?


頭像
捨棄
最佳答案

Hi,

Try to extend like:

/** @odoo-module **/

import PaymentScreen from 'point_of_sale.PaymentScreen';

import Registries from 'point_of_sale.Registries';

import session from 'web.session';

import { PosLoyaltyCard } from '@pos_loyalty/js/Loyalty';


export const PosLoyaltyPaymentScreen = (PaymentScreen) =>

    class extends PaymentScreen {}


Hope it helps

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 23
3189
1
5月 25
1498
3
4月 24
8143
0
4月 24
1240
0
4月 24
1289