shutro-erp 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +54 -3
- package/dist/account_portal/module.d.ts +359 -6
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +54 -3
- package/dist/accounting/index.js +214 -2
- package/dist/accounting/module.d.ts +217 -5
- package/dist/accounting/module.js +23 -2
- package/dist/calendar/.kosh/bindings.d.ts +22 -0
- package/dist/calendar/.kosh/bindings.js +15 -0
- package/dist/calendar/.kosh/schema.d.ts +795 -0
- package/dist/calendar/demo.d.ts +6 -0
- package/dist/calendar/demo.js +24 -0
- package/dist/calendar/index.d.ts +3 -0
- package/dist/calendar/index.js +291 -0
- package/dist/calendar/module.d.ts +1705 -0
- package/dist/calendar/module.js +180 -0
- package/dist/cli/init.js +48 -0
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +137 -0
- package/dist/contacts/.kosh/bindings.js +1 -1
- package/dist/contacts/.kosh/schema.d.ts +78 -3
- package/dist/contacts/demo.js +30 -1
- package/dist/contacts/index.d.ts +1 -1
- package/dist/contacts/index.js +155 -9
- package/dist/contacts/module.d.ts +338 -2
- package/dist/contacts/module.js +82 -5
- package/dist/crm/.kosh/bindings.d.ts +22 -0
- package/dist/crm/.kosh/bindings.js +15 -0
- package/dist/crm/.kosh/schema.d.ts +799 -0
- package/dist/crm/demo.d.ts +6 -0
- package/dist/crm/demo.js +45 -0
- package/dist/crm/index.d.ts +3 -0
- package/dist/crm/index.js +361 -0
- package/dist/crm/module.d.ts +1843 -0
- package/dist/crm/module.js +207 -0
- package/dist/event/.kosh/bindings.d.ts +22 -0
- package/dist/event/.kosh/bindings.js +15 -0
- package/dist/event/.kosh/schema.d.ts +843 -0
- package/dist/event/demo.d.ts +6 -0
- package/dist/event/demo.js +65 -0
- package/dist/event/index.d.ts +14 -0
- package/dist/event/index.js +333 -0
- package/dist/event/mails.d.ts +15 -0
- package/dist/event/mails.js +112 -0
- package/dist/event/module.d.ts +2800 -0
- package/dist/event/module.js +323 -0
- package/dist/event/web/CheckInBox.d.ts +9 -0
- package/dist/event/web/CheckInBox.js +87 -0
- package/dist/event/web/index.d.ts +11 -0
- package/dist/event/web/index.js +16 -0
- package/dist/event/web/messages.d.ts +2 -0
- package/dist/event/web/messages.js +23 -0
- package/dist/event_account/.kosh/bindings.d.ts +22 -0
- package/dist/event_account/.kosh/bindings.js +15 -0
- package/dist/event_account/.kosh/schema.d.ts +1639 -0
- package/dist/event_account/index.d.ts +3 -0
- package/dist/event_account/index.js +28 -0
- package/dist/event_account/module.d.ts +6968 -0
- package/dist/event_account/module.js +90 -0
- package/dist/hr/.kosh/bindings.d.ts +22 -0
- package/dist/hr/.kosh/bindings.js +15 -0
- package/dist/hr/.kosh/schema.d.ts +878 -0
- package/dist/hr/demo.d.ts +6 -0
- package/dist/hr/demo.js +60 -0
- package/dist/hr/index.d.ts +3 -0
- package/dist/hr/index.js +483 -0
- package/dist/hr/module.d.ts +2611 -0
- package/dist/hr/module.js +350 -0
- package/dist/l10n_bd/.kosh/bindings.js +1 -1
- package/dist/l10n_bd/.kosh/schema.d.ts +54 -3
- package/dist/l10n_bd/module.d.ts +359 -6
- package/dist/l10n_in/.kosh/bindings.js +1 -1
- package/dist/l10n_in/.kosh/schema.d.ts +54 -3
- package/dist/l10n_in/module.d.ts +380 -7
- package/dist/maintenance/.kosh/bindings.d.ts +22 -0
- package/dist/maintenance/.kosh/bindings.js +15 -0
- package/dist/maintenance/.kosh/schema.d.ts +911 -0
- package/dist/maintenance/demo.d.ts +6 -0
- package/dist/maintenance/demo.js +60 -0
- package/dist/maintenance/index.d.ts +3 -0
- package/dist/maintenance/index.js +422 -0
- package/dist/maintenance/module.d.ts +3545 -0
- package/dist/maintenance/module.js +446 -0
- package/dist/maintenance_stock/.kosh/bindings.d.ts +22 -0
- package/dist/maintenance_stock/.kosh/bindings.js +15 -0
- package/dist/maintenance_stock/.kosh/schema.d.ts +1371 -0
- package/dist/maintenance_stock/index.d.ts +9 -0
- package/dist/maintenance_stock/index.js +52 -0
- package/dist/maintenance_stock/module.d.ts +6953 -0
- package/dist/maintenance_stock/module.js +192 -0
- package/dist/modules-sdk/index.d.ts +1 -1
- package/dist/modules-sdk/manifest.d.ts +70 -0
- package/dist/modules-sdk/manifest.js +35 -1
- package/dist/mrp/.kosh/bindings.d.ts +22 -0
- package/dist/mrp/.kosh/bindings.js +15 -0
- package/dist/mrp/.kosh/schema.d.ts +1378 -0
- package/dist/mrp/demo.d.ts +7 -0
- package/dist/mrp/demo.js +42 -0
- package/dist/mrp/index.d.ts +3 -0
- package/dist/mrp/index.js +392 -0
- package/dist/mrp/module.d.ts +8608 -0
- package/dist/mrp/module.js +695 -0
- package/dist/mrp_account/.kosh/bindings.d.ts +22 -0
- package/dist/mrp_account/.kosh/bindings.js +15 -0
- package/dist/mrp_account/.kosh/schema.d.ts +2106 -0
- package/dist/mrp_account/index.d.ts +3 -0
- package/dist/mrp_account/index.js +22 -0
- package/dist/mrp_account/module.d.ts +20840 -0
- package/dist/mrp_account/module.js +123 -0
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +54 -3
- package/dist/payment/module.d.ts +359 -6
- package/dist/portal/.kosh/bindings.js +1 -1
- package/dist/portal/.kosh/schema.d.ts +78 -3
- package/dist/portal/module.d.ts +166 -2
- package/dist/pos/.kosh/bindings.d.ts +22 -0
- package/dist/pos/.kosh/bindings.js +15 -0
- package/dist/pos/.kosh/schema.d.ts +1690 -0
- package/dist/pos/accounting.d.ts +10 -0
- package/dist/pos/accounting.js +149 -0
- package/dist/pos/demo.d.ts +6 -0
- package/dist/pos/demo.js +90 -0
- package/dist/pos/index.d.ts +9 -0
- package/dist/pos/index.js +349 -0
- package/dist/pos/module.d.ts +9636 -0
- package/dist/pos/module.js +423 -0
- package/dist/pos/routes.d.ts +39 -0
- package/dist/pos/routes.js +368 -0
- package/dist/pos/web/Register.d.ts +9 -0
- package/dist/pos/web/Register.js +252 -0
- package/dist/pos/web/index.d.ts +11 -0
- package/dist/pos/web/index.js +16 -0
- package/dist/pos/web/messages.d.ts +2 -0
- package/dist/pos/web/messages.js +87 -0
- package/dist/pos_stock/.kosh/bindings.d.ts +22 -0
- package/dist/pos_stock/.kosh/bindings.js +15 -0
- package/dist/pos_stock/.kosh/schema.d.ts +2015 -0
- package/dist/pos_stock/index.d.ts +9 -0
- package/dist/pos_stock/index.js +35 -0
- package/dist/pos_stock/module.d.ts +11935 -0
- package/dist/pos_stock/module.js +115 -0
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +51 -1
- package/dist/product/index.js +81 -4
- package/dist/product/module.d.ts +43 -1
- package/dist/product/module.js +9 -2
- package/dist/project/.kosh/bindings.js +1 -1
- package/dist/project/.kosh/schema.d.ts +54 -3
- package/dist/project/index.js +147 -7
- package/dist/project/module.d.ts +210 -2
- package/dist/project/module.js +52 -5
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +54 -3
- package/dist/project_portal/module.d.ts +353 -4
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +54 -3
- package/dist/purchase/index.js +163 -3
- package/dist/purchase/module.d.ts +215 -3
- package/dist/purchase/module.js +21 -3
- package/dist/purchase_account/.kosh/bindings.js +1 -1
- package/dist/purchase_account/.kosh/schema.d.ts +55 -3
- package/dist/purchase_account/index.js +26 -1
- package/dist/purchase_account/module.d.ts +393 -7
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +54 -3
- package/dist/purchase_portal/module.d.ts +366 -5
- package/dist/purchase_stock/.kosh/bindings.d.ts +22 -0
- package/dist/purchase_stock/.kosh/bindings.js +15 -0
- package/dist/purchase_stock/.kosh/schema.d.ts +1310 -0
- package/dist/purchase_stock/index.d.ts +7 -0
- package/dist/purchase_stock/index.js +91 -0
- package/dist/purchase_stock/module.d.ts +6763 -0
- package/dist/purchase_stock/module.js +144 -0
- package/dist/purchase_stock_account/.kosh/bindings.d.ts +22 -0
- package/dist/purchase_stock_account/.kosh/bindings.js +15 -0
- package/dist/purchase_stock_account/.kosh/schema.d.ts +1959 -0
- package/dist/purchase_stock_account/index.d.ts +3 -0
- package/dist/purchase_stock_account/index.js +24 -0
- package/dist/purchase_stock_account/module.d.ts +35366 -0
- package/dist/purchase_stock_account/module.js +162 -0
- package/dist/recruitment/.kosh/bindings.d.ts +22 -0
- package/dist/recruitment/.kosh/bindings.js +15 -0
- package/dist/recruitment/.kosh/schema.d.ts +990 -0
- package/dist/recruitment/demo.d.ts +6 -0
- package/dist/recruitment/demo.js +45 -0
- package/dist/recruitment/index.d.ts +3 -0
- package/dist/recruitment/index.js +385 -0
- package/dist/recruitment/module.d.ts +3247 -0
- package/dist/recruitment/module.js +193 -0
- package/dist/recruitment/web/HireButton.d.ts +9 -0
- package/dist/recruitment/web/HireButton.js +32 -0
- package/dist/recruitment/web/index.d.ts +11 -0
- package/dist/recruitment/web/index.js +16 -0
- package/dist/recruitment/web/messages.d.ts +2 -0
- package/dist/recruitment/web/messages.js +19 -0
- package/dist/reporting/documents.d.ts +5 -0
- package/dist/reporting/documents.js +28 -1
- package/dist/reporting/index.d.ts +1 -1
- package/dist/reporting/index.js +4 -2
- package/dist/reporting/models.js +9 -0
- package/dist/reporting/overviews.d.ts +16 -0
- package/dist/reporting/overviews.js +56 -0
- package/dist/reporting/routes-documents.js +1 -1
- package/dist/reporting/routes.js +138 -80
- package/dist/reporting/web/DashboardView.d.ts +11 -0
- package/dist/reporting/web/DashboardView.js +2 -2
- package/dist/reporting/web/DesignerView.js +5 -0
- package/dist/reporting/web/Overview.d.ts +9 -0
- package/dist/reporting/web/Overview.js +53 -0
- package/dist/reporting/web/index.d.ts +1 -0
- package/dist/reporting/web/index.js +4 -1
- package/dist/reporting/web/messages.js +9 -0
- package/dist/sale_account/.kosh/bindings.js +1 -1
- package/dist/sale_account/.kosh/schema.d.ts +59 -3
- package/dist/sale_account/index.js +22 -1
- package/dist/sale_account/module.d.ts +461 -7
- package/dist/sale_portal/.kosh/bindings.js +1 -1
- package/dist/sale_portal/.kosh/schema.d.ts +58 -3
- package/dist/sale_portal/module.d.ts +434 -5
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +60 -3
- package/dist/sale_project/module.d.ts +476 -6
- package/dist/sale_stock/.kosh/bindings.d.ts +22 -0
- package/dist/sale_stock/.kosh/bindings.js +15 -0
- package/dist/sale_stock/.kosh/schema.d.ts +1228 -0
- package/dist/sale_stock/index.d.ts +7 -0
- package/dist/sale_stock/index.js +84 -0
- package/dist/sale_stock/module.d.ts +6791 -0
- package/dist/sale_stock/module.js +146 -0
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +58 -3
- package/dist/sales/index.js +191 -4
- package/dist/sales/module.d.ts +355 -3
- package/dist/sales/module.js +78 -3
- package/dist/server/api/metadata.d.ts +5 -0
- package/dist/server/api/metadata.js +5 -0
- package/dist/server/api/rest.js +64 -1
- package/dist/server/api/views.js +1 -0
- package/dist/server/app-settings.d.ts +7 -0
- package/dist/server/app-settings.js +10 -0
- package/dist/server/auth/base.js +9 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +1 -0
- package/dist/settings/app-settings.d.ts +2 -0
- package/dist/settings/app-settings.js +518 -0
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +15 -0
- package/dist/settings/people.js +29 -5
- package/dist/settings/web/AppSettingsPage.d.ts +11 -0
- package/dist/settings/web/AppSettingsPage.js +210 -0
- package/dist/settings/web/OverviewPage.js +16 -3
- package/dist/settings/web/PeoplePage.js +20 -6
- package/dist/settings/web/index.d.ts +1 -0
- package/dist/settings/web/index.js +3 -0
- package/dist/settings/web/messages.js +118 -2
- package/dist/stock/.kosh/bindings.d.ts +22 -0
- package/dist/stock/.kosh/bindings.js +15 -0
- package/dist/stock/.kosh/schema.d.ts +1147 -0
- package/dist/stock/demo.d.ts +7 -0
- package/dist/stock/demo.js +55 -0
- package/dist/stock/index.d.ts +3 -0
- package/dist/stock/index.js +674 -0
- package/dist/stock/module.d.ts +6330 -0
- package/dist/stock/module.js +1325 -0
- package/dist/stock/web/ScanBox.d.ts +8 -0
- package/dist/stock/web/ScanBox.js +90 -0
- package/dist/stock/web/index.d.ts +11 -0
- package/dist/stock/web/index.js +16 -0
- package/dist/stock/web/messages.d.ts +2 -0
- package/dist/stock/web/messages.js +25 -0
- package/dist/stock_account/.kosh/bindings.d.ts +22 -0
- package/dist/stock_account/.kosh/bindings.js +15 -0
- package/dist/stock_account/.kosh/schema.d.ts +1875 -0
- package/dist/stock_account/index.d.ts +3 -0
- package/dist/stock_account/index.js +130 -0
- package/dist/stock_account/module.d.ts +10655 -0
- package/dist/stock_account/module.js +339 -0
- package/dist/storage/attachments.d.ts +5 -0
- package/dist/storage/attachments.js +12 -1
- package/dist/storage/models.js +3 -0
- package/dist/storage/routes.js +13 -2
- package/dist/todo/.kosh/bindings.d.ts +22 -0
- package/dist/todo/.kosh/bindings.js +15 -0
- package/dist/todo/.kosh/schema.d.ts +732 -0
- package/dist/todo/demo.d.ts +6 -0
- package/dist/todo/demo.js +35 -0
- package/dist/todo/index.d.ts +3 -0
- package/dist/todo/index.js +187 -0
- package/dist/todo/module.d.ts +1180 -0
- package/dist/todo/module.js +130 -0
- package/dist/trade_finance/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance/.kosh/bindings.js +15 -0
- package/dist/trade_finance/.kosh/schema.d.ts +884 -0
- package/dist/trade_finance/demo.d.ts +6 -0
- package/dist/trade_finance/demo.js +63 -0
- package/dist/trade_finance/index.d.ts +3 -0
- package/dist/trade_finance/index.js +413 -0
- package/dist/trade_finance/module.d.ts +3779 -0
- package/dist/trade_finance/module.js +505 -0
- package/dist/trade_finance_account/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_account/.kosh/bindings.js +15 -0
- package/dist/trade_finance_account/.kosh/schema.d.ts +1711 -0
- package/dist/trade_finance_account/index.d.ts +3 -0
- package/dist/trade_finance_account/index.js +92 -0
- package/dist/trade_finance_account/module.d.ts +7928 -0
- package/dist/trade_finance_account/module.js +244 -0
- package/dist/trade_finance_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_purchase/.kosh/bindings.js +15 -0
- package/dist/trade_finance_purchase/.kosh/schema.d.ts +1153 -0
- package/dist/trade_finance_purchase/index.d.ts +8 -0
- package/dist/trade_finance_purchase/index.js +50 -0
- package/dist/trade_finance_purchase/module.d.ts +4252 -0
- package/dist/trade_finance_purchase/module.js +44 -0
- package/dist/trade_finance_sale/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_sale/.kosh/bindings.js +15 -0
- package/dist/trade_finance_sale/.kosh/schema.d.ts +1071 -0
- package/dist/trade_finance_sale/index.d.ts +8 -0
- package/dist/trade_finance_sale/index.js +50 -0
- package/dist/trade_finance_sale/module.d.ts +4280 -0
- package/dist/trade_finance_sale/module.js +44 -0
- package/dist/ui/api.d.ts +2 -1
- package/dist/ui/api.js +2 -1
- package/dist/ui/app.js +2 -1
- package/dist/ui/components/AppIcon.js +23 -1
- package/dist/ui/components/primitives.d.ts +2 -0
- package/dist/ui/components/primitives.js +7 -1
- package/dist/ui/i18n/messages.d.ts +23 -0
- package/dist/ui/i18n/messages.js +38 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/offline/queue.d.ts +5 -1
- package/dist/ui/offline/queue.js +2 -0
- package/dist/ui/registry.d.ts +5 -0
- package/dist/ui/shell/Home.js +55 -4
- package/dist/ui/views/FormView.js +98 -17
- package/dist/ui/views/KanbanView.d.ts +2 -0
- package/dist/ui/views/KanbanView.js +32 -3
- package/dist/ui/views/ListView.js +108 -11
- package/dist/ui/views/StatsRow.d.ts +14 -0
- package/dist/ui/views/StatsRow.js +88 -0
- package/dist/ui/views/widgets.d.ts +2 -1
- package/dist/ui/views/widgets.js +194 -1
- package/dist/views/builders.d.ts +19 -2
- package/dist/views/builders.js +21 -1
- package/dist/views/condition.d.ts +6 -0
- package/dist/views/condition.js +20 -0
- package/dist/views/documents.d.ts +8 -0
- package/dist/views/extend.d.ts +2 -2
- package/dist/views/extend.js +11 -1
- package/dist/views/index.d.ts +2 -2
- package/dist/views/index.js +2 -2
- package/dist/views/types.d.ts +52 -5
- package/dist/views/validate.js +39 -1
- package/dist/website/.kosh/bindings.d.ts +22 -0
- package/dist/website/.kosh/bindings.js +15 -0
- package/dist/website/.kosh/schema.d.ts +881 -0
- package/dist/website/demo.d.ts +6 -0
- package/dist/website/demo.js +115 -0
- package/dist/website/index.d.ts +9 -0
- package/dist/website/index.js +250 -0
- package/dist/website/module.d.ts +2987 -0
- package/dist/website/module.js +281 -0
- package/dist/website/render.d.ts +45 -0
- package/dist/website/render.js +102 -0
- package/dist/website/routes.d.ts +12 -0
- package/dist/website/routes.js +246 -0
- package/dist/website/web/PagePreview.d.ts +7 -0
- package/dist/website/web/PagePreview.js +33 -0
- package/dist/website/web/index.d.ts +11 -0
- package/dist/website/web/index.js +16 -0
- package/dist/website/web/messages.d.ts +2 -0
- package/dist/website/web/messages.js +15 -0
- package/dist/website_crm/.kosh/bindings.d.ts +22 -0
- package/dist/website_crm/.kosh/bindings.js +15 -0
- package/dist/website_crm/.kosh/schema.d.ts +966 -0
- package/dist/website_crm/index.d.ts +3 -0
- package/dist/website_crm/index.js +39 -0
- package/dist/website_crm/module.d.ts +2955 -0
- package/dist/website_crm/module.js +44 -0
- package/package.json +118 -1
package/dist/payment/module.d.ts
CHANGED
|
@@ -2424,6 +2424,7 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
2424
2424
|
readonly guard: (records: never) => unknown;
|
|
2425
2425
|
readonly message: "Waiting for approvals.";
|
|
2426
2426
|
readonly before: (records: never) => unknown;
|
|
2427
|
+
readonly after: (records: never) => unknown;
|
|
2427
2428
|
};
|
|
2428
2429
|
readonly reject: {
|
|
2429
2430
|
readonly from: readonly ["to_approve"];
|
|
@@ -2505,7 +2506,10 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
2505
2506
|
readonly hasDefault: false;
|
|
2506
2507
|
readonly readonly: false;
|
|
2507
2508
|
}>;
|
|
2508
|
-
}, {
|
|
2509
|
+
}, {
|
|
2510
|
+
readonly productLineAccounts: (this: unknown) => Promise<Map<number, number>>;
|
|
2511
|
+
readonly posted: (this: unknown) => Promise<void>;
|
|
2512
|
+
} & import("shutro").TransitionMethods<{
|
|
2509
2513
|
readonly name: import("shutro").CharField<{
|
|
2510
2514
|
readonly required: true;
|
|
2511
2515
|
readonly computed: true;
|
|
@@ -2809,6 +2813,7 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
2809
2813
|
readonly guard: (records: never) => unknown;
|
|
2810
2814
|
readonly message: "Waiting for approvals.";
|
|
2811
2815
|
readonly before: (records: never) => unknown;
|
|
2816
|
+
readonly after: (records: never) => unknown;
|
|
2812
2817
|
};
|
|
2813
2818
|
readonly reject: {
|
|
2814
2819
|
readonly from: readonly ["to_approve"];
|
|
@@ -4613,7 +4618,70 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
4613
4618
|
readonly hasDefault: false;
|
|
4614
4619
|
readonly readonly: false;
|
|
4615
4620
|
}>;
|
|
4616
|
-
}>>], readonly [import("shutro").Module<readonly [import("shutro").Model<"res.partner", {
|
|
4621
|
+
}>>], readonly [import("shutro").Module<readonly [import("shutro").Model<"res.partner.tag", {
|
|
4622
|
+
readonly id: import("shutro").IdField<"res.partner.tag">;
|
|
4623
|
+
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
4624
|
+
required: true;
|
|
4625
|
+
readonly: true;
|
|
4626
|
+
computed: false;
|
|
4627
|
+
inverse: false;
|
|
4628
|
+
hasDefault: false;
|
|
4629
|
+
sequence: false;
|
|
4630
|
+
}>;
|
|
4631
|
+
readonly updatedAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
4632
|
+
required: true;
|
|
4633
|
+
readonly: true;
|
|
4634
|
+
computed: false;
|
|
4635
|
+
inverse: false;
|
|
4636
|
+
hasDefault: false;
|
|
4637
|
+
sequence: false;
|
|
4638
|
+
}>;
|
|
4639
|
+
readonly createdBy: import("shutro").Many2oneField<'res.users', {
|
|
4640
|
+
required: false;
|
|
4641
|
+
readonly: true;
|
|
4642
|
+
computed: false;
|
|
4643
|
+
inverse: false;
|
|
4644
|
+
hasDefault: false;
|
|
4645
|
+
sequence: false;
|
|
4646
|
+
}>;
|
|
4647
|
+
readonly updatedBy: import("shutro").Many2oneField<'res.users', {
|
|
4648
|
+
required: false;
|
|
4649
|
+
readonly: true;
|
|
4650
|
+
computed: false;
|
|
4651
|
+
inverse: false;
|
|
4652
|
+
hasDefault: false;
|
|
4653
|
+
sequence: false;
|
|
4654
|
+
}>;
|
|
4655
|
+
readonly displayName: import("shutro").CharField<{
|
|
4656
|
+
required: true;
|
|
4657
|
+
readonly: true;
|
|
4658
|
+
computed: true;
|
|
4659
|
+
inverse: false;
|
|
4660
|
+
hasDefault: false;
|
|
4661
|
+
sequence: false;
|
|
4662
|
+
}>;
|
|
4663
|
+
readonly name: import("shutro").CharField<{
|
|
4664
|
+
readonly required: true;
|
|
4665
|
+
readonly computed: false;
|
|
4666
|
+
readonly inverse: false;
|
|
4667
|
+
readonly sequence: false;
|
|
4668
|
+
readonly computeName: undefined;
|
|
4669
|
+
readonly store: true;
|
|
4670
|
+
readonly hasDefault: false;
|
|
4671
|
+
readonly readonly: false;
|
|
4672
|
+
}, string>;
|
|
4673
|
+
}, {} & import("shutro").TransitionMethods<{
|
|
4674
|
+
readonly name: import("shutro").CharField<{
|
|
4675
|
+
readonly required: true;
|
|
4676
|
+
readonly computed: false;
|
|
4677
|
+
readonly inverse: false;
|
|
4678
|
+
readonly sequence: false;
|
|
4679
|
+
readonly computeName: undefined;
|
|
4680
|
+
readonly store: true;
|
|
4681
|
+
readonly hasDefault: false;
|
|
4682
|
+
readonly readonly: false;
|
|
4683
|
+
}, string>;
|
|
4684
|
+
}>>, import("shutro").Model<"res.partner", {
|
|
4617
4685
|
readonly id: import("shutro").IdField<"res.partner">;
|
|
4618
4686
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
4619
4687
|
required: true;
|
|
@@ -4667,6 +4735,46 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
4667
4735
|
readonly hasDefault: false;
|
|
4668
4736
|
readonly readonly: false;
|
|
4669
4737
|
}, string>;
|
|
4738
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
4739
|
+
readonly required: false;
|
|
4740
|
+
readonly computed: false;
|
|
4741
|
+
readonly inverse: false;
|
|
4742
|
+
readonly sequence: false;
|
|
4743
|
+
readonly computeName: undefined;
|
|
4744
|
+
readonly store: true;
|
|
4745
|
+
readonly hasDefault: false;
|
|
4746
|
+
readonly readonly: false;
|
|
4747
|
+
}>;
|
|
4748
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
4749
|
+
readonly required: true;
|
|
4750
|
+
readonly computed: false;
|
|
4751
|
+
readonly inverse: false;
|
|
4752
|
+
readonly sequence: false;
|
|
4753
|
+
readonly computeName: undefined;
|
|
4754
|
+
readonly store: true;
|
|
4755
|
+
readonly hasDefault: true;
|
|
4756
|
+
readonly readonly: false;
|
|
4757
|
+
}>;
|
|
4758
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
4759
|
+
readonly required: false;
|
|
4760
|
+
readonly computed: false;
|
|
4761
|
+
readonly inverse: false;
|
|
4762
|
+
readonly sequence: false;
|
|
4763
|
+
readonly computeName: undefined;
|
|
4764
|
+
readonly store: true;
|
|
4765
|
+
readonly hasDefault: false;
|
|
4766
|
+
readonly readonly: false;
|
|
4767
|
+
}>;
|
|
4768
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
4769
|
+
readonly required: false;
|
|
4770
|
+
readonly computed: false;
|
|
4771
|
+
readonly inverse: false;
|
|
4772
|
+
readonly sequence: false;
|
|
4773
|
+
readonly computeName: undefined;
|
|
4774
|
+
readonly store: true;
|
|
4775
|
+
readonly hasDefault: false;
|
|
4776
|
+
readonly readonly: false;
|
|
4777
|
+
}>;
|
|
4670
4778
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
4671
4779
|
readonly required: true;
|
|
4672
4780
|
readonly computed: false;
|
|
@@ -4848,6 +4956,46 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
4848
4956
|
readonly hasDefault: false;
|
|
4849
4957
|
readonly readonly: false;
|
|
4850
4958
|
}, string>;
|
|
4959
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
4960
|
+
readonly required: false;
|
|
4961
|
+
readonly computed: false;
|
|
4962
|
+
readonly inverse: false;
|
|
4963
|
+
readonly sequence: false;
|
|
4964
|
+
readonly computeName: undefined;
|
|
4965
|
+
readonly store: true;
|
|
4966
|
+
readonly hasDefault: false;
|
|
4967
|
+
readonly readonly: false;
|
|
4968
|
+
}>;
|
|
4969
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
4970
|
+
readonly required: true;
|
|
4971
|
+
readonly computed: false;
|
|
4972
|
+
readonly inverse: false;
|
|
4973
|
+
readonly sequence: false;
|
|
4974
|
+
readonly computeName: undefined;
|
|
4975
|
+
readonly store: true;
|
|
4976
|
+
readonly hasDefault: true;
|
|
4977
|
+
readonly readonly: false;
|
|
4978
|
+
}>;
|
|
4979
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
4980
|
+
readonly required: false;
|
|
4981
|
+
readonly computed: false;
|
|
4982
|
+
readonly inverse: false;
|
|
4983
|
+
readonly sequence: false;
|
|
4984
|
+
readonly computeName: undefined;
|
|
4985
|
+
readonly store: true;
|
|
4986
|
+
readonly hasDefault: false;
|
|
4987
|
+
readonly readonly: false;
|
|
4988
|
+
}>;
|
|
4989
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
4990
|
+
readonly required: false;
|
|
4991
|
+
readonly computed: false;
|
|
4992
|
+
readonly inverse: false;
|
|
4993
|
+
readonly sequence: false;
|
|
4994
|
+
readonly computeName: undefined;
|
|
4995
|
+
readonly store: true;
|
|
4996
|
+
readonly hasDefault: false;
|
|
4997
|
+
readonly readonly: false;
|
|
4998
|
+
}>;
|
|
4851
4999
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
4852
5000
|
readonly required: true;
|
|
4853
5001
|
readonly computed: false;
|
|
@@ -5018,7 +5166,28 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
5018
5166
|
readonly hasDefault: false;
|
|
5019
5167
|
readonly readonly: false;
|
|
5020
5168
|
}>;
|
|
5021
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]
|
|
5169
|
+
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly [import("shutro").Extension<"res.company", {
|
|
5170
|
+
readonly contactTaxIdRequired: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
5171
|
+
readonly required: true;
|
|
5172
|
+
readonly computed: false;
|
|
5173
|
+
readonly inverse: false;
|
|
5174
|
+
readonly sequence: false;
|
|
5175
|
+
readonly computeName: undefined;
|
|
5176
|
+
readonly store: true;
|
|
5177
|
+
readonly hasDefault: true;
|
|
5178
|
+
readonly readonly: false;
|
|
5179
|
+
}>;
|
|
5180
|
+
readonly contactUniqueEmail: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
5181
|
+
readonly required: true;
|
|
5182
|
+
readonly computed: false;
|
|
5183
|
+
readonly inverse: false;
|
|
5184
|
+
readonly sequence: false;
|
|
5185
|
+
readonly computeName: undefined;
|
|
5186
|
+
readonly store: true;
|
|
5187
|
+
readonly hasDefault: true;
|
|
5188
|
+
readonly readonly: false;
|
|
5189
|
+
}>;
|
|
5190
|
+
}, Record<never, never>>]>, import("shutro").Module<readonly [import("shutro").Model<"uom.uom", {
|
|
5022
5191
|
readonly id: import("shutro").IdField<"uom.uom">;
|
|
5023
5192
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
5024
5193
|
required: true;
|
|
@@ -5552,6 +5721,16 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
5552
5721
|
readonly hasDefault: false;
|
|
5553
5722
|
readonly readonly: false;
|
|
5554
5723
|
}, string>;
|
|
5724
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
5725
|
+
readonly required: false;
|
|
5726
|
+
readonly computed: false;
|
|
5727
|
+
readonly inverse: false;
|
|
5728
|
+
readonly sequence: false;
|
|
5729
|
+
readonly computeName: undefined;
|
|
5730
|
+
readonly store: true;
|
|
5731
|
+
readonly hasDefault: false;
|
|
5732
|
+
readonly readonly: false;
|
|
5733
|
+
}>;
|
|
5555
5734
|
readonly listPrice: import("shutro").DecimalField<{
|
|
5556
5735
|
readonly required: true;
|
|
5557
5736
|
readonly computed: false;
|
|
@@ -5703,6 +5882,16 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
5703
5882
|
readonly hasDefault: false;
|
|
5704
5883
|
readonly readonly: false;
|
|
5705
5884
|
}, string>;
|
|
5885
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
5886
|
+
readonly required: false;
|
|
5887
|
+
readonly computed: false;
|
|
5888
|
+
readonly inverse: false;
|
|
5889
|
+
readonly sequence: false;
|
|
5890
|
+
readonly computeName: undefined;
|
|
5891
|
+
readonly store: true;
|
|
5892
|
+
readonly hasDefault: false;
|
|
5893
|
+
readonly readonly: false;
|
|
5894
|
+
}>;
|
|
5706
5895
|
readonly listPrice: import("shutro").DecimalField<{
|
|
5707
5896
|
readonly required: true;
|
|
5708
5897
|
readonly computed: false;
|
|
@@ -5793,7 +5982,7 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
5793
5982
|
readonly hasDefault: false;
|
|
5794
5983
|
readonly readonly: false;
|
|
5795
5984
|
}>;
|
|
5796
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly []>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly [import("shutro").Extension<"res.company", {
|
|
5985
|
+
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly []>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly [import("shutro").Extension<"res.company", {
|
|
5797
5986
|
readonly fiscalYearStart: import("shutro").ScalarField<"integer", number, number, {
|
|
5798
5987
|
readonly required: true;
|
|
5799
5988
|
readonly computed: false;
|
|
@@ -6426,7 +6615,70 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
6426
6615
|
readonly hasDefault: true;
|
|
6427
6616
|
readonly readonly: false;
|
|
6428
6617
|
}>;
|
|
6429
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly [import("shutro").Model<"res.partner", {
|
|
6618
|
+
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly [import("shutro").Model<"res.partner.tag", {
|
|
6619
|
+
readonly id: import("shutro").IdField<"res.partner.tag">;
|
|
6620
|
+
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
6621
|
+
required: true;
|
|
6622
|
+
readonly: true;
|
|
6623
|
+
computed: false;
|
|
6624
|
+
inverse: false;
|
|
6625
|
+
hasDefault: false;
|
|
6626
|
+
sequence: false;
|
|
6627
|
+
}>;
|
|
6628
|
+
readonly updatedAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
6629
|
+
required: true;
|
|
6630
|
+
readonly: true;
|
|
6631
|
+
computed: false;
|
|
6632
|
+
inverse: false;
|
|
6633
|
+
hasDefault: false;
|
|
6634
|
+
sequence: false;
|
|
6635
|
+
}>;
|
|
6636
|
+
readonly createdBy: import("shutro").Many2oneField<'res.users', {
|
|
6637
|
+
required: false;
|
|
6638
|
+
readonly: true;
|
|
6639
|
+
computed: false;
|
|
6640
|
+
inverse: false;
|
|
6641
|
+
hasDefault: false;
|
|
6642
|
+
sequence: false;
|
|
6643
|
+
}>;
|
|
6644
|
+
readonly updatedBy: import("shutro").Many2oneField<'res.users', {
|
|
6645
|
+
required: false;
|
|
6646
|
+
readonly: true;
|
|
6647
|
+
computed: false;
|
|
6648
|
+
inverse: false;
|
|
6649
|
+
hasDefault: false;
|
|
6650
|
+
sequence: false;
|
|
6651
|
+
}>;
|
|
6652
|
+
readonly displayName: import("shutro").CharField<{
|
|
6653
|
+
required: true;
|
|
6654
|
+
readonly: true;
|
|
6655
|
+
computed: true;
|
|
6656
|
+
inverse: false;
|
|
6657
|
+
hasDefault: false;
|
|
6658
|
+
sequence: false;
|
|
6659
|
+
}>;
|
|
6660
|
+
readonly name: import("shutro").CharField<{
|
|
6661
|
+
readonly required: true;
|
|
6662
|
+
readonly computed: false;
|
|
6663
|
+
readonly inverse: false;
|
|
6664
|
+
readonly sequence: false;
|
|
6665
|
+
readonly computeName: undefined;
|
|
6666
|
+
readonly store: true;
|
|
6667
|
+
readonly hasDefault: false;
|
|
6668
|
+
readonly readonly: false;
|
|
6669
|
+
}, string>;
|
|
6670
|
+
}, {} & import("shutro").TransitionMethods<{
|
|
6671
|
+
readonly name: import("shutro").CharField<{
|
|
6672
|
+
readonly required: true;
|
|
6673
|
+
readonly computed: false;
|
|
6674
|
+
readonly inverse: false;
|
|
6675
|
+
readonly sequence: false;
|
|
6676
|
+
readonly computeName: undefined;
|
|
6677
|
+
readonly store: true;
|
|
6678
|
+
readonly hasDefault: false;
|
|
6679
|
+
readonly readonly: false;
|
|
6680
|
+
}, string>;
|
|
6681
|
+
}>>, import("shutro").Model<"res.partner", {
|
|
6430
6682
|
readonly id: import("shutro").IdField<"res.partner">;
|
|
6431
6683
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
6432
6684
|
required: true;
|
|
@@ -6480,6 +6732,46 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
6480
6732
|
readonly hasDefault: false;
|
|
6481
6733
|
readonly readonly: false;
|
|
6482
6734
|
}, string>;
|
|
6735
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
6736
|
+
readonly required: false;
|
|
6737
|
+
readonly computed: false;
|
|
6738
|
+
readonly inverse: false;
|
|
6739
|
+
readonly sequence: false;
|
|
6740
|
+
readonly computeName: undefined;
|
|
6741
|
+
readonly store: true;
|
|
6742
|
+
readonly hasDefault: false;
|
|
6743
|
+
readonly readonly: false;
|
|
6744
|
+
}>;
|
|
6745
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
6746
|
+
readonly required: true;
|
|
6747
|
+
readonly computed: false;
|
|
6748
|
+
readonly inverse: false;
|
|
6749
|
+
readonly sequence: false;
|
|
6750
|
+
readonly computeName: undefined;
|
|
6751
|
+
readonly store: true;
|
|
6752
|
+
readonly hasDefault: true;
|
|
6753
|
+
readonly readonly: false;
|
|
6754
|
+
}>;
|
|
6755
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
6756
|
+
readonly required: false;
|
|
6757
|
+
readonly computed: false;
|
|
6758
|
+
readonly inverse: false;
|
|
6759
|
+
readonly sequence: false;
|
|
6760
|
+
readonly computeName: undefined;
|
|
6761
|
+
readonly store: true;
|
|
6762
|
+
readonly hasDefault: false;
|
|
6763
|
+
readonly readonly: false;
|
|
6764
|
+
}>;
|
|
6765
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
6766
|
+
readonly required: false;
|
|
6767
|
+
readonly computed: false;
|
|
6768
|
+
readonly inverse: false;
|
|
6769
|
+
readonly sequence: false;
|
|
6770
|
+
readonly computeName: undefined;
|
|
6771
|
+
readonly store: true;
|
|
6772
|
+
readonly hasDefault: false;
|
|
6773
|
+
readonly readonly: false;
|
|
6774
|
+
}>;
|
|
6483
6775
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
6484
6776
|
readonly required: true;
|
|
6485
6777
|
readonly computed: false;
|
|
@@ -6661,6 +6953,46 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
6661
6953
|
readonly hasDefault: false;
|
|
6662
6954
|
readonly readonly: false;
|
|
6663
6955
|
}, string>;
|
|
6956
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
6957
|
+
readonly required: false;
|
|
6958
|
+
readonly computed: false;
|
|
6959
|
+
readonly inverse: false;
|
|
6960
|
+
readonly sequence: false;
|
|
6961
|
+
readonly computeName: undefined;
|
|
6962
|
+
readonly store: true;
|
|
6963
|
+
readonly hasDefault: false;
|
|
6964
|
+
readonly readonly: false;
|
|
6965
|
+
}>;
|
|
6966
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
6967
|
+
readonly required: true;
|
|
6968
|
+
readonly computed: false;
|
|
6969
|
+
readonly inverse: false;
|
|
6970
|
+
readonly sequence: false;
|
|
6971
|
+
readonly computeName: undefined;
|
|
6972
|
+
readonly store: true;
|
|
6973
|
+
readonly hasDefault: true;
|
|
6974
|
+
readonly readonly: false;
|
|
6975
|
+
}>;
|
|
6976
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
6977
|
+
readonly required: false;
|
|
6978
|
+
readonly computed: false;
|
|
6979
|
+
readonly inverse: false;
|
|
6980
|
+
readonly sequence: false;
|
|
6981
|
+
readonly computeName: undefined;
|
|
6982
|
+
readonly store: true;
|
|
6983
|
+
readonly hasDefault: false;
|
|
6984
|
+
readonly readonly: false;
|
|
6985
|
+
}>;
|
|
6986
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
6987
|
+
readonly required: false;
|
|
6988
|
+
readonly computed: false;
|
|
6989
|
+
readonly inverse: false;
|
|
6990
|
+
readonly sequence: false;
|
|
6991
|
+
readonly computeName: undefined;
|
|
6992
|
+
readonly store: true;
|
|
6993
|
+
readonly hasDefault: false;
|
|
6994
|
+
readonly readonly: false;
|
|
6995
|
+
}>;
|
|
6664
6996
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
6665
6997
|
readonly required: true;
|
|
6666
6998
|
readonly computed: false;
|
|
@@ -6831,7 +7163,28 @@ export declare const paymentShutro: import("shutro").Module<readonly [import("sh
|
|
|
6831
7163
|
readonly hasDefault: false;
|
|
6832
7164
|
readonly readonly: false;
|
|
6833
7165
|
}>;
|
|
6834
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]
|
|
7166
|
+
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly [import("shutro").Extension<"res.company", {
|
|
7167
|
+
readonly contactTaxIdRequired: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
7168
|
+
readonly required: true;
|
|
7169
|
+
readonly computed: false;
|
|
7170
|
+
readonly inverse: false;
|
|
7171
|
+
readonly sequence: false;
|
|
7172
|
+
readonly computeName: undefined;
|
|
7173
|
+
readonly store: true;
|
|
7174
|
+
readonly hasDefault: true;
|
|
7175
|
+
readonly readonly: false;
|
|
7176
|
+
}>;
|
|
7177
|
+
readonly contactUniqueEmail: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
7178
|
+
readonly required: true;
|
|
7179
|
+
readonly computed: false;
|
|
7180
|
+
readonly inverse: false;
|
|
7181
|
+
readonly sequence: false;
|
|
7182
|
+
readonly computeName: undefined;
|
|
7183
|
+
readonly store: true;
|
|
7184
|
+
readonly hasDefault: true;
|
|
7185
|
+
readonly readonly: false;
|
|
7186
|
+
}>;
|
|
7187
|
+
}, Record<never, never>>]>], readonly [import("shutro").Extension<"res.users", {
|
|
6835
7188
|
readonly portalPartner: import("shutro").Many2oneField<"res.partner", {
|
|
6836
7189
|
readonly required: false;
|
|
6837
7190
|
readonly computed: false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: d1428de5985e3529
|
|
2
2
|
// Bindings of module `portal`: import the definition API from here to get types scoped to what it can see.
|
|
3
3
|
export { defineModel, defineModule, extendModel, f, replace } from '../../server/orm.js';
|
|
4
4
|
import { definitions } from '../../server/orm.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: d1428de5985e3529
|
|
2
2
|
// Schema view of module `portal` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
3
|
import type { F } from '../../server/orm.js';
|
|
4
4
|
|
|
@@ -13,6 +13,7 @@ export interface SchemaView {
|
|
|
13
13
|
readonly 'auth.user_group': AuthUserGroup;
|
|
14
14
|
readonly 'kosh.image': KoshImage;
|
|
15
15
|
readonly 'kosh.saved_view': KoshSavedView;
|
|
16
|
+
readonly 'kosh.setting': KoshSetting;
|
|
16
17
|
readonly 'oauth.app': OauthApp;
|
|
17
18
|
readonly 'oauth.code': OauthCode;
|
|
18
19
|
readonly 'oauth.grant': OauthGrant;
|
|
@@ -23,7 +24,9 @@ export interface SchemaView {
|
|
|
23
24
|
readonly 'res.company': ResCompany;
|
|
24
25
|
readonly 'res.currency': ResCurrency;
|
|
25
26
|
readonly 'res.partner': ResPartner;
|
|
27
|
+
readonly 'res.partner.tag': ResPartnerTag;
|
|
26
28
|
readonly 'res.users': ResUsers;
|
|
29
|
+
readonly 'storage.attachment': StorageAttachment;
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
/** `audit.event` (owner: base). */
|
|
@@ -242,6 +245,26 @@ export interface KoshSavedView {
|
|
|
242
245
|
export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
|
|
243
246
|
}
|
|
244
247
|
|
|
248
|
+
/** `kosh.setting` (owner: base). */
|
|
249
|
+
export interface KoshSetting {
|
|
250
|
+
readonly name: 'kosh.setting';
|
|
251
|
+
readonly fields: {
|
|
252
|
+
readonly id: F.Id<'kosh.setting'>;
|
|
253
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
254
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
255
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
256
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
257
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
258
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
259
|
+
readonly value: F.Json;
|
|
260
|
+
};
|
|
261
|
+
readonly methods: KoshSettingMethods;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/** Methods of `kosh.setting`: declared ones and transitions. */
|
|
265
|
+
export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
|
|
266
|
+
}
|
|
267
|
+
|
|
245
268
|
/** `oauth.app` (owner: base). */
|
|
246
269
|
export interface OauthApp {
|
|
247
270
|
readonly name: 'oauth.app';
|
|
@@ -413,7 +436,7 @@ export interface PortalSignature {
|
|
|
413
436
|
export interface PortalSignatureMethods extends F.Methods<typeof import('../module.js').portalShutro, 'portal.signature'> {
|
|
414
437
|
}
|
|
415
438
|
|
|
416
|
-
/** `res.company` (owner: base). */
|
|
439
|
+
/** `res.company` (owner: base; extended by: contacts). */
|
|
417
440
|
export interface ResCompany {
|
|
418
441
|
readonly name: 'res.company';
|
|
419
442
|
readonly fields: {
|
|
@@ -433,12 +456,14 @@ export interface ResCompany {
|
|
|
433
456
|
readonly email: F.Char;
|
|
434
457
|
readonly phone: F.Char;
|
|
435
458
|
readonly website: F.Char;
|
|
459
|
+
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
460
|
+
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
436
461
|
};
|
|
437
462
|
readonly methods: ResCompanyMethods;
|
|
438
463
|
}
|
|
439
464
|
|
|
440
465
|
/** Methods of `res.company`: declared ones and transitions. */
|
|
441
|
-
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'> {
|
|
466
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'> {
|
|
442
467
|
}
|
|
443
468
|
|
|
444
469
|
/** `res.currency` (owner: base). */
|
|
@@ -475,6 +500,10 @@ export interface ResPartner {
|
|
|
475
500
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
476
501
|
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
477
502
|
readonly name: F.Char<{ readonly required: true }>;
|
|
503
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
504
|
+
readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
|
|
505
|
+
readonly latitude: F.Decimal;
|
|
506
|
+
readonly longitude: F.Decimal;
|
|
478
507
|
readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
479
508
|
readonly parent: F.Many2one<'res.partner'>;
|
|
480
509
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
@@ -501,6 +530,25 @@ export interface ResPartner {
|
|
|
501
530
|
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../module.js').portalShutro, 'res.partner'> {
|
|
502
531
|
}
|
|
503
532
|
|
|
533
|
+
/** `res.partner.tag` (owner: contacts). */
|
|
534
|
+
export interface ResPartnerTag {
|
|
535
|
+
readonly name: 'res.partner.tag';
|
|
536
|
+
readonly fields: {
|
|
537
|
+
readonly id: F.Id<'res.partner.tag'>;
|
|
538
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
539
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
540
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
541
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
542
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
543
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
544
|
+
};
|
|
545
|
+
readonly methods: ResPartnerTagMethods;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/** Methods of `res.partner.tag`: declared ones and transitions. */
|
|
549
|
+
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
550
|
+
}
|
|
551
|
+
|
|
504
552
|
/** `res.users` (owner: base; extended by: portal). */
|
|
505
553
|
export interface ResUsers {
|
|
506
554
|
readonly name: 'res.users';
|
|
@@ -529,3 +577,30 @@ export interface ResUsers {
|
|
|
529
577
|
/** Methods of `res.users`: declared ones and transitions. */
|
|
530
578
|
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'>, F.Methods<typeof import('../module.js').portalShutro, 'res.users'> {
|
|
531
579
|
}
|
|
580
|
+
|
|
581
|
+
/** `storage.attachment` (owner: storage). */
|
|
582
|
+
export interface StorageAttachment {
|
|
583
|
+
readonly name: 'storage.attachment';
|
|
584
|
+
readonly fields: {
|
|
585
|
+
readonly id: F.Id<'storage.attachment'>;
|
|
586
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
587
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
588
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
589
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
590
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
591
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
592
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
593
|
+
readonly size: F.Integer<{ readonly required: true }>;
|
|
594
|
+
readonly sha256: F.Char<{ readonly required: true }>;
|
|
595
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
596
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
597
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
598
|
+
readonly variantOf: F.Many2one<'storage.attachment'>;
|
|
599
|
+
readonly width: F.Integer;
|
|
600
|
+
};
|
|
601
|
+
readonly methods: StorageAttachmentMethods;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/** Methods of `storage.attachment`: declared ones and transitions. */
|
|
605
|
+
export interface StorageAttachmentMethods extends F.Methods<typeof import('../../storage/index.js').storageShutro, 'storage.attachment'> {
|
|
606
|
+
}
|