Skip to Content
Menu
This question has been flagged
1 Odpoveď
1637 Zobrazenia

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


Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
júl 23
2911
1
máj 25
1256
3
apr 24
7770
0
apr 24
1110
0
apr 24
1107