summaryrefslogtreecommitdiff
path: root/src-migrate/types
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/types')
-rw-r--r--src-migrate/types/auth.ts9
-rw-r--r--src-migrate/types/productVariant.ts1
2 files changed, 6 insertions, 4 deletions
diff --git a/src-migrate/types/auth.ts b/src-migrate/types/auth.ts
index 593e120f..8feac2e1 100644
--- a/src-migrate/types/auth.ts
+++ b/src-migrate/types/auth.ts
@@ -16,10 +16,11 @@ export type AuthProps = {
company: boolean;
pricelist: string | null;
token: string;
- feature : {
- onlyReadyStock : boolean,
- soApproval : boolean
- }
+ feature: {
+ onlyReadyStock: boolean;
+ soApproval: boolean;
+ };
+ partner_tempo: boolean;
};
export type AuthApiProps = OdooApiRes<AuthProps>;
diff --git a/src-migrate/types/productVariant.ts b/src-migrate/types/productVariant.ts
index 861b216a..5144e7c1 100644
--- a/src-migrate/types/productVariant.ts
+++ b/src-migrate/types/productVariant.ts
@@ -4,6 +4,7 @@ export interface IProductVariantDetail {
code: string;
name: string;
weight: number;
+ is_in_bu: boolean;
is_flashsale: {
remaining_time: number;
is_flashsale: boolean;