shutro-erp 0.3.5 → 0.3.6
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_asset/.kosh/bindings.d.ts +22 -0
- package/dist/account_asset/.kosh/bindings.js +15 -0
- package/dist/account_asset/.kosh/schema.d.ts +1755 -0
- package/dist/account_asset/board.d.ts +61 -0
- package/dist/account_asset/board.js +86 -0
- package/dist/account_asset/books.d.ts +42 -0
- package/dist/account_asset/books.js +398 -0
- package/dist/account_asset/demo.d.ts +7 -0
- package/dist/account_asset/demo.js +72 -0
- package/dist/account_asset/index.d.ts +9 -0
- package/dist/account_asset/index.js +335 -0
- package/dist/account_asset/module.d.ts +7622 -0
- package/dist/account_asset/module.js +230 -0
- package/dist/account_budget/.kosh/bindings.d.ts +22 -0
- package/dist/account_budget/.kosh/bindings.js +15 -0
- package/dist/account_budget/.kosh/schema.d.ts +1767 -0
- package/dist/account_budget/budget.d.ts +5 -0
- package/dist/account_budget/budget.js +142 -0
- package/dist/account_budget/demo.d.ts +6 -0
- package/dist/account_budget/demo.js +30 -0
- package/dist/account_budget/index.d.ts +4 -0
- package/dist/account_budget/index.js +223 -0
- package/dist/account_budget/module.d.ts +13863 -0
- package/dist/account_budget/module.js +167 -0
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +123 -4
- package/dist/account_portal/module.d.ts +146 -0
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +123 -4
- package/dist/accounting/index.d.ts +1 -1
- package/dist/accounting/index.js +131 -3
- package/dist/accounting/module.d.ts +296 -0
- package/dist/accounting/module.js +32 -1
- package/dist/approvals/.kosh/bindings.d.ts +22 -0
- package/dist/approvals/.kosh/bindings.js +15 -0
- package/dist/approvals/.kosh/schema.d.ts +611 -0
- package/dist/approvals/index.d.ts +18 -0
- package/dist/approvals/index.js +302 -0
- package/dist/approvals/mails.d.ts +25 -0
- package/dist/approvals/mails.js +82 -0
- package/dist/approvals/module.d.ts +1 -0
- package/dist/approvals/module.js +12 -0
- package/dist/approvals/web/History.d.ts +4 -0
- package/dist/approvals/web/History.js +13 -0
- package/dist/approvals/web/Inbox.d.ts +9 -0
- package/dist/approvals/web/Inbox.js +114 -0
- package/dist/approvals/web/Mine.d.ts +7 -0
- package/dist/approvals/web/Mine.js +27 -0
- package/dist/approvals/web/index.d.ts +13 -0
- package/dist/approvals/web/index.js +22 -0
- package/dist/approvals/web/messages.d.ts +2 -0
- package/dist/approvals/web/messages.js +119 -0
- package/dist/approvals/web/shared.d.ts +59 -0
- package/dist/approvals/web/shared.js +46 -0
- package/dist/attendance/.kosh/bindings.d.ts +22 -0
- package/dist/attendance/.kosh/bindings.js +15 -0
- package/dist/attendance/.kosh/schema.d.ts +1048 -0
- package/dist/attendance/days.d.ts +96 -0
- package/dist/attendance/days.js +430 -0
- package/dist/attendance/demo.d.ts +7 -0
- package/dist/attendance/demo.js +58 -0
- package/dist/attendance/index.d.ts +4 -0
- package/dist/attendance/index.js +513 -0
- package/dist/attendance/module.d.ts +3969 -0
- package/dist/attendance/module.js +412 -0
- package/dist/attendance/routes.d.ts +16 -0
- package/dist/attendance/routes.js +266 -0
- package/dist/attendance/web/Check.d.ts +8 -0
- package/dist/attendance/web/Check.js +40 -0
- package/dist/attendance/web/Kiosk.d.ts +8 -0
- package/dist/attendance/web/Kiosk.js +62 -0
- package/dist/attendance/web/PinButton.d.ts +7 -0
- package/dist/attendance/web/PinButton.js +29 -0
- package/dist/attendance/web/index.d.ts +13 -0
- package/dist/attendance/web/index.js +22 -0
- package/dist/attendance/web/messages.d.ts +2 -0
- package/dist/attendance/web/messages.js +61 -0
- package/dist/cli/init.js +32 -0
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +89 -0
- package/dist/contacts/module.js +13 -2
- package/dist/crm/.kosh/bindings.js +1 -1
- package/dist/crm/.kosh/schema.d.ts +2 -1
- package/dist/crm/module.d.ts +2 -0
- package/dist/crm/module.js +2 -1
- package/dist/documents/.kosh/bindings.d.ts +22 -0
- package/dist/documents/.kosh/bindings.js +15 -0
- package/dist/documents/.kosh/schema.d.ts +862 -0
- package/dist/documents/demo.d.ts +6 -0
- package/dist/documents/demo.js +22 -0
- package/dist/documents/documents.d.ts +98 -0
- package/dist/documents/documents.js +318 -0
- package/dist/documents/index.d.ts +30 -0
- package/dist/documents/index.js +442 -0
- package/dist/documents/module.d.ts +2781 -0
- package/dist/documents/module.js +214 -0
- package/dist/documents/web/Versions.d.ts +7 -0
- package/dist/documents/web/Versions.js +45 -0
- package/dist/documents/web/index.d.ts +11 -0
- package/dist/documents/web/index.js +16 -0
- package/dist/documents/web/messages.d.ts +2 -0
- package/dist/documents/web/messages.js +21 -0
- package/dist/event_account/.kosh/bindings.js +1 -1
- package/dist/event_account/.kosh/schema.d.ts +123 -4
- package/dist/event_account/module.d.ts +146 -0
- package/dist/expense/.kosh/bindings.d.ts +22 -0
- package/dist/expense/.kosh/bindings.js +15 -0
- package/dist/expense/.kosh/schema.d.ts +1299 -0
- package/dist/expense/demo.d.ts +7 -0
- package/dist/expense/demo.js +69 -0
- package/dist/expense/index.d.ts +3 -0
- package/dist/expense/index.js +495 -0
- package/dist/expense/module.d.ts +4747 -0
- package/dist/expense/module.js +647 -0
- package/dist/expense_account/.kosh/bindings.d.ts +22 -0
- package/dist/expense_account/.kosh/bindings.js +15 -0
- package/dist/expense_account/.kosh/schema.d.ts +1936 -0
- package/dist/expense_account/index.d.ts +3 -0
- package/dist/expense_account/index.js +74 -0
- package/dist/expense_account/module.d.ts +9153 -0
- package/dist/expense_account/module.js +318 -0
- package/dist/helpdesk/.kosh/bindings.d.ts +22 -0
- package/dist/helpdesk/.kosh/bindings.js +15 -0
- package/dist/helpdesk/.kosh/schema.d.ts +885 -0
- package/dist/helpdesk/demo.d.ts +7 -0
- package/dist/helpdesk/demo.js +65 -0
- package/dist/helpdesk/hours.d.ts +17 -0
- package/dist/helpdesk/hours.js +94 -0
- package/dist/helpdesk/index.d.ts +10 -0
- package/dist/helpdesk/index.js +461 -0
- package/dist/helpdesk/module.d.ts +2940 -0
- package/dist/helpdesk/module.js +326 -0
- package/dist/helpdesk/routes.d.ts +12 -0
- package/dist/helpdesk/routes.js +132 -0
- package/dist/helpdesk/sla.d.ts +37 -0
- package/dist/helpdesk/sla.js +226 -0
- package/dist/hr/index.d.ts +1 -1
- package/dist/hr/index.js +1 -1
- package/dist/l10n_bd/.kosh/bindings.js +1 -1
- package/dist/l10n_bd/.kosh/schema.d.ts +123 -4
- package/dist/l10n_bd/module.d.ts +146 -0
- package/dist/l10n_bd_payroll/.kosh/bindings.d.ts +22 -0
- package/dist/l10n_bd_payroll/.kosh/bindings.js +15 -0
- package/dist/l10n_bd_payroll/.kosh/schema.d.ts +2312 -0
- package/dist/l10n_bd_payroll/data.d.ts +47 -0
- package/dist/l10n_bd_payroll/data.js +347 -0
- package/dist/l10n_bd_payroll/index.d.ts +4 -0
- package/dist/l10n_bd_payroll/index.js +24 -0
- package/dist/l10n_bd_payroll/module.d.ts +12932 -0
- package/dist/l10n_bd_payroll/module.js +86 -0
- package/dist/l10n_in/.kosh/bindings.js +1 -1
- package/dist/l10n_in/.kosh/schema.d.ts +123 -4
- package/dist/l10n_in/module.d.ts +147 -0
- package/dist/mail/inbound/handle.js +6 -1
- package/dist/maintenance_stock/.kosh/bindings.js +1 -1
- package/dist/maintenance_stock/.kosh/schema.d.ts +77 -2
- package/dist/maintenance_stock/module.d.ts +788 -66
- package/dist/modules-sdk/index.d.ts +1 -1
- package/dist/modules-sdk/manifest.d.ts +39 -2
- package/dist/mrp/.kosh/bindings.js +1 -1
- package/dist/mrp/.kosh/schema.d.ts +77 -2
- package/dist/mrp/index.d.ts +1 -1
- package/dist/mrp/index.js +2 -1
- package/dist/mrp/module.d.ts +781 -54
- package/dist/mrp/module.js +64 -2
- package/dist/mrp_account/.kosh/bindings.js +1 -1
- package/dist/mrp_account/.kosh/schema.d.ts +198 -5
- package/dist/mrp_account/module.d.ts +4852 -2541
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +125 -5
- package/dist/payment/index.d.ts +41 -0
- package/dist/payment/index.js +131 -74
- package/dist/payment/module.d.ts +210 -6
- package/dist/payment/module.js +19 -3
- package/dist/payment/settle.js +10 -1
- package/dist/payroll/.kosh/bindings.d.ts +22 -0
- package/dist/payroll/.kosh/bindings.js +15 -0
- package/dist/payroll/.kosh/schema.d.ts +1390 -0
- package/dist/payroll/compute.d.ts +35 -0
- package/dist/payroll/compute.js +398 -0
- package/dist/payroll/demo.d.ts +55 -0
- package/dist/payroll/demo.js +121 -0
- package/dist/payroll/formula.d.ts +62 -0
- package/dist/payroll/formula.js +320 -0
- package/dist/payroll/index.d.ts +230 -0
- package/dist/payroll/index.js +713 -0
- package/dist/payroll/module.d.ts +9390 -0
- package/dist/payroll/module.js +606 -0
- package/dist/payroll/routes.d.ts +10 -0
- package/dist/payroll/routes.js +112 -0
- package/dist/payroll_account/.kosh/bindings.d.ts +22 -0
- package/dist/payroll_account/.kosh/bindings.js +15 -0
- package/dist/payroll_account/.kosh/schema.d.ts +2308 -0
- package/dist/payroll_account/index.d.ts +3 -0
- package/dist/payroll_account/index.js +40 -0
- package/dist/payroll_account/module.d.ts +12396 -0
- package/dist/payroll_account/module.js +256 -0
- package/dist/permissions/approvals.d.ts +131 -9
- package/dist/permissions/approvals.js +662 -57
- package/dist/permissions/index.d.ts +1 -1
- package/dist/permissions/index.js +2 -2
- package/dist/permissions/models.js +191 -12
- package/dist/permissions/routes.d.ts +6 -1
- package/dist/permissions/routes.js +37 -4
- package/dist/permissions/web/ApprovalPanel.d.ts +5 -4
- package/dist/permissions/web/ApprovalPanel.js +39 -13
- package/dist/permissions/web/index.d.ts +6 -4
- package/dist/permissions/web/index.js +13 -4
- package/dist/permissions/web/messages.d.ts +2 -0
- package/dist/permissions/web/messages.js +43 -0
- package/dist/portal/index.js +1 -1
- package/dist/pos/.kosh/bindings.js +1 -1
- package/dist/pos/.kosh/schema.d.ts +123 -4
- package/dist/pos/index.js +4 -0
- package/dist/pos/module.d.ts +147 -0
- package/dist/pos_stock/.kosh/bindings.js +1 -1
- package/dist/pos_stock/.kosh/schema.d.ts +198 -5
- package/dist/pos_stock/module.d.ts +914 -46
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +2 -1
- package/dist/product/index.js +13 -0
- package/dist/product/module.d.ts +2 -0
- package/dist/product/module.js +2 -1
- package/dist/project/.kosh/bindings.js +1 -1
- package/dist/project/.kosh/schema.d.ts +672 -1
- package/dist/project/index.d.ts +3 -1
- package/dist/project/index.js +901 -14
- package/dist/project/module.d.ts +9892 -390
- package/dist/project/module.js +1530 -13
- package/dist/project/routes.d.ts +44 -0
- package/dist/project/routes.js +314 -0
- package/dist/project/schedule.d.ts +72 -0
- package/dist/project/schedule.js +192 -0
- package/dist/project/web/Refresh.d.ts +8 -0
- package/dist/project/web/Refresh.js +29 -0
- package/dist/project/web/Schedule.d.ts +9 -0
- package/dist/project/web/Schedule.js +93 -0
- package/dist/project/web/Structure.d.ts +8 -0
- package/dist/project/web/Structure.js +86 -0
- package/dist/project/web/Workload.d.ts +8 -0
- package/dist/project/web/Workload.js +43 -0
- package/dist/project/web/index.d.ts +14 -0
- package/dist/project/web/index.js +25 -0
- package/dist/project/web/messages.d.ts +2 -0
- package/dist/project/web/messages.js +85 -0
- package/dist/project_account/.kosh/bindings.d.ts +22 -0
- package/dist/project_account/.kosh/bindings.js +15 -0
- package/dist/project_account/.kosh/schema.d.ts +2241 -0
- package/dist/project_account/index.d.ts +3 -0
- package/dist/project_account/index.js +27 -0
- package/dist/project_account/module.d.ts +11539 -0
- package/dist/project_account/module.js +76 -0
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +672 -1
- package/dist/project_portal/module.d.ts +4798 -129
- package/dist/project_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/project_purchase/.kosh/bindings.js +15 -0
- package/dist/project_purchase/.kosh/schema.d.ts +2320 -0
- package/dist/project_purchase/index.d.ts +9 -0
- package/dist/project_purchase/index.js +22 -0
- package/dist/project_purchase/module.d.ts +25147 -0
- package/dist/project_purchase/module.js +56 -0
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +97 -4
- package/dist/purchase/module.d.ts +13 -2
- package/dist/purchase/module.js +10 -1
- package/dist/purchase_account/.kosh/bindings.js +1 -1
- package/dist/purchase_account/.kosh/schema.d.ts +126 -6
- package/dist/purchase_account/index.js +1 -0
- package/dist/purchase_account/module.d.ts +176 -1
- package/dist/purchase_account/module.js +13 -2
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +97 -4
- package/dist/purchase_portal/module.d.ts +6 -1
- package/dist/purchase_stock/.kosh/bindings.js +1 -1
- package/dist/purchase_stock/.kosh/schema.d.ts +174 -5
- package/dist/purchase_stock/index.d.ts +1 -1
- package/dist/purchase_stock/index.js +9 -2
- package/dist/purchase_stock/module.d.ts +840 -68
- package/dist/purchase_stock/module.js +242 -6
- package/dist/purchase_stock_account/.kosh/bindings.js +1 -1
- package/dist/purchase_stock_account/.kosh/schema.d.ts +203 -7
- package/dist/purchase_stock_account/module.d.ts +8163 -5514
- package/dist/purchase_stock_account/module.js +11 -5
- package/dist/recruitment/.kosh/bindings.js +1 -1
- package/dist/recruitment/.kosh/schema.d.ts +2 -1
- package/dist/recruitment/module.d.ts +2 -0
- package/dist/recruitment/module.js +2 -1
- package/dist/sale_account/.kosh/bindings.js +1 -1
- package/dist/sale_account/.kosh/schema.d.ts +123 -4
- package/dist/sale_account/module.d.ts +147 -0
- package/dist/sale_portal/.kosh/bindings.js +1 -1
- package/dist/sale_portal/.kosh/schema.d.ts +2 -1
- package/dist/sale_portal/module.d.ts +1 -0
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +673 -1
- package/dist/sale_project/module.d.ts +4800 -129
- package/dist/sale_project/module.js +17 -1
- package/dist/sale_stock/.kosh/bindings.js +1 -1
- package/dist/sale_stock/.kosh/schema.d.ts +77 -2
- package/dist/sale_stock/module.d.ts +789 -66
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +2 -1
- package/dist/sales/index.js +4 -0
- package/dist/sales/module.d.ts +1 -0
- package/dist/sign/.kosh/bindings.d.ts +22 -0
- package/dist/sign/.kosh/bindings.js +15 -0
- package/dist/sign/.kosh/schema.d.ts +990 -0
- package/dist/sign/index.d.ts +14 -0
- package/dist/sign/index.js +350 -0
- package/dist/sign/module.d.ts +4478 -0
- package/dist/sign/module.js +158 -0
- package/dist/sign/sign.d.ts +82 -0
- package/dist/sign/sign.js +474 -0
- package/dist/stock/.kosh/bindings.js +1 -1
- package/dist/stock/.kosh/schema.d.ts +77 -2
- package/dist/stock/demo.d.ts +2 -1
- package/dist/stock/demo.js +28 -1
- package/dist/stock/index.d.ts +2 -1
- package/dist/stock/index.js +233 -4
- package/dist/stock/module.d.ts +2363 -837
- package/dist/stock/module.js +569 -14
- package/dist/stock/replenish.d.ts +38 -0
- package/dist/stock/replenish.js +176 -0
- package/dist/stock/web/Replenishment.d.ts +8 -0
- package/dist/stock/web/Replenishment.js +84 -0
- package/dist/stock/web/index.d.ts +4 -2
- package/dist/stock/web/index.js +6 -2
- package/dist/stock/web/messages.js +52 -0
- package/dist/stock_account/.kosh/bindings.js +1 -1
- package/dist/stock_account/.kosh/schema.d.ts +198 -5
- package/dist/stock_account/index.js +10 -0
- package/dist/stock_account/module.d.ts +969 -101
- package/dist/trade_finance/index.js +2 -0
- package/dist/trade_finance/module.js +2 -0
- package/dist/trade_finance_account/.kosh/bindings.js +1 -1
- package/dist/trade_finance_account/.kosh/schema.d.ts +123 -4
- package/dist/trade_finance_account/index.js +1 -0
- package/dist/trade_finance_account/module.d.ts +146 -0
- package/dist/trade_finance_account/module.js +1 -0
- package/dist/trade_finance_purchase/.kosh/bindings.js +1 -1
- package/dist/trade_finance_purchase/.kosh/schema.d.ts +97 -4
- package/dist/trade_finance_purchase/module.d.ts +6 -1
- package/dist/trade_finance_sale/.kosh/bindings.js +1 -1
- package/dist/trade_finance_sale/.kosh/schema.d.ts +2 -1
- package/dist/trade_finance_sale/module.d.ts +1 -0
- package/dist/ui/app.js +24 -12
- package/dist/ui/components/AppIcon.js +8 -1
- package/dist/ui/i18n/messages.d.ts +4 -0
- package/dist/ui/i18n/messages.js +8 -0
- package/dist/ui/views/FormView.js +4 -2
- package/dist/ui/views/KanbanView.js +9 -1
- package/dist/ui/views/ListView.js +4 -2
- package/dist/ui/views/widgets.js +7 -1
- package/dist/website/index.js +1 -0
- package/dist/website/module.js +1 -0
- package/dist/website_crm/.kosh/bindings.js +1 -1
- package/dist/website_crm/.kosh/schema.d.ts +2 -1
- package/dist/website_crm/module.d.ts +1 -0
- package/dist/website_sale/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale/.kosh/bindings.js +15 -0
- package/dist/website_sale/.kosh/schema.d.ts +2284 -0
- package/dist/website_sale/couriers.d.ts +50 -0
- package/dist/website_sale/couriers.js +59 -0
- package/dist/website_sale/demo.d.ts +7 -0
- package/dist/website_sale/demo.js +90 -0
- package/dist/website_sale/growth.d.ts +31 -0
- package/dist/website_sale/growth.js +163 -0
- package/dist/website_sale/index.d.ts +49 -0
- package/dist/website_sale/index.js +538 -0
- package/dist/website_sale/module.d.ts +22027 -0
- package/dist/website_sale/module.js +397 -0
- package/dist/website_sale/shipments.d.ts +16 -0
- package/dist/website_sale/shipments.js +113 -0
- package/dist/website_sale/shop.d.ts +81 -0
- package/dist/website_sale/shop.js +649 -0
- package/dist/website_sale_stock/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale_stock/.kosh/bindings.js +15 -0
- package/dist/website_sale_stock/.kosh/schema.d.ts +2681 -0
- package/dist/website_sale_stock/index.d.ts +9 -0
- package/dist/website_sale_stock/index.js +20 -0
- package/dist/website_sale_stock/module.d.ts +24998 -0
- package/dist/website_sale_stock/module.js +28 -0
- package/package.json +83 -2
|
@@ -1,10 +1,11 @@
|
|
|
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: d17d968a7b529306
|
|
2
2
|
// Schema view of module `pos_stock` (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
|
|
|
5
5
|
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
6
|
export interface SchemaView {
|
|
7
7
|
readonly 'account.account': AccountAccount;
|
|
8
|
+
readonly 'account.analytic': AccountAnalytic;
|
|
8
9
|
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
9
10
|
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
10
11
|
readonly 'account.journal': AccountJournal;
|
|
@@ -18,9 +19,12 @@ export interface SchemaView {
|
|
|
18
19
|
readonly 'account.tax': AccountTax;
|
|
19
20
|
readonly 'account.tax.component': AccountTaxComponent;
|
|
20
21
|
readonly 'account.withholding': AccountWithholding;
|
|
22
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
21
23
|
readonly 'approval.level': ApprovalLevel;
|
|
24
|
+
readonly 'approval.link': ApprovalLink;
|
|
22
25
|
readonly 'approval.policy': ApprovalPolicy;
|
|
23
26
|
readonly 'approval.request': ApprovalRequest;
|
|
27
|
+
readonly 'approval.vote': ApprovalVote;
|
|
24
28
|
readonly 'audit.event': AuditEvent;
|
|
25
29
|
readonly 'auth.api_key': AuthApiKey;
|
|
26
30
|
readonly 'auth.credential': AuthCredential;
|
|
@@ -69,7 +73,9 @@ export interface SchemaView {
|
|
|
69
73
|
readonly 'stock.lot.line': StockLotLine;
|
|
70
74
|
readonly 'stock.move': StockMove;
|
|
71
75
|
readonly 'stock.picking': StockPicking;
|
|
76
|
+
readonly 'stock.putaway': StockPutaway;
|
|
72
77
|
readonly 'stock.quant': StockQuant;
|
|
78
|
+
readonly 'stock.reorder': StockReorder;
|
|
73
79
|
readonly 'stock.reservation': StockReservation;
|
|
74
80
|
readonly 'stock.scrap': StockScrap;
|
|
75
81
|
readonly 'stock.warehouse': StockWarehouse;
|
|
@@ -103,6 +109,30 @@ export interface AccountAccount {
|
|
|
103
109
|
export interface AccountAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.account'> {
|
|
104
110
|
}
|
|
105
111
|
|
|
112
|
+
/** `account.analytic` (owner: accounting). */
|
|
113
|
+
export interface AccountAnalytic {
|
|
114
|
+
readonly name: 'account.analytic';
|
|
115
|
+
readonly fields: {
|
|
116
|
+
readonly id: F.Id<'account.analytic'>;
|
|
117
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
118
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
119
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
120
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
121
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
122
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
123
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
124
|
+
readonly code: F.Char;
|
|
125
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
126
|
+
readonly parent: F.Many2one<'account.analytic'>;
|
|
127
|
+
readonly note: F.Text;
|
|
128
|
+
};
|
|
129
|
+
readonly methods: AccountAnalyticMethods;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Methods of `account.analytic`: declared ones and transitions. */
|
|
133
|
+
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
134
|
+
}
|
|
135
|
+
|
|
106
136
|
/** `account.fiscal.year` (owner: accounting). */
|
|
107
137
|
export interface AccountFiscalYear {
|
|
108
138
|
readonly name: 'account.fiscal.year';
|
|
@@ -258,6 +288,7 @@ export interface AccountMoveLine {
|
|
|
258
288
|
readonly lineKind: F.Selection<'entry' | 'product' | 'tax' | 'counterpart', { readonly required: true; readonly default: true }>;
|
|
259
289
|
readonly invoice: F.Many2one<'account.move', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
260
290
|
readonly product: F.Many2one<'product.product'>;
|
|
291
|
+
readonly analytic: F.Many2one<'account.analytic'>;
|
|
261
292
|
readonly quantity: F.Decimal<{ readonly default: true }>;
|
|
262
293
|
readonly priceUnit: F.Decimal<{ readonly default: true }>;
|
|
263
294
|
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
@@ -499,6 +530,29 @@ export interface AccountWithholding {
|
|
|
499
530
|
export interface AccountWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.withholding'> {
|
|
500
531
|
}
|
|
501
532
|
|
|
533
|
+
/** `approval.delegation` (owner: permissions). */
|
|
534
|
+
export interface ApprovalDelegation {
|
|
535
|
+
readonly name: 'approval.delegation';
|
|
536
|
+
readonly fields: {
|
|
537
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
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 user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
544
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
545
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
546
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
547
|
+
readonly note: F.Char;
|
|
548
|
+
};
|
|
549
|
+
readonly methods: ApprovalDelegationMethods;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
553
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
554
|
+
}
|
|
555
|
+
|
|
502
556
|
/** `approval.level` (owner: permissions). */
|
|
503
557
|
export interface ApprovalLevel {
|
|
504
558
|
readonly name: 'approval.level';
|
|
@@ -513,7 +567,14 @@ export interface ApprovalLevel {
|
|
|
513
567
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
514
568
|
readonly name: F.Char<{ readonly required: true }>;
|
|
515
569
|
readonly condition: F.Json;
|
|
516
|
-
readonly
|
|
570
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'field', { readonly required: true; readonly default: true }>;
|
|
571
|
+
readonly approverRole: F.Char;
|
|
572
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
573
|
+
readonly approverField: F.Char;
|
|
574
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
575
|
+
readonly quorumCount: F.Integer;
|
|
576
|
+
readonly deadlineHours: F.Integer;
|
|
577
|
+
readonly escalateRole: F.Char;
|
|
517
578
|
};
|
|
518
579
|
readonly methods: ApprovalLevelMethods;
|
|
519
580
|
}
|
|
@@ -522,6 +583,29 @@ export interface ApprovalLevel {
|
|
|
522
583
|
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
523
584
|
}
|
|
524
585
|
|
|
586
|
+
/** `approval.link` (owner: permissions). */
|
|
587
|
+
export interface ApprovalLink {
|
|
588
|
+
readonly name: 'approval.link';
|
|
589
|
+
readonly fields: {
|
|
590
|
+
readonly id: F.Id<'approval.link'>;
|
|
591
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
592
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
593
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
594
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
595
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
596
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
597
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
598
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
599
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
600
|
+
readonly usedAt: F.Datetime;
|
|
601
|
+
};
|
|
602
|
+
readonly methods: ApprovalLinkMethods;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
606
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
607
|
+
}
|
|
608
|
+
|
|
525
609
|
/** `approval.policy` (owner: permissions). */
|
|
526
610
|
export interface ApprovalPolicy {
|
|
527
611
|
readonly name: 'approval.policy';
|
|
@@ -539,6 +623,9 @@ export interface ApprovalPolicy {
|
|
|
539
623
|
readonly company: F.Many2one<'res.company'>;
|
|
540
624
|
readonly onApproved: F.Char;
|
|
541
625
|
readonly onRejected: F.Char;
|
|
626
|
+
readonly onSentBack: F.Char;
|
|
627
|
+
readonly onWithdrawn: F.Char;
|
|
628
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
542
629
|
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
543
630
|
};
|
|
544
631
|
readonly methods: ApprovalPolicyMethods;
|
|
@@ -565,8 +652,16 @@ export interface ApprovalRequest {
|
|
|
565
652
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
566
653
|
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
567
654
|
readonly company: F.Many2one<'res.company'>;
|
|
568
|
-
readonly approverRole: F.Char
|
|
569
|
-
readonly
|
|
655
|
+
readonly approverRole: F.Char;
|
|
656
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
657
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
658
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
659
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
660
|
+
readonly dueAt: F.Datetime;
|
|
661
|
+
readonly remindedAt: F.Datetime;
|
|
662
|
+
readonly escalatedTo: F.Char;
|
|
663
|
+
readonly escalatedAt: F.Datetime;
|
|
664
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
570
665
|
readonly requestedBy: F.Many2one<'res.users'>;
|
|
571
666
|
readonly decidedBy: F.Many2one<'res.users'>;
|
|
572
667
|
readonly decidedAt: F.Datetime;
|
|
@@ -579,6 +674,31 @@ export interface ApprovalRequest {
|
|
|
579
674
|
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
580
675
|
}
|
|
581
676
|
|
|
677
|
+
/** `approval.vote` (owner: permissions). */
|
|
678
|
+
export interface ApprovalVote {
|
|
679
|
+
readonly name: 'approval.vote';
|
|
680
|
+
readonly fields: {
|
|
681
|
+
readonly id: F.Id<'approval.vote'>;
|
|
682
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
683
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
684
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
685
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
686
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
687
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
688
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
689
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
690
|
+
readonly comment: F.Text;
|
|
691
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
692
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
693
|
+
readonly ip: F.Char;
|
|
694
|
+
};
|
|
695
|
+
readonly methods: ApprovalVoteMethods;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
699
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
700
|
+
}
|
|
701
|
+
|
|
582
702
|
/** `audit.event` (owner: base). */
|
|
583
703
|
export interface AuditEvent {
|
|
584
704
|
readonly name: 'audit.event';
|
|
@@ -1279,6 +1399,7 @@ export interface ProductCategory {
|
|
|
1279
1399
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1280
1400
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1281
1401
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1402
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1282
1403
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1283
1404
|
readonly parent: F.Many2one<'product.category'>;
|
|
1284
1405
|
};
|
|
@@ -1731,6 +1852,7 @@ export interface StockLocation {
|
|
|
1731
1852
|
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1732
1853
|
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1733
1854
|
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
|
|
1855
|
+
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1734
1856
|
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1735
1857
|
};
|
|
1736
1858
|
readonly methods: StockLocationMethods;
|
|
@@ -1750,6 +1872,7 @@ export interface StockLot {
|
|
|
1750
1872
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1751
1873
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1752
1874
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1875
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1753
1876
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1754
1877
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1755
1878
|
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
@@ -1808,6 +1931,8 @@ export interface StockMove {
|
|
|
1808
1931
|
readonly quantityDone: F.Decimal;
|
|
1809
1932
|
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1810
1933
|
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
1934
|
+
readonly procurement: F.Char;
|
|
1935
|
+
readonly destination: F.Many2one<'stock.location'>;
|
|
1811
1936
|
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1812
1937
|
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1813
1938
|
};
|
|
@@ -1830,7 +1955,7 @@ export interface StockPicking {
|
|
|
1830
1955
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1831
1956
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1832
1957
|
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1833
|
-
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production', { readonly required: true; readonly default: true }>;
|
|
1958
|
+
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1834
1959
|
readonly partner: F.Many2one<'res.partner'>;
|
|
1835
1960
|
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1836
1961
|
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
@@ -1844,6 +1969,8 @@ export interface StockPicking {
|
|
|
1844
1969
|
readonly count: F.Many2one<'stock.count'>;
|
|
1845
1970
|
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
1846
1971
|
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1972
|
+
readonly next: F.Many2one<'stock.picking'>;
|
|
1973
|
+
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1847
1974
|
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1848
1975
|
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1849
1976
|
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
@@ -1861,6 +1988,31 @@ export interface StockPickingMethods extends F.Methods<typeof import('../../stoc
|
|
|
1861
1988
|
readonly 'validate': () => Promise<void>;
|
|
1862
1989
|
}
|
|
1863
1990
|
|
|
1991
|
+
/** `stock.putaway` (owner: stock). */
|
|
1992
|
+
export interface StockPutaway {
|
|
1993
|
+
readonly name: 'stock.putaway';
|
|
1994
|
+
readonly fields: {
|
|
1995
|
+
readonly id: F.Id<'stock.putaway'>;
|
|
1996
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1997
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1998
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1999
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2000
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2001
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2002
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2003
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2004
|
+
readonly product: F.Many2one<'product.product'>;
|
|
2005
|
+
readonly category: F.Many2one<'product.category'>;
|
|
2006
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2007
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2008
|
+
};
|
|
2009
|
+
readonly methods: StockPutawayMethods;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/** Methods of `stock.putaway`: declared ones and transitions. */
|
|
2013
|
+
export interface StockPutawayMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.putaway'> {
|
|
2014
|
+
}
|
|
2015
|
+
|
|
1864
2016
|
/** `stock.quant` (owner: stock). */
|
|
1865
2017
|
export interface StockQuant {
|
|
1866
2018
|
readonly name: 'stock.quant';
|
|
@@ -1887,6 +2039,45 @@ export interface StockQuant {
|
|
|
1887
2039
|
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
|
|
1888
2040
|
}
|
|
1889
2041
|
|
|
2042
|
+
/** `stock.reorder` (owner: stock). */
|
|
2043
|
+
export interface StockReorder {
|
|
2044
|
+
readonly name: 'stock.reorder';
|
|
2045
|
+
readonly fields: {
|
|
2046
|
+
readonly id: F.Id<'stock.reorder'>;
|
|
2047
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2048
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2049
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2050
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2051
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2052
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2053
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2054
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2055
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2056
|
+
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
2057
|
+
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2058
|
+
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2059
|
+
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2060
|
+
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2061
|
+
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2062
|
+
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
2063
|
+
readonly vendor: F.Many2one<'res.partner'>;
|
|
2064
|
+
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
2065
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2066
|
+
readonly snoozedUntil: F.DateOnly;
|
|
2067
|
+
readonly onHand: F.Decimal;
|
|
2068
|
+
readonly forecast: F.Decimal;
|
|
2069
|
+
readonly proposed: F.Decimal;
|
|
2070
|
+
readonly explanation: F.Text;
|
|
2071
|
+
readonly refreshedAt: F.Datetime;
|
|
2072
|
+
readonly lastOrder: F.Char;
|
|
2073
|
+
};
|
|
2074
|
+
readonly methods: StockReorderMethods;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
2078
|
+
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'> {
|
|
2079
|
+
}
|
|
2080
|
+
|
|
1890
2081
|
/** `stock.reservation` (owner: stock). */
|
|
1891
2082
|
export interface StockReservation {
|
|
1892
2083
|
readonly name: 'stock.reservation';
|
|
@@ -1956,6 +2147,8 @@ export interface StockWarehouse {
|
|
|
1956
2147
|
readonly code: F.Char<{ readonly required: true }>;
|
|
1957
2148
|
readonly locations: F.One2many<'stock.location', { readonly required: true }>;
|
|
1958
2149
|
readonly address: F.Many2one<'res.partner'>;
|
|
2150
|
+
readonly receptionSteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2151
|
+
readonly deliverySteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
1959
2152
|
};
|
|
1960
2153
|
readonly methods: StockWarehouseMethods;
|
|
1961
2154
|
}
|