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
|
@@ -837,7 +837,70 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
837
837
|
readonly hasDefault: false;
|
|
838
838
|
readonly readonly: false;
|
|
839
839
|
}, string>;
|
|
840
|
-
}>>], readonly [import("shutro").Module<readonly [import("shutro").Model<"res.partner", {
|
|
840
|
+
}>>], readonly [import("shutro").Module<readonly [import("shutro").Model<"res.partner.tag", {
|
|
841
|
+
readonly id: import("shutro").IdField<"res.partner.tag">;
|
|
842
|
+
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
843
|
+
required: true;
|
|
844
|
+
readonly: true;
|
|
845
|
+
computed: false;
|
|
846
|
+
inverse: false;
|
|
847
|
+
hasDefault: false;
|
|
848
|
+
sequence: false;
|
|
849
|
+
}>;
|
|
850
|
+
readonly updatedAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
851
|
+
required: true;
|
|
852
|
+
readonly: true;
|
|
853
|
+
computed: false;
|
|
854
|
+
inverse: false;
|
|
855
|
+
hasDefault: false;
|
|
856
|
+
sequence: false;
|
|
857
|
+
}>;
|
|
858
|
+
readonly createdBy: import("shutro").Many2oneField<'res.users', {
|
|
859
|
+
required: false;
|
|
860
|
+
readonly: true;
|
|
861
|
+
computed: false;
|
|
862
|
+
inverse: false;
|
|
863
|
+
hasDefault: false;
|
|
864
|
+
sequence: false;
|
|
865
|
+
}>;
|
|
866
|
+
readonly updatedBy: import("shutro").Many2oneField<'res.users', {
|
|
867
|
+
required: false;
|
|
868
|
+
readonly: true;
|
|
869
|
+
computed: false;
|
|
870
|
+
inverse: false;
|
|
871
|
+
hasDefault: false;
|
|
872
|
+
sequence: false;
|
|
873
|
+
}>;
|
|
874
|
+
readonly displayName: import("shutro").CharField<{
|
|
875
|
+
required: true;
|
|
876
|
+
readonly: true;
|
|
877
|
+
computed: true;
|
|
878
|
+
inverse: false;
|
|
879
|
+
hasDefault: false;
|
|
880
|
+
sequence: false;
|
|
881
|
+
}>;
|
|
882
|
+
readonly name: import("shutro").CharField<{
|
|
883
|
+
readonly required: true;
|
|
884
|
+
readonly computed: false;
|
|
885
|
+
readonly inverse: false;
|
|
886
|
+
readonly sequence: false;
|
|
887
|
+
readonly computeName: undefined;
|
|
888
|
+
readonly store: true;
|
|
889
|
+
readonly hasDefault: false;
|
|
890
|
+
readonly readonly: false;
|
|
891
|
+
}, string>;
|
|
892
|
+
}, {} & import("shutro").TransitionMethods<{
|
|
893
|
+
readonly name: import("shutro").CharField<{
|
|
894
|
+
readonly required: true;
|
|
895
|
+
readonly computed: false;
|
|
896
|
+
readonly inverse: false;
|
|
897
|
+
readonly sequence: false;
|
|
898
|
+
readonly computeName: undefined;
|
|
899
|
+
readonly store: true;
|
|
900
|
+
readonly hasDefault: false;
|
|
901
|
+
readonly readonly: false;
|
|
902
|
+
}, string>;
|
|
903
|
+
}>>, import("shutro").Model<"res.partner", {
|
|
841
904
|
readonly id: import("shutro").IdField<"res.partner">;
|
|
842
905
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
843
906
|
required: true;
|
|
@@ -891,6 +954,46 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
891
954
|
readonly hasDefault: false;
|
|
892
955
|
readonly readonly: false;
|
|
893
956
|
}, string>;
|
|
957
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
958
|
+
readonly required: false;
|
|
959
|
+
readonly computed: false;
|
|
960
|
+
readonly inverse: false;
|
|
961
|
+
readonly sequence: false;
|
|
962
|
+
readonly computeName: undefined;
|
|
963
|
+
readonly store: true;
|
|
964
|
+
readonly hasDefault: false;
|
|
965
|
+
readonly readonly: false;
|
|
966
|
+
}>;
|
|
967
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
968
|
+
readonly required: true;
|
|
969
|
+
readonly computed: false;
|
|
970
|
+
readonly inverse: false;
|
|
971
|
+
readonly sequence: false;
|
|
972
|
+
readonly computeName: undefined;
|
|
973
|
+
readonly store: true;
|
|
974
|
+
readonly hasDefault: true;
|
|
975
|
+
readonly readonly: false;
|
|
976
|
+
}>;
|
|
977
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
978
|
+
readonly required: false;
|
|
979
|
+
readonly computed: false;
|
|
980
|
+
readonly inverse: false;
|
|
981
|
+
readonly sequence: false;
|
|
982
|
+
readonly computeName: undefined;
|
|
983
|
+
readonly store: true;
|
|
984
|
+
readonly hasDefault: false;
|
|
985
|
+
readonly readonly: false;
|
|
986
|
+
}>;
|
|
987
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
988
|
+
readonly required: false;
|
|
989
|
+
readonly computed: false;
|
|
990
|
+
readonly inverse: false;
|
|
991
|
+
readonly sequence: false;
|
|
992
|
+
readonly computeName: undefined;
|
|
993
|
+
readonly store: true;
|
|
994
|
+
readonly hasDefault: false;
|
|
995
|
+
readonly readonly: false;
|
|
996
|
+
}>;
|
|
894
997
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
895
998
|
readonly required: true;
|
|
896
999
|
readonly computed: false;
|
|
@@ -1072,6 +1175,46 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
1072
1175
|
readonly hasDefault: false;
|
|
1073
1176
|
readonly readonly: false;
|
|
1074
1177
|
}, string>;
|
|
1178
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
1179
|
+
readonly required: false;
|
|
1180
|
+
readonly computed: false;
|
|
1181
|
+
readonly inverse: false;
|
|
1182
|
+
readonly sequence: false;
|
|
1183
|
+
readonly computeName: undefined;
|
|
1184
|
+
readonly store: true;
|
|
1185
|
+
readonly hasDefault: false;
|
|
1186
|
+
readonly readonly: false;
|
|
1187
|
+
}>;
|
|
1188
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
1189
|
+
readonly required: true;
|
|
1190
|
+
readonly computed: false;
|
|
1191
|
+
readonly inverse: false;
|
|
1192
|
+
readonly sequence: false;
|
|
1193
|
+
readonly computeName: undefined;
|
|
1194
|
+
readonly store: true;
|
|
1195
|
+
readonly hasDefault: true;
|
|
1196
|
+
readonly readonly: false;
|
|
1197
|
+
}>;
|
|
1198
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
1199
|
+
readonly required: false;
|
|
1200
|
+
readonly computed: false;
|
|
1201
|
+
readonly inverse: false;
|
|
1202
|
+
readonly sequence: false;
|
|
1203
|
+
readonly computeName: undefined;
|
|
1204
|
+
readonly store: true;
|
|
1205
|
+
readonly hasDefault: false;
|
|
1206
|
+
readonly readonly: false;
|
|
1207
|
+
}>;
|
|
1208
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
1209
|
+
readonly required: false;
|
|
1210
|
+
readonly computed: false;
|
|
1211
|
+
readonly inverse: false;
|
|
1212
|
+
readonly sequence: false;
|
|
1213
|
+
readonly computeName: undefined;
|
|
1214
|
+
readonly store: true;
|
|
1215
|
+
readonly hasDefault: false;
|
|
1216
|
+
readonly readonly: false;
|
|
1217
|
+
}>;
|
|
1075
1218
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
1076
1219
|
readonly required: true;
|
|
1077
1220
|
readonly computed: false;
|
|
@@ -1242,7 +1385,49 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
1242
1385
|
readonly hasDefault: false;
|
|
1243
1386
|
readonly readonly: false;
|
|
1244
1387
|
}>;
|
|
1245
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]
|
|
1388
|
+
}>>], 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", {
|
|
1389
|
+
readonly contactTaxIdRequired: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
1390
|
+
readonly required: true;
|
|
1391
|
+
readonly computed: false;
|
|
1392
|
+
readonly inverse: false;
|
|
1393
|
+
readonly sequence: false;
|
|
1394
|
+
readonly computeName: undefined;
|
|
1395
|
+
readonly store: true;
|
|
1396
|
+
readonly hasDefault: true;
|
|
1397
|
+
readonly readonly: false;
|
|
1398
|
+
}>;
|
|
1399
|
+
readonly contactUniqueEmail: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
1400
|
+
readonly required: true;
|
|
1401
|
+
readonly computed: false;
|
|
1402
|
+
readonly inverse: false;
|
|
1403
|
+
readonly sequence: false;
|
|
1404
|
+
readonly computeName: undefined;
|
|
1405
|
+
readonly store: true;
|
|
1406
|
+
readonly hasDefault: true;
|
|
1407
|
+
readonly readonly: false;
|
|
1408
|
+
}>;
|
|
1409
|
+
}, Record<never, never>>]>, import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]>], readonly [import("shutro").Extension<"res.company", {
|
|
1410
|
+
readonly projectPlannedHoursDefault: import("shutro").DecimalField<{
|
|
1411
|
+
readonly required: false;
|
|
1412
|
+
readonly computed: false;
|
|
1413
|
+
readonly inverse: false;
|
|
1414
|
+
readonly sequence: false;
|
|
1415
|
+
readonly computeName: undefined;
|
|
1416
|
+
readonly store: true;
|
|
1417
|
+
readonly hasDefault: false;
|
|
1418
|
+
readonly readonly: false;
|
|
1419
|
+
}>;
|
|
1420
|
+
readonly projectTimesheetStep: import("shutro").SelectionField<"half" | "none" | "quarter" | "whole", {
|
|
1421
|
+
readonly required: false;
|
|
1422
|
+
readonly computed: false;
|
|
1423
|
+
readonly inverse: false;
|
|
1424
|
+
readonly sequence: false;
|
|
1425
|
+
readonly computeName: undefined;
|
|
1426
|
+
readonly store: true;
|
|
1427
|
+
readonly hasDefault: true;
|
|
1428
|
+
readonly readonly: false;
|
|
1429
|
+
}>;
|
|
1430
|
+
}, Record<never, never>>]>, import("shutro").Module<readonly [import("shutro").Model<"portal.invitation", {
|
|
1246
1431
|
readonly id: import("shutro").IdField<"portal.invitation">;
|
|
1247
1432
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
1248
1433
|
required: true;
|
|
@@ -1712,7 +1897,70 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
1712
1897
|
readonly hasDefault: true;
|
|
1713
1898
|
readonly readonly: false;
|
|
1714
1899
|
}>;
|
|
1715
|
-
}>>], 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", {
|
|
1900
|
+
}>>], 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", {
|
|
1901
|
+
readonly id: import("shutro").IdField<"res.partner.tag">;
|
|
1902
|
+
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
1903
|
+
required: true;
|
|
1904
|
+
readonly: true;
|
|
1905
|
+
computed: false;
|
|
1906
|
+
inverse: false;
|
|
1907
|
+
hasDefault: false;
|
|
1908
|
+
sequence: false;
|
|
1909
|
+
}>;
|
|
1910
|
+
readonly updatedAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
1911
|
+
required: true;
|
|
1912
|
+
readonly: true;
|
|
1913
|
+
computed: false;
|
|
1914
|
+
inverse: false;
|
|
1915
|
+
hasDefault: false;
|
|
1916
|
+
sequence: false;
|
|
1917
|
+
}>;
|
|
1918
|
+
readonly createdBy: import("shutro").Many2oneField<'res.users', {
|
|
1919
|
+
required: false;
|
|
1920
|
+
readonly: true;
|
|
1921
|
+
computed: false;
|
|
1922
|
+
inverse: false;
|
|
1923
|
+
hasDefault: false;
|
|
1924
|
+
sequence: false;
|
|
1925
|
+
}>;
|
|
1926
|
+
readonly updatedBy: import("shutro").Many2oneField<'res.users', {
|
|
1927
|
+
required: false;
|
|
1928
|
+
readonly: true;
|
|
1929
|
+
computed: false;
|
|
1930
|
+
inverse: false;
|
|
1931
|
+
hasDefault: false;
|
|
1932
|
+
sequence: false;
|
|
1933
|
+
}>;
|
|
1934
|
+
readonly displayName: import("shutro").CharField<{
|
|
1935
|
+
required: true;
|
|
1936
|
+
readonly: true;
|
|
1937
|
+
computed: true;
|
|
1938
|
+
inverse: false;
|
|
1939
|
+
hasDefault: false;
|
|
1940
|
+
sequence: false;
|
|
1941
|
+
}>;
|
|
1942
|
+
readonly name: import("shutro").CharField<{
|
|
1943
|
+
readonly required: true;
|
|
1944
|
+
readonly computed: false;
|
|
1945
|
+
readonly inverse: false;
|
|
1946
|
+
readonly sequence: false;
|
|
1947
|
+
readonly computeName: undefined;
|
|
1948
|
+
readonly store: true;
|
|
1949
|
+
readonly hasDefault: false;
|
|
1950
|
+
readonly readonly: false;
|
|
1951
|
+
}, string>;
|
|
1952
|
+
}, {} & import("shutro").TransitionMethods<{
|
|
1953
|
+
readonly name: import("shutro").CharField<{
|
|
1954
|
+
readonly required: true;
|
|
1955
|
+
readonly computed: false;
|
|
1956
|
+
readonly inverse: false;
|
|
1957
|
+
readonly sequence: false;
|
|
1958
|
+
readonly computeName: undefined;
|
|
1959
|
+
readonly store: true;
|
|
1960
|
+
readonly hasDefault: false;
|
|
1961
|
+
readonly readonly: false;
|
|
1962
|
+
}, string>;
|
|
1963
|
+
}>>, import("shutro").Model<"res.partner", {
|
|
1716
1964
|
readonly id: import("shutro").IdField<"res.partner">;
|
|
1717
1965
|
readonly createdAt: import("shutro").ScalarField<'datetime', Date, Date, {
|
|
1718
1966
|
required: true;
|
|
@@ -1766,6 +2014,46 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
1766
2014
|
readonly hasDefault: false;
|
|
1767
2015
|
readonly readonly: false;
|
|
1768
2016
|
}, string>;
|
|
2017
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
2018
|
+
readonly required: false;
|
|
2019
|
+
readonly computed: false;
|
|
2020
|
+
readonly inverse: false;
|
|
2021
|
+
readonly sequence: false;
|
|
2022
|
+
readonly computeName: undefined;
|
|
2023
|
+
readonly store: true;
|
|
2024
|
+
readonly hasDefault: false;
|
|
2025
|
+
readonly readonly: false;
|
|
2026
|
+
}>;
|
|
2027
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
2028
|
+
readonly required: true;
|
|
2029
|
+
readonly computed: false;
|
|
2030
|
+
readonly inverse: false;
|
|
2031
|
+
readonly sequence: false;
|
|
2032
|
+
readonly computeName: undefined;
|
|
2033
|
+
readonly store: true;
|
|
2034
|
+
readonly hasDefault: true;
|
|
2035
|
+
readonly readonly: false;
|
|
2036
|
+
}>;
|
|
2037
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
2038
|
+
readonly required: false;
|
|
2039
|
+
readonly computed: false;
|
|
2040
|
+
readonly inverse: false;
|
|
2041
|
+
readonly sequence: false;
|
|
2042
|
+
readonly computeName: undefined;
|
|
2043
|
+
readonly store: true;
|
|
2044
|
+
readonly hasDefault: false;
|
|
2045
|
+
readonly readonly: false;
|
|
2046
|
+
}>;
|
|
2047
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
2048
|
+
readonly required: false;
|
|
2049
|
+
readonly computed: false;
|
|
2050
|
+
readonly inverse: false;
|
|
2051
|
+
readonly sequence: false;
|
|
2052
|
+
readonly computeName: undefined;
|
|
2053
|
+
readonly store: true;
|
|
2054
|
+
readonly hasDefault: false;
|
|
2055
|
+
readonly readonly: false;
|
|
2056
|
+
}>;
|
|
1769
2057
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
1770
2058
|
readonly required: true;
|
|
1771
2059
|
readonly computed: false;
|
|
@@ -1947,6 +2235,46 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
1947
2235
|
readonly hasDefault: false;
|
|
1948
2236
|
readonly readonly: false;
|
|
1949
2237
|
}, string>;
|
|
2238
|
+
readonly image: import("shutro").Many2oneField<"storage.attachment", {
|
|
2239
|
+
readonly required: false;
|
|
2240
|
+
readonly computed: false;
|
|
2241
|
+
readonly inverse: false;
|
|
2242
|
+
readonly sequence: false;
|
|
2243
|
+
readonly computeName: undefined;
|
|
2244
|
+
readonly store: true;
|
|
2245
|
+
readonly hasDefault: false;
|
|
2246
|
+
readonly readonly: false;
|
|
2247
|
+
}>;
|
|
2248
|
+
readonly tags: import("shutro").Many2manyField<"res.partner.tag", {
|
|
2249
|
+
readonly required: true;
|
|
2250
|
+
readonly computed: false;
|
|
2251
|
+
readonly inverse: false;
|
|
2252
|
+
readonly sequence: false;
|
|
2253
|
+
readonly computeName: undefined;
|
|
2254
|
+
readonly store: true;
|
|
2255
|
+
readonly hasDefault: true;
|
|
2256
|
+
readonly readonly: false;
|
|
2257
|
+
}>;
|
|
2258
|
+
readonly latitude: import("shutro").DecimalField<{
|
|
2259
|
+
readonly required: false;
|
|
2260
|
+
readonly computed: false;
|
|
2261
|
+
readonly inverse: false;
|
|
2262
|
+
readonly sequence: false;
|
|
2263
|
+
readonly computeName: undefined;
|
|
2264
|
+
readonly store: true;
|
|
2265
|
+
readonly hasDefault: false;
|
|
2266
|
+
readonly readonly: false;
|
|
2267
|
+
}>;
|
|
2268
|
+
readonly longitude: import("shutro").DecimalField<{
|
|
2269
|
+
readonly required: false;
|
|
2270
|
+
readonly computed: false;
|
|
2271
|
+
readonly inverse: false;
|
|
2272
|
+
readonly sequence: false;
|
|
2273
|
+
readonly computeName: undefined;
|
|
2274
|
+
readonly store: true;
|
|
2275
|
+
readonly hasDefault: false;
|
|
2276
|
+
readonly readonly: false;
|
|
2277
|
+
}>;
|
|
1950
2278
|
readonly isCompany: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
1951
2279
|
readonly required: true;
|
|
1952
2280
|
readonly computed: false;
|
|
@@ -2117,7 +2445,28 @@ export declare const projectPortalShutro: import("shutro").Module<readonly [], r
|
|
|
2117
2445
|
readonly hasDefault: false;
|
|
2118
2446
|
readonly readonly: false;
|
|
2119
2447
|
}>;
|
|
2120
|
-
}>>], readonly [import("shutro").Module<readonly import("shutro").AnyModel[], readonly import("shutro").ModuleBase[], readonly import("shutro").AnyExtension[]
|
|
2448
|
+
}>>], 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", {
|
|
2449
|
+
readonly contactTaxIdRequired: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
2450
|
+
readonly required: true;
|
|
2451
|
+
readonly computed: false;
|
|
2452
|
+
readonly inverse: false;
|
|
2453
|
+
readonly sequence: false;
|
|
2454
|
+
readonly computeName: undefined;
|
|
2455
|
+
readonly store: true;
|
|
2456
|
+
readonly hasDefault: true;
|
|
2457
|
+
readonly readonly: false;
|
|
2458
|
+
}>;
|
|
2459
|
+
readonly contactUniqueEmail: import("shutro").ScalarField<"boolean", boolean, boolean, {
|
|
2460
|
+
readonly required: true;
|
|
2461
|
+
readonly computed: false;
|
|
2462
|
+
readonly inverse: false;
|
|
2463
|
+
readonly sequence: false;
|
|
2464
|
+
readonly computeName: undefined;
|
|
2465
|
+
readonly store: true;
|
|
2466
|
+
readonly hasDefault: true;
|
|
2467
|
+
readonly readonly: false;
|
|
2468
|
+
}>;
|
|
2469
|
+
}, Record<never, never>>]>], readonly [import("shutro").Extension<"res.users", {
|
|
2121
2470
|
readonly portalPartner: import("shutro").Many2oneField<"res.partner", {
|
|
2122
2471
|
readonly required: false;
|
|
2123
2472
|
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: 390fefb5f47e15fa
|
|
2
2
|
// Bindings of module `purchase`: 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: 390fefb5f47e15fa
|
|
2
2
|
// Schema view of module `purchase` (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
|
|
|
@@ -17,6 +17,7 @@ export interface SchemaView {
|
|
|
17
17
|
readonly 'auth.user_group': AuthUserGroup;
|
|
18
18
|
readonly 'kosh.image': KoshImage;
|
|
19
19
|
readonly 'kosh.saved_view': KoshSavedView;
|
|
20
|
+
readonly 'kosh.setting': KoshSetting;
|
|
20
21
|
readonly 'mail.activity': MailActivity;
|
|
21
22
|
readonly 'mail.activity.type': MailActivityType;
|
|
22
23
|
readonly 'mail.channel': MailChannel;
|
|
@@ -35,6 +36,7 @@ export interface SchemaView {
|
|
|
35
36
|
readonly 'res.company': ResCompany;
|
|
36
37
|
readonly 'res.currency': ResCurrency;
|
|
37
38
|
readonly 'res.partner': ResPartner;
|
|
39
|
+
readonly 'res.partner.tag': ResPartnerTag;
|
|
38
40
|
readonly 'res.users': ResUsers;
|
|
39
41
|
readonly 'storage.attachment': StorageAttachment;
|
|
40
42
|
readonly 'uom.uom': UomUom;
|
|
@@ -364,6 +366,26 @@ export interface KoshSavedView {
|
|
|
364
366
|
export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
|
|
365
367
|
}
|
|
366
368
|
|
|
369
|
+
/** `kosh.setting` (owner: base). */
|
|
370
|
+
export interface KoshSetting {
|
|
371
|
+
readonly name: 'kosh.setting';
|
|
372
|
+
readonly fields: {
|
|
373
|
+
readonly id: F.Id<'kosh.setting'>;
|
|
374
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
375
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
376
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
377
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
378
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
379
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
380
|
+
readonly value: F.Json;
|
|
381
|
+
};
|
|
382
|
+
readonly methods: KoshSettingMethods;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** Methods of `kosh.setting`: declared ones and transitions. */
|
|
386
|
+
export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
|
|
387
|
+
}
|
|
388
|
+
|
|
367
389
|
/** `mail.activity` (owner: messaging). */
|
|
368
390
|
export interface MailActivity {
|
|
369
391
|
readonly name: 'mail.activity';
|
|
@@ -678,6 +700,7 @@ export interface ProductProduct {
|
|
|
678
700
|
readonly category: F.Many2one<'product.category'>;
|
|
679
701
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
680
702
|
readonly barcode: F.Char;
|
|
703
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
681
704
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
682
705
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
683
706
|
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
@@ -766,7 +789,7 @@ export interface PurchaseOrderLine {
|
|
|
766
789
|
export interface PurchaseOrderLineMethods extends F.Methods<typeof import('../module.js').purchaseShutro, 'purchase.order.line'> {
|
|
767
790
|
}
|
|
768
791
|
|
|
769
|
-
/** `res.company` (owner: base). */
|
|
792
|
+
/** `res.company` (owner: base; extended by: contacts, purchase). */
|
|
770
793
|
export interface ResCompany {
|
|
771
794
|
readonly name: 'res.company';
|
|
772
795
|
readonly fields: {
|
|
@@ -786,12 +809,15 @@ export interface ResCompany {
|
|
|
786
809
|
readonly email: F.Char;
|
|
787
810
|
readonly phone: F.Char;
|
|
788
811
|
readonly website: F.Char;
|
|
812
|
+
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
813
|
+
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
814
|
+
readonly purchaseTerms: F.Text; // purchase
|
|
789
815
|
};
|
|
790
816
|
readonly methods: ResCompanyMethods;
|
|
791
817
|
}
|
|
792
818
|
|
|
793
819
|
/** Methods of `res.company`: declared ones and transitions. */
|
|
794
|
-
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'> {
|
|
820
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../module.js').purchaseShutro, 'res.company'> {
|
|
795
821
|
}
|
|
796
822
|
|
|
797
823
|
/** `res.currency` (owner: base). */
|
|
@@ -828,6 +854,10 @@ export interface ResPartner {
|
|
|
828
854
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
829
855
|
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
830
856
|
readonly name: F.Char<{ readonly required: true }>;
|
|
857
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
858
|
+
readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
|
|
859
|
+
readonly latitude: F.Decimal;
|
|
860
|
+
readonly longitude: F.Decimal;
|
|
831
861
|
readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
832
862
|
readonly parent: F.Many2one<'res.partner'>;
|
|
833
863
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
@@ -853,6 +883,25 @@ export interface ResPartner {
|
|
|
853
883
|
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'> {
|
|
854
884
|
}
|
|
855
885
|
|
|
886
|
+
/** `res.partner.tag` (owner: contacts). */
|
|
887
|
+
export interface ResPartnerTag {
|
|
888
|
+
readonly name: 'res.partner.tag';
|
|
889
|
+
readonly fields: {
|
|
890
|
+
readonly id: F.Id<'res.partner.tag'>;
|
|
891
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
892
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
893
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
894
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
895
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
896
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
897
|
+
};
|
|
898
|
+
readonly methods: ResPartnerTagMethods;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/** Methods of `res.partner.tag`: declared ones and transitions. */
|
|
902
|
+
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
903
|
+
}
|
|
904
|
+
|
|
856
905
|
/** `res.users` (owner: base). */
|
|
857
906
|
export interface ResUsers {
|
|
858
907
|
readonly name: 'res.users';
|
|
@@ -898,6 +947,8 @@ export interface StorageAttachment {
|
|
|
898
947
|
readonly key: F.Char<{ readonly required: true }>;
|
|
899
948
|
readonly resModel: F.Char<{ readonly required: true }>;
|
|
900
949
|
readonly resId: F.Integer<{ readonly required: true }>;
|
|
950
|
+
readonly variantOf: F.Many2one<'storage.attachment'>;
|
|
951
|
+
readonly width: F.Integer;
|
|
901
952
|
};
|
|
902
953
|
readonly methods: StorageAttachmentMethods;
|
|
903
954
|
}
|