shutro-erp 0.3.6 → 0.3.7
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.js +1 -1
- package/dist/account_asset/.kosh/schema.d.ts +530 -8
- package/dist/account_asset/i18n/bn.d.ts +2 -0
- package/dist/account_asset/i18n/bn.js +97 -0
- package/dist/account_asset/index.js +2 -0
- package/dist/account_asset/module.d.ts +4899 -1445
- package/dist/account_budget/.kosh/bindings.js +1 -1
- package/dist/account_budget/.kosh/schema.d.ts +1130 -56
- package/dist/account_budget/i18n/bn.d.ts +2 -0
- package/dist/account_budget/i18n/bn.js +63 -0
- package/dist/account_budget/index.js +14 -0
- package/dist/account_budget/module.d.ts +17958 -4532
- package/dist/account_budget/module.js +15 -0
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +530 -8
- package/dist/account_portal/i18n/bn.d.ts +2 -0
- package/dist/account_portal/i18n/bn.js +6 -0
- package/dist/account_portal/index.js +2 -0
- package/dist/account_portal/module.d.ts +5167 -1693
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +530 -8
- package/dist/accounting/closing.js +1 -0
- package/dist/accounting/fiscal.d.ts +578 -0
- package/dist/accounting/fiscal.js +401 -0
- package/dist/accounting/followups.d.ts +618 -0
- package/dist/accounting/followups.js +420 -0
- package/dist/accounting/i18n/bn.d.ts +2 -0
- package/dist/accounting/i18n/bn.js +425 -0
- package/dist/accounting/index.d.ts +2 -0
- package/dist/accounting/index.js +649 -2
- package/dist/accounting/module.d.ts +4998 -1451
- package/dist/accounting/module.js +124 -18
- package/dist/accounting/statements.d.ts +878 -0
- package/dist/accounting/statements.js +728 -0
- package/dist/accounting/web/BankReconcilePage.d.ts +9 -0
- package/dist/accounting/web/BankReconcilePage.js +138 -0
- package/dist/accounting/web/FollowupsPage.d.ts +8 -0
- package/dist/accounting/web/FollowupsPage.js +54 -0
- package/dist/accounting/web/PostingPreview.d.ts +8 -0
- package/dist/accounting/web/PostingPreview.js +26 -0
- package/dist/accounting/web/index.d.ts +3 -0
- package/dist/accounting/web/index.js +9 -0
- package/dist/accounting/web/messages.js +140 -0
- package/dist/approvals/.kosh/bindings.js +1 -1
- package/dist/approvals/.kosh/schema.d.ts +272 -4
- package/dist/approvals/demo.d.ts +7 -0
- package/dist/approvals/demo.js +41 -0
- package/dist/approvals/i18n/bn.d.ts +2 -0
- package/dist/approvals/i18n/bn.js +133 -0
- package/dist/approvals/index.d.ts +19 -1
- package/dist/approvals/index.js +477 -7
- package/dist/approvals/mails.d.ts +7 -2
- package/dist/approvals/mails.js +8 -3
- package/dist/approvals/module.d.ts +2930 -1
- package/dist/approvals/module.js +468 -7
- package/dist/approvals/web/Config.d.ts +12 -0
- package/dist/approvals/web/Config.js +60 -0
- package/dist/approvals/web/Matrix.d.ts +9 -0
- package/dist/approvals/web/Matrix.js +26 -0
- package/dist/approvals/web/index.d.ts +3 -1
- package/dist/approvals/web/index.js +8 -1
- package/dist/approvals/web/messages.js +92 -0
- package/dist/approvals_purchase/.kosh/bindings.js +15 -0
- package/dist/approvals_purchase/.kosh/schema.d.ts +1997 -0
- package/dist/approvals_purchase/i18n/bn.d.ts +2 -0
- package/dist/approvals_purchase/i18n/bn.js +5 -0
- package/dist/approvals_purchase/index.d.ts +3 -0
- package/dist/approvals_purchase/index.js +47 -0
- package/dist/approvals_purchase/module.d.ts +12670 -0
- package/dist/approvals_purchase/module.js +84 -0
- package/dist/attendance/.kosh/bindings.js +1 -1
- package/dist/attendance/.kosh/schema.d.ts +59 -1
- package/dist/attendance/i18n/bn.d.ts +2 -0
- package/dist/attendance/i18n/bn.js +147 -0
- package/dist/attendance/index.js +3 -1
- package/dist/attendance/module.d.ts +452 -8
- package/dist/automation/engine.js +1 -1
- package/dist/calendar/.kosh/bindings.js +1 -1
- package/dist/calendar/.kosh/schema.d.ts +2 -1
- package/dist/calendar/i18n/bn.d.ts +2 -0
- package/dist/calendar/i18n/bn.js +80 -0
- package/dist/calendar/index.js +77 -0
- package/dist/calendar/module.d.ts +26 -0
- package/dist/calendar/module.js +14 -4
- package/dist/cli/apps.js +25 -5
- package/dist/cli/init.js +14 -4
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +34 -5
- package/dist/contacts/.kosh/bindings.js +1 -1
- package/dist/contacts/.kosh/schema.d.ts +2 -1
- package/dist/contacts/i18n/bn.d.ts +2 -0
- package/dist/contacts/i18n/bn.js +67 -0
- package/dist/contacts/index.js +3 -0
- package/dist/contacts/module.d.ts +42 -0
- package/dist/contacts/module.js +6 -1
- package/dist/crm/.kosh/bindings.js +1 -1
- package/dist/crm/.kosh/schema.d.ts +2 -1
- package/dist/crm/i18n/bn.d.ts +2 -0
- package/dist/crm/i18n/bn.js +80 -0
- package/dist/crm/index.js +22 -0
- package/dist/crm/module.d.ts +20 -0
- package/dist/crm/module.js +4 -2
- package/dist/documents/.kosh/bindings.js +1 -1
- package/dist/documents/.kosh/schema.d.ts +2 -1
- package/dist/documents/i18n/bn.d.ts +2 -0
- package/dist/documents/i18n/bn.js +83 -0
- package/dist/documents/index.js +128 -1
- package/dist/documents/module.d.ts +20 -0
- package/dist/documents/module.js +1 -0
- package/dist/event/.kosh/bindings.js +1 -1
- package/dist/event/.kosh/schema.d.ts +2 -1
- package/dist/event/i18n/bn.d.ts +2 -0
- package/dist/event/i18n/bn.js +101 -0
- package/dist/event/index.js +66 -0
- package/dist/event/module.d.ts +20 -0
- package/dist/event/module.js +8 -1
- package/dist/event_account/.kosh/bindings.js +1 -1
- package/dist/event_account/.kosh/schema.d.ts +530 -8
- package/dist/event_account/i18n/bn.d.ts +2 -0
- package/dist/event_account/i18n/bn.js +5 -0
- package/dist/event_account/index.js +2 -0
- package/dist/event_account/module.d.ts +4905 -1431
- package/dist/expense/.kosh/bindings.js +1 -1
- package/dist/expense/.kosh/schema.d.ts +323 -2
- package/dist/expense/i18n/bn.d.ts +2 -0
- package/dist/expense/i18n/bn.js +155 -0
- package/dist/expense/index.js +8 -1
- package/dist/expense/module.d.ts +2715 -694
- package/dist/expense/module.js +3 -1
- package/dist/expense_account/.kosh/bindings.js +1 -1
- package/dist/expense_account/.kosh/schema.d.ts +587 -8
- package/dist/expense_account/i18n/bn.d.ts +2 -0
- package/dist/expense_account/i18n/bn.js +15 -0
- package/dist/expense_account/index.js +2 -0
- package/dist/expense_account/module.d.ts +8094 -2619
- package/dist/helpdesk/.kosh/bindings.js +1 -1
- package/dist/helpdesk/.kosh/schema.d.ts +2 -1
- package/dist/helpdesk/i18n/bn.d.ts +2 -0
- package/dist/helpdesk/i18n/bn.js +127 -0
- package/dist/helpdesk/index.js +2 -0
- package/dist/helpdesk/module.d.ts +20 -0
- package/dist/hr/.kosh/bindings.js +1 -1
- package/dist/hr/.kosh/schema.d.ts +59 -1
- package/dist/hr/demo.js +11 -1
- package/dist/hr/i18n/bn.d.ts +2 -0
- package/dist/hr/i18n/bn.js +126 -0
- package/dist/hr/index.d.ts +1 -1
- package/dist/hr/index.js +158 -12
- package/dist/hr/module.d.ts +932 -59
- package/dist/hr/module.js +114 -17
- package/dist/{mrp → indent}/.kosh/bindings.js +2 -2
- package/dist/indent/.kosh/schema.d.ts +2084 -0
- package/dist/indent/demo.d.ts +7 -0
- package/dist/indent/demo.js +48 -0
- package/dist/indent/i18n/bn.d.ts +2 -0
- package/dist/indent/i18n/bn.js +143 -0
- package/dist/indent/index.d.ts +3 -0
- package/dist/indent/index.js +450 -0
- package/dist/{mrp → indent}/module.d.ts +7164 -3075
- package/dist/indent/module.js +792 -0
- package/dist/indent_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/indent_purchase/.kosh/bindings.js +15 -0
- package/dist/indent_purchase/.kosh/schema.d.ts +2710 -0
- package/dist/indent_purchase/i18n/bn.d.ts +2 -0
- package/dist/indent_purchase/i18n/bn.js +13 -0
- package/dist/indent_purchase/index.d.ts +3 -0
- package/dist/indent_purchase/index.js +61 -0
- package/dist/indent_purchase/module.d.ts +27950 -0
- package/dist/indent_purchase/module.js +163 -0
- package/dist/l10n_bd/.kosh/bindings.js +1 -1
- package/dist/l10n_bd/.kosh/schema.d.ts +530 -8
- package/dist/l10n_bd/i18n/bn.d.ts +2 -0
- package/dist/l10n_bd/i18n/bn.js +69 -0
- package/dist/l10n_bd/index.js +2 -0
- package/dist/l10n_bd/module.d.ts +5167 -1693
- package/dist/l10n_bd_payroll/.kosh/bindings.js +1 -1
- package/dist/l10n_bd_payroll/.kosh/schema.d.ts +587 -8
- package/dist/l10n_bd_payroll/i18n/bn.d.ts +2 -0
- package/dist/l10n_bd_payroll/i18n/bn.js +4 -0
- package/dist/l10n_bd_payroll/index.js +2 -0
- package/dist/l10n_bd_payroll/module.d.ts +5910 -1548
- package/dist/l10n_bd_pos/.kosh/bindings.d.ts +22 -0
- package/dist/{mrp_account → l10n_bd_pos}/.kosh/bindings.js +2 -2
- package/dist/{mrp_account → l10n_bd_pos}/.kosh/schema.d.ts +693 -651
- package/dist/l10n_bd_pos/i18n/bn.d.ts +2 -0
- package/dist/l10n_bd_pos/i18n/bn.js +32 -0
- package/dist/l10n_bd_pos/index.d.ts +3 -0
- package/dist/l10n_bd_pos/index.js +111 -0
- package/dist/{mrp_account → l10n_bd_pos}/module.d.ts +7402 -7647
- package/dist/l10n_bd_pos/module.js +43 -0
- package/dist/l10n_in/.kosh/bindings.js +1 -1
- package/dist/l10n_in/.kosh/schema.d.ts +530 -8
- package/dist/l10n_in/i18n/bn.d.ts +2 -0
- package/dist/l10n_in/i18n/bn.js +95 -0
- package/dist/l10n_in/index.js +2 -0
- package/dist/l10n_in/module.d.ts +6703 -1652
- package/dist/l10n_in/module.js +25 -5
- package/dist/l10n_in/web/GstSettings.js +2 -2
- package/dist/mail/inbound/handle.js +2 -4
- package/dist/mail/inbound/models.js +5 -3
- package/dist/mail/index.d.ts +12 -1
- package/dist/mail/index.js +139 -2
- package/dist/mail/send.d.ts +56 -0
- package/dist/mail/send.js +394 -0
- package/dist/mail/web/SendButton.d.ts +9 -0
- package/dist/mail/web/SendButton.js +71 -0
- package/dist/mail/web/SendSelected.d.ts +8 -0
- package/dist/mail/web/SendSelected.js +33 -0
- package/dist/mail/web/index.d.ts +2 -0
- package/dist/mail/web/index.js +6 -0
- package/dist/mail/web/messages.js +36 -0
- package/dist/maintenance/.kosh/bindings.js +1 -1
- package/dist/maintenance/.kosh/schema.d.ts +2 -1
- package/dist/maintenance/i18n/bn.d.ts +2 -0
- package/dist/maintenance/i18n/bn.js +132 -0
- package/dist/maintenance/index.js +85 -0
- package/dist/maintenance/module.d.ts +25 -0
- package/dist/maintenance/module.js +27 -9
- package/dist/maintenance_stock/.kosh/bindings.js +1 -1
- package/dist/maintenance_stock/.kosh/schema.d.ts +298 -2
- package/dist/maintenance_stock/i18n/bn.d.ts +2 -0
- package/dist/maintenance_stock/i18n/bn.js +21 -0
- package/dist/maintenance_stock/index.js +2 -0
- package/dist/maintenance_stock/module.d.ts +5302 -1256
- package/dist/maintenance_stock/module.js +1 -0
- package/dist/modules-sdk/apps.d.ts +10 -0
- package/dist/modules-sdk/apps.js +32 -0
- package/dist/modules-sdk/index.d.ts +1 -1
- package/dist/modules-sdk/manifest.d.ts +68 -2
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +530 -8
- package/dist/payment/i18n/bn.d.ts +2 -0
- package/dist/payment/i18n/bn.js +59 -0
- package/dist/payment/index.js +85 -0
- package/dist/payment/module.d.ts +5134 -1660
- package/dist/payment/module.js +17 -3
- package/dist/payment/settle.js +1 -0
- package/dist/payroll/.kosh/bindings.js +1 -1
- package/dist/payroll/.kosh/schema.d.ts +59 -1
- package/dist/payroll/i18n/bn.d.ts +2 -0
- package/dist/payroll/i18n/bn.js +206 -0
- package/dist/payroll/index.js +2 -0
- package/dist/payroll/module.d.ts +936 -48
- package/dist/payroll_account/.kosh/bindings.js +1 -1
- package/dist/payroll_account/.kosh/schema.d.ts +587 -8
- package/dist/payroll_account/i18n/bn.d.ts +2 -0
- package/dist/payroll_account/i18n/bn.js +10 -0
- package/dist/payroll_account/index.js +2 -0
- package/dist/payroll_account/module.d.ts +7534 -3192
- package/dist/permissions/approvals.d.ts +97 -4
- package/dist/permissions/approvals.js +780 -31
- package/dist/permissions/index.d.ts +1 -1
- package/dist/permissions/index.js +2 -2
- package/dist/permissions/models.js +177 -5
- package/dist/permissions/routes.d.ts +3 -0
- package/dist/permissions/routes.js +36 -2
- package/dist/permissions/web/ApprovalPanel.js +43 -5
- package/dist/permissions/web/messages.js +52 -0
- package/dist/portal/.kosh/bindings.js +1 -1
- package/dist/portal/.kosh/schema.d.ts +2 -1
- package/dist/portal/documents.d.ts +3 -0
- package/dist/portal/documents.js +21 -1
- package/dist/portal/i18n/bn.d.ts +2 -0
- package/dist/portal/i18n/bn.js +33 -0
- package/dist/portal/index.js +2 -0
- package/dist/portal/module.d.ts +20 -0
- package/dist/portal/routes-documents.js +76 -0
- package/dist/pos/.kosh/bindings.js +1 -1
- package/dist/pos/.kosh/schema.d.ts +531 -8
- package/dist/pos/i18n/bn.d.ts +2 -0
- package/dist/pos/i18n/bn.js +133 -0
- package/dist/pos/index.js +83 -1
- package/dist/pos/module.d.ts +6888 -1777
- package/dist/pos/module.js +49 -5
- package/dist/pos/routes.js +80 -7
- package/dist/pos/web/Register.js +2 -5
- package/dist/pos_stock/.kosh/bindings.js +1 -1
- package/dist/pos_stock/.kosh/schema.d.ts +626 -9
- package/dist/pos_stock/i18n/bn.d.ts +2 -0
- package/dist/pos_stock/i18n/bn.js +6 -0
- package/dist/pos_stock/index.js +2 -0
- package/dist/pos_stock/module.d.ts +10798 -3276
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +202 -1
- package/dist/product/i18n/bn.d.ts +2 -0
- package/dist/product/i18n/bn.js +175 -0
- package/dist/product/index.d.ts +1 -0
- package/dist/product/index.js +288 -1
- package/dist/product/module.d.ts +1725 -0
- package/dist/product/module.js +66 -6
- package/dist/product/pricelist.d.ts +575 -0
- package/dist/product/pricelist.js +257 -0
- package/dist/product/variants.d.ts +908 -0
- package/dist/product/variants.js +251 -0
- package/dist/production/.kosh/bindings.d.ts +22 -0
- package/dist/production/.kosh/bindings.js +15 -0
- package/dist/production/.kosh/schema.d.ts +2345 -0
- package/dist/{mrp → production}/demo.d.ts +1 -1
- package/dist/{mrp → production}/demo.js +5 -5
- package/dist/production/depth.d.ts +790 -0
- package/dist/production/depth.js +262 -0
- package/dist/production/i18n/bn.d.ts +2 -0
- package/dist/production/i18n/bn.js +350 -0
- package/dist/production/index.d.ts +6 -0
- package/dist/production/index.js +1256 -0
- package/dist/production/module.d.ts +17327 -0
- package/dist/production/module.js +1333 -0
- package/dist/production/plan.d.ts +921 -0
- package/dist/production/plan.js +511 -0
- package/dist/production/schedule.d.ts +656 -0
- package/dist/production/schedule.js +309 -0
- package/dist/production_account/.kosh/bindings.d.ts +22 -0
- package/dist/production_account/.kosh/bindings.js +15 -0
- package/dist/production_account/.kosh/schema.d.ts +3496 -0
- package/dist/production_account/i18n/bn.d.ts +2 -0
- package/dist/production_account/i18n/bn.js +93 -0
- package/dist/production_account/index.d.ts +4 -0
- package/dist/production_account/index.js +246 -0
- package/dist/production_account/module.d.ts +1192 -0
- package/dist/{mrp_account → production_account}/module.js +72 -18
- package/dist/production_account/overhead.d.ts +1195 -0
- package/dist/production_account/overhead.js +554 -0
- package/dist/project/.kosh/bindings.js +1 -1
- package/dist/project/.kosh/schema.d.ts +65 -2
- package/dist/project/i18n/bn.d.ts +2 -0
- package/dist/project/i18n/bn.js +383 -0
- package/dist/project/index.js +123 -0
- package/dist/project/module.d.ts +20 -0
- package/dist/project/module.js +73 -14
- package/dist/project_account/.kosh/bindings.js +1 -1
- package/dist/project_account/.kosh/schema.d.ts +530 -8
- package/dist/project_account/i18n/bn.d.ts +2 -0
- package/dist/project_account/i18n/bn.js +6 -0
- package/dist/project_account/index.js +2 -0
- package/dist/project_account/module.d.ts +4926 -1452
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +65 -2
- package/dist/project_portal/i18n/bn.d.ts +2 -0
- package/dist/project_portal/i18n/bn.js +6 -0
- package/dist/project_portal/index.js +2 -0
- package/dist/project_portal/module.d.ts +40 -0
- package/dist/project_purchase/.kosh/bindings.js +1 -1
- package/dist/project_purchase/.kosh/schema.d.ts +1126 -53
- package/dist/project_purchase/i18n/bn.d.ts +2 -0
- package/dist/project_purchase/i18n/bn.js +4 -0
- package/dist/project_purchase/index.js +2 -0
- package/dist/project_purchase/module.d.ts +17912 -4446
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +813 -3
- package/dist/purchase/comparison.d.ts +993 -0
- package/dist/purchase/comparison.js +415 -0
- package/dist/purchase/extras.d.ts +1509 -0
- package/dist/purchase/extras.js +445 -0
- package/dist/purchase/i18n/bn.d.ts +2 -0
- package/dist/purchase/i18n/bn.js +413 -0
- package/dist/purchase/index.d.ts +5 -0
- package/dist/purchase/index.js +1280 -4
- package/dist/purchase/module.d.ts +7139 -398
- package/dist/purchase/module.js +295 -11
- package/dist/purchase/request.d.ts +696 -0
- package/dist/purchase/request.js +446 -0
- package/dist/purchase/tender.d.ts +1208 -0
- package/dist/purchase/tender.js +507 -0
- package/dist/purchase/vendorprice.d.ts +340 -0
- package/dist/purchase/vendorprice.js +153 -0
- package/dist/purchase_account/.kosh/bindings.js +1 -1
- package/dist/purchase_account/.kosh/schema.d.ts +1130 -57
- package/dist/purchase_account/i18n/bn.d.ts +2 -0
- package/dist/purchase_account/i18n/bn.js +22 -0
- package/dist/purchase_account/index.js +19 -0
- package/dist/purchase_account/module.d.ts +12276 -2247
- package/dist/purchase_account/module.js +241 -9
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +813 -3
- package/dist/purchase_portal/i18n/bn.d.ts +2 -0
- package/dist/purchase_portal/i18n/bn.js +5 -0
- package/dist/purchase_portal/index.js +2 -0
- package/dist/purchase_portal/module.d.ts +6849 -353
- package/dist/purchase_stock/.kosh/bindings.js +1 -1
- package/dist/purchase_stock/.kosh/schema.d.ts +910 -4
- package/dist/purchase_stock/i18n/bn.d.ts +2 -0
- package/dist/purchase_stock/i18n/bn.js +19 -0
- package/dist/purchase_stock/index.d.ts +1 -1
- package/dist/purchase_stock/index.js +29 -0
- package/dist/purchase_stock/module.d.ts +12410 -1864
- package/dist/purchase_stock/module.js +81 -9
- package/dist/purchase_stock/scorecard.d.ts +22 -0
- package/dist/purchase_stock/scorecard.js +77 -0
- package/dist/purchase_stock/web/Scorecard.d.ts +7 -0
- package/dist/purchase_stock/web/Scorecard.js +22 -0
- package/dist/purchase_stock/web/index.d.ts +11 -0
- package/dist/purchase_stock/web/index.js +16 -0
- package/dist/purchase_stock/web/messages.d.ts +2 -0
- package/dist/purchase_stock/web/messages.js +27 -0
- package/dist/purchase_stock_account/.kosh/bindings.js +1 -1
- package/dist/purchase_stock_account/.kosh/schema.d.ts +1286 -58
- package/dist/purchase_stock_account/i18n/bn.d.ts +2 -0
- package/dist/purchase_stock_account/i18n/bn.js +8 -0
- package/dist/purchase_stock_account/index.js +18 -0
- package/dist/purchase_stock_account/module.d.ts +7 -37995
- package/dist/purchase_stock_account/module.js +24 -3
- package/dist/recruitment/.kosh/bindings.js +1 -1
- package/dist/recruitment/.kosh/schema.d.ts +59 -1
- package/dist/recruitment/i18n/bn.d.ts +2 -0
- package/dist/recruitment/i18n/bn.js +93 -0
- package/dist/recruitment/index.js +64 -0
- package/dist/recruitment/module.d.ts +458 -8
- package/dist/recruitment/module.js +11 -3
- package/dist/reporting/documents.d.ts +5 -0
- package/dist/reporting/documents.js +11 -1
- package/dist/reporting/index.d.ts +1 -1
- package/dist/reporting/index.js +1 -1
- package/dist/reporting/web/CalendarView.d.ts +18 -5
- package/dist/reporting/web/CalendarView.js +163 -29
- package/dist/reporting/web/messages.js +18 -0
- package/dist/sale_account/.kosh/bindings.js +1 -1
- package/dist/sale_account/.kosh/schema.d.ts +642 -16
- package/dist/sale_account/i18n/bn.d.ts +2 -0
- package/dist/sale_account/i18n/bn.js +48 -0
- package/dist/sale_account/index.d.ts +1 -1
- package/dist/sale_account/index.js +102 -4
- package/dist/sale_account/module.d.ts +8254 -2212
- package/dist/sale_account/module.js +535 -46
- package/dist/sale_crm/.kosh/bindings.d.ts +22 -0
- package/dist/sale_crm/.kosh/bindings.js +15 -0
- package/dist/{mrp → sale_crm}/.kosh/schema.d.ts +389 -567
- package/dist/sale_crm/i18n/bn.d.ts +2 -0
- package/dist/sale_crm/i18n/bn.js +9 -0
- package/dist/sale_crm/index.d.ts +7 -0
- package/dist/sale_crm/index.js +104 -0
- package/dist/sale_crm/module.d.ts +5609 -0
- package/dist/sale_crm/module.js +73 -0
- package/dist/sale_portal/.kosh/bindings.js +1 -1
- package/dist/sale_portal/.kosh/schema.d.ts +291 -4
- package/dist/sale_portal/i18n/bn.d.ts +2 -0
- package/dist/sale_portal/i18n/bn.js +7 -0
- package/dist/sale_portal/index.js +10 -0
- package/dist/sale_portal/module.d.ts +2564 -294
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +354 -5
- package/dist/sale_project/i18n/bn.d.ts +2 -0
- package/dist/sale_project/i18n/bn.js +12 -0
- package/dist/sale_project/index.js +2 -0
- package/dist/sale_project/module.d.ts +6249 -2402
- package/dist/sale_stock/.kosh/bindings.js +1 -1
- package/dist/sale_stock/.kosh/schema.d.ts +387 -5
- package/dist/sale_stock/i18n/bn.d.ts +2 -0
- package/dist/sale_stock/i18n/bn.js +15 -0
- package/dist/sale_stock/index.js +2 -0
- package/dist/sale_stock/module.d.ts +8057 -1759
- package/dist/sale_stock/module.js +20 -3
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +291 -4
- package/dist/sales/i18n/bn.d.ts +2 -0
- package/dist/sales/i18n/bn.js +128 -0
- package/dist/sales/index.js +120 -5
- package/dist/sales/module.d.ts +3567 -633
- package/dist/sales/module.js +306 -11
- package/dist/server/api/duplicate.d.ts +14 -0
- package/dist/server/api/duplicate.js +75 -0
- package/dist/server/api/explain.d.ts +70 -0
- package/dist/server/api/explain.js +111 -0
- package/dist/server/api/metadata.d.ts +2 -0
- package/dist/server/api/metadata.js +9 -0
- package/dist/server/api/openapi.js +15 -0
- package/dist/server/api/rest.d.ts +1 -0
- package/dist/server/api/rest.js +76 -12
- package/dist/server/api/views.js +1 -1
- package/dist/server/apps.d.ts +16 -1
- package/dist/server/apps.js +164 -2
- package/dist/server/auth/base.js +2 -0
- package/dist/server/auth/service.d.ts +8 -0
- package/dist/server/auth/service.js +19 -0
- package/dist/server/events.d.ts +13 -0
- package/dist/server/events.js +22 -0
- package/dist/server/i18n.d.ts +27 -0
- package/dist/server/i18n.js +143 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.js +2 -0
- package/dist/server/server.js +6 -0
- package/dist/settings/company.d.ts +3 -1
- package/dist/settings/company.js +26 -5
- package/dist/settings/routes.d.ts +10 -0
- package/dist/settings/routes.js +19 -3
- package/dist/settings/web/AppsPage.d.ts +3 -2
- package/dist/settings/web/AppsPage.js +26 -8
- package/dist/settings/web/CompaniesPage.js +91 -6
- package/dist/settings/web/messages.js +64 -0
- package/dist/sign/.kosh/bindings.js +1 -1
- package/dist/sign/.kosh/schema.d.ts +2 -1
- package/dist/sign/i18n/bn.d.ts +2 -0
- package/dist/sign/i18n/bn.js +97 -0
- package/dist/sign/index.d.ts +15 -0
- package/dist/sign/index.js +129 -1
- package/dist/sign/module.d.ts +40 -0
- package/dist/sign/module.js +11 -2
- package/dist/stock/.kosh/bindings.js +1 -1
- package/dist/stock/.kosh/schema.d.ts +298 -2
- package/dist/stock/i18n/bn.d.ts +2 -0
- package/dist/stock/i18n/bn.js +311 -0
- package/dist/stock/index.d.ts +3 -1
- package/dist/stock/index.js +442 -3
- package/dist/stock/ledger.d.ts +78 -0
- package/dist/stock/ledger.js +582 -0
- package/dist/stock/module.d.ts +5280 -2044
- package/dist/stock/module.js +222 -23
- package/dist/stock/replenish.js +16 -1
- package/dist/stock/returns.d.ts +157 -0
- package/dist/stock/returns.js +163 -0
- package/dist/stock/web/Ledger.d.ts +9 -0
- package/dist/stock/web/Ledger.js +108 -0
- package/dist/stock/web/Operations.d.ts +8 -0
- package/dist/stock/web/Operations.js +33 -0
- package/dist/stock/web/ReturnButton.d.ts +7 -0
- package/dist/stock/web/ReturnButton.js +62 -0
- package/dist/stock/web/index.d.ts +3 -0
- package/dist/stock/web/index.js +9 -0
- package/dist/stock/web/messages.js +154 -0
- package/dist/stock_account/.kosh/bindings.js +1 -1
- package/dist/stock_account/.kosh/schema.d.ts +682 -9
- package/dist/stock_account/i18n/bn.d.ts +2 -0
- package/dist/stock_account/i18n/bn.js +73 -0
- package/dist/stock_account/index.d.ts +1 -0
- package/dist/stock_account/index.js +131 -3
- package/dist/stock_account/landed.d.ts +429 -0
- package/dist/stock_account/landed.js +335 -0
- package/dist/stock_account/module.d.ts +11247 -3363
- package/dist/stock_account/module.js +135 -6
- package/dist/stock_account/web/LandedPreview.d.ts +7 -0
- package/dist/stock_account/web/LandedPreview.js +23 -0
- package/dist/stock_account/web/index.d.ts +11 -0
- package/dist/stock_account/web/index.js +16 -0
- package/dist/stock_account/web/messages.d.ts +2 -0
- package/dist/stock_account/web/messages.js +27 -0
- package/dist/todo/i18n/bn.d.ts +2 -0
- package/dist/todo/i18n/bn.js +66 -0
- package/dist/todo/index.js +59 -0
- package/dist/todo/module.d.ts +5 -0
- package/dist/todo/module.js +5 -3
- package/dist/trade_finance/.kosh/bindings.js +1 -1
- package/dist/trade_finance/.kosh/schema.d.ts +2 -1
- package/dist/trade_finance/i18n/bn.d.ts +2 -0
- package/dist/trade_finance/i18n/bn.js +162 -0
- package/dist/trade_finance/index.js +93 -0
- package/dist/trade_finance/module.d.ts +26 -0
- package/dist/trade_finance/module.js +27 -8
- package/dist/trade_finance_account/.kosh/bindings.js +1 -1
- package/dist/trade_finance_account/.kosh/schema.d.ts +530 -8
- package/dist/trade_finance_account/i18n/bn.d.ts +2 -0
- package/dist/trade_finance_account/i18n/bn.js +27 -0
- package/dist/trade_finance_account/index.js +2 -0
- package/dist/trade_finance_account/module.d.ts +4906 -1432
- 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 +813 -3
- package/dist/trade_finance_purchase/i18n/bn.d.ts +2 -0
- package/dist/trade_finance_purchase/i18n/bn.js +6 -0
- package/dist/trade_finance_purchase/index.js +2 -0
- package/dist/trade_finance_purchase/module.d.ts +6909 -413
- package/dist/trade_finance_sale/.kosh/bindings.js +1 -1
- package/dist/trade_finance_sale/.kosh/schema.d.ts +291 -4
- package/dist/trade_finance_sale/i18n/bn.d.ts +2 -0
- package/dist/trade_finance_sale/i18n/bn.js +6 -0
- package/dist/trade_finance_sale/index.js +2 -0
- package/dist/trade_finance_sale/module.d.ts +2601 -331
- package/dist/ui/api.d.ts +2 -0
- package/dist/ui/app.d.ts +9 -0
- package/dist/ui/app.js +24 -4
- package/dist/ui/components/AppIcon.js +2 -2
- package/dist/ui/components/Explain.d.ts +69 -0
- package/dist/ui/components/Explain.js +62 -0
- package/dist/ui/context.d.ts +8 -1
- package/dist/ui/context.js +34 -1
- package/dist/ui/i18n/messages.d.ts +36 -0
- package/dist/ui/i18n/messages.js +72 -0
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/registry.d.ts +14 -0
- package/dist/ui/registry.js +10 -0
- package/dist/ui/views/FormView.d.ts +6 -0
- package/dist/ui/views/FormView.js +47 -10
- package/dist/ui/views/ListView.d.ts +8 -0
- package/dist/ui/views/ListView.js +10 -3
- package/dist/ui/views/StatsRow.js +2 -1
- package/dist/views/extend.js +12 -0
- package/dist/views/types.d.ts +13 -2
- package/dist/views/validate.js +8 -1
- package/dist/website/.kosh/bindings.js +1 -1
- package/dist/website/.kosh/schema.d.ts +2 -1
- package/dist/website/i18n/bn.d.ts +2 -0
- package/dist/website/i18n/bn.js +113 -0
- package/dist/website/index.js +36 -0
- package/dist/website/module.d.ts +20 -0
- package/dist/website/module.js +29 -5
- package/dist/website_crm/.kosh/bindings.js +1 -1
- package/dist/website_crm/.kosh/schema.d.ts +2 -1
- package/dist/website_crm/i18n/bn.d.ts +2 -0
- package/dist/website_crm/i18n/bn.js +5 -0
- package/dist/website_crm/index.js +2 -0
- package/dist/website_crm/module.d.ts +40 -0
- package/dist/website_sale/.kosh/bindings.js +1 -1
- package/dist/website_sale/.kosh/schema.d.ts +642 -17
- package/dist/website_sale/i18n/bn.d.ts +2 -0
- package/dist/website_sale/i18n/bn.js +132 -0
- package/dist/website_sale/index.js +83 -1
- package/dist/website_sale/module.d.ts +18705 -5550
- package/dist/website_sale/module.js +32 -10
- package/dist/website_sale/shop.js +22 -9
- package/dist/website_sale_stock/.kosh/bindings.js +1 -1
- package/dist/website_sale_stock/.kosh/schema.d.ts +737 -18
- package/dist/website_sale_stock/i18n/bn.d.ts +2 -0
- package/dist/website_sale_stock/i18n/bn.js +4 -0
- package/dist/website_sale_stock/index.js +2 -0
- package/dist/website_sale_stock/module.d.ts +10 -24997
- package/dist/website_sale_stock/module.js +7 -3
- package/package.json +36 -8
- package/dist/mrp/index.d.ts +0 -3
- package/dist/mrp/index.js +0 -393
- package/dist/mrp/module.js +0 -757
- package/dist/mrp_account/index.d.ts +0 -3
- package/dist/mrp_account/index.js +0 -22
- /package/dist/{mrp → approvals_purchase}/.kosh/bindings.d.ts +0 -0
- /package/dist/{mrp_account → indent}/.kosh/bindings.d.ts +0 -0
|
@@ -0,0 +1,2345 @@
|
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: d13a4de186571bf5
|
|
2
|
+
// Schema view of module `production` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
|
+
import type { F } from '../../server/orm.js';
|
|
4
|
+
|
|
5
|
+
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
|
+
export interface SchemaView {
|
|
7
|
+
readonly 'account.tax': AccountTax;
|
|
8
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
9
|
+
readonly 'approval.event': ApprovalEvent;
|
|
10
|
+
readonly 'approval.level': ApprovalLevel;
|
|
11
|
+
readonly 'approval.link': ApprovalLink;
|
|
12
|
+
readonly 'approval.policy': ApprovalPolicy;
|
|
13
|
+
readonly 'approval.request': ApprovalRequest;
|
|
14
|
+
readonly 'approval.vote': ApprovalVote;
|
|
15
|
+
readonly 'audit.event': AuditEvent;
|
|
16
|
+
readonly 'auth.api_key': AuthApiKey;
|
|
17
|
+
readonly 'auth.credential': AuthCredential;
|
|
18
|
+
readonly 'auth.policy': AuthPolicy;
|
|
19
|
+
readonly 'auth.session': AuthSession;
|
|
20
|
+
readonly 'auth.user_grant': AuthUserGrant;
|
|
21
|
+
readonly 'auth.user_group': AuthUserGroup;
|
|
22
|
+
readonly 'kosh.image': KoshImage;
|
|
23
|
+
readonly 'kosh.saved_view': KoshSavedView;
|
|
24
|
+
readonly 'kosh.setting': KoshSetting;
|
|
25
|
+
readonly 'mail.activity': MailActivity;
|
|
26
|
+
readonly 'mail.activity.type': MailActivityType;
|
|
27
|
+
readonly 'mail.channel': MailChannel;
|
|
28
|
+
readonly 'mail.channel.member': MailChannelMember;
|
|
29
|
+
readonly 'mail.follower': MailFollower;
|
|
30
|
+
readonly 'mail.message': MailMessage;
|
|
31
|
+
readonly 'mail.message.reaction': MailMessageReaction;
|
|
32
|
+
readonly 'oauth.app': OauthApp;
|
|
33
|
+
readonly 'oauth.code': OauthCode;
|
|
34
|
+
readonly 'oauth.grant': OauthGrant;
|
|
35
|
+
readonly 'oauth.token': OauthToken;
|
|
36
|
+
readonly 'product.attribute': ProductAttribute;
|
|
37
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
38
|
+
readonly 'product.category': ProductCategory;
|
|
39
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
40
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
41
|
+
readonly 'product.product': ProductProduct;
|
|
42
|
+
readonly 'product.template': ProductTemplate;
|
|
43
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
44
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
45
|
+
readonly 'production.bom': ProductionBom;
|
|
46
|
+
readonly 'production.bom.byproduct': ProductionBomByproduct;
|
|
47
|
+
readonly 'production.bom.cost': ProductionBomCost;
|
|
48
|
+
readonly 'production.bom.eligibility': ProductionBomEligibility;
|
|
49
|
+
readonly 'production.bom.line': ProductionBomLine;
|
|
50
|
+
readonly 'production.bom.operation': ProductionBomOperation;
|
|
51
|
+
readonly 'production.bom.spec': ProductionBomSpec;
|
|
52
|
+
readonly 'production.order': ProductionOrder;
|
|
53
|
+
readonly 'production.order.component': ProductionOrderComponent;
|
|
54
|
+
readonly 'production.plan': ProductionPlan;
|
|
55
|
+
readonly 'production.plan.line': ProductionPlanLine;
|
|
56
|
+
readonly 'production.plan.material': ProductionPlanMaterial;
|
|
57
|
+
readonly 'production.product.spec': ProductionProductSpec;
|
|
58
|
+
readonly 'production.schedule': ProductionSchedule;
|
|
59
|
+
readonly 'production.schedule.component': ProductionScheduleComponent;
|
|
60
|
+
readonly 'production.shift': ProductionShift;
|
|
61
|
+
readonly 'production.spec.parameter': ProductionSpecParameter;
|
|
62
|
+
readonly 'production.workcenter': ProductionWorkcenter;
|
|
63
|
+
readonly 'production.workorder': ProductionWorkorder;
|
|
64
|
+
readonly 'res.company': ResCompany;
|
|
65
|
+
readonly 'res.currency': ResCurrency;
|
|
66
|
+
readonly 'res.partner': ResPartner;
|
|
67
|
+
readonly 'res.partner.tag': ResPartnerTag;
|
|
68
|
+
readonly 'res.segment': ResSegment;
|
|
69
|
+
readonly 'res.users': ResUsers;
|
|
70
|
+
readonly 'stock.count': StockCount;
|
|
71
|
+
readonly 'stock.count.line': StockCountLine;
|
|
72
|
+
readonly 'stock.location': StockLocation;
|
|
73
|
+
readonly 'stock.lot': StockLot;
|
|
74
|
+
readonly 'stock.lot.line': StockLotLine;
|
|
75
|
+
readonly 'stock.move': StockMove;
|
|
76
|
+
readonly 'stock.picking': StockPicking;
|
|
77
|
+
readonly 'stock.picking.charge': StockPickingCharge;
|
|
78
|
+
readonly 'stock.picking.extra': StockPickingExtra;
|
|
79
|
+
readonly 'stock.putaway': StockPutaway;
|
|
80
|
+
readonly 'stock.quant': StockQuant;
|
|
81
|
+
readonly 'stock.reorder': StockReorder;
|
|
82
|
+
readonly 'stock.reservation': StockReservation;
|
|
83
|
+
readonly 'stock.return.reason': StockReturnReason;
|
|
84
|
+
readonly 'stock.scrap': StockScrap;
|
|
85
|
+
readonly 'stock.warehouse': StockWarehouse;
|
|
86
|
+
readonly 'storage.attachment': StorageAttachment;
|
|
87
|
+
readonly 'uom.uom': UomUom;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** `account.tax` (owner: product). */
|
|
91
|
+
export interface AccountTax {
|
|
92
|
+
readonly name: 'account.tax';
|
|
93
|
+
readonly fields: {
|
|
94
|
+
readonly id: F.Id<'account.tax'>;
|
|
95
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
96
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
97
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
98
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
99
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
100
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
101
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
102
|
+
readonly use: F.Selection<'sale' | 'purchase', { readonly required: true; readonly default: true }>;
|
|
103
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
104
|
+
readonly amountType: F.Selection<'percent' | 'fixed', { readonly required: true; readonly default: true }>;
|
|
105
|
+
readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
106
|
+
readonly fixedAmount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
107
|
+
readonly affectsBase: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
108
|
+
readonly priceIncluded: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
109
|
+
readonly reverseCharge: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
110
|
+
};
|
|
111
|
+
readonly methods: AccountTaxMethods;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** Methods of `account.tax`: declared ones and transitions. */
|
|
115
|
+
export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'> {
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** `approval.delegation` (owner: permissions). */
|
|
119
|
+
export interface ApprovalDelegation {
|
|
120
|
+
readonly name: 'approval.delegation';
|
|
121
|
+
readonly fields: {
|
|
122
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
123
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
124
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
125
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
126
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
127
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
128
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
129
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
130
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
131
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
132
|
+
readonly note: F.Char;
|
|
133
|
+
};
|
|
134
|
+
readonly methods: ApprovalDelegationMethods;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
138
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** `approval.event` (owner: permissions). */
|
|
142
|
+
export interface ApprovalEvent {
|
|
143
|
+
readonly name: 'approval.event';
|
|
144
|
+
readonly fields: {
|
|
145
|
+
readonly id: F.Id<'approval.event'>;
|
|
146
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
147
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
148
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
149
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
150
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
151
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
152
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
153
|
+
readonly user: F.Many2one<'res.users'>;
|
|
154
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
155
|
+
readonly note: F.Text;
|
|
156
|
+
};
|
|
157
|
+
readonly methods: ApprovalEventMethods;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
161
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** `approval.level` (owner: permissions). */
|
|
165
|
+
export interface ApprovalLevel {
|
|
166
|
+
readonly name: 'approval.level';
|
|
167
|
+
readonly fields: {
|
|
168
|
+
readonly id: F.Id<'approval.level'>;
|
|
169
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
170
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
171
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
172
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
173
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
174
|
+
readonly policy: F.Many2one<'approval.policy', { readonly required: true }>;
|
|
175
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
176
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
177
|
+
readonly condition: F.Json;
|
|
178
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
179
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
180
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
181
|
+
readonly approverRole: F.Char;
|
|
182
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
183
|
+
readonly approverField: F.Char;
|
|
184
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
185
|
+
readonly quorumCount: F.Integer;
|
|
186
|
+
readonly deadlineHours: F.Integer;
|
|
187
|
+
readonly escalateRole: F.Char;
|
|
188
|
+
};
|
|
189
|
+
readonly methods: ApprovalLevelMethods;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** Methods of `approval.level`: declared ones and transitions. */
|
|
193
|
+
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/** `approval.link` (owner: permissions). */
|
|
197
|
+
export interface ApprovalLink {
|
|
198
|
+
readonly name: 'approval.link';
|
|
199
|
+
readonly fields: {
|
|
200
|
+
readonly id: F.Id<'approval.link'>;
|
|
201
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
202
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
203
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
204
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
205
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
206
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
207
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
208
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
209
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
210
|
+
readonly usedAt: F.Datetime;
|
|
211
|
+
};
|
|
212
|
+
readonly methods: ApprovalLinkMethods;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
216
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** `approval.policy` (owner: permissions). */
|
|
220
|
+
export interface ApprovalPolicy {
|
|
221
|
+
readonly name: 'approval.policy';
|
|
222
|
+
readonly fields: {
|
|
223
|
+
readonly id: F.Id<'approval.policy'>;
|
|
224
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
225
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
226
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
227
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
228
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
229
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
230
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
231
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
232
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
233
|
+
readonly company: F.Many2one<'res.company'>;
|
|
234
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
235
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
236
|
+
readonly onApproved: F.Char;
|
|
237
|
+
readonly onRejected: F.Char;
|
|
238
|
+
readonly onSentBack: F.Char;
|
|
239
|
+
readonly onWithdrawn: F.Char;
|
|
240
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
241
|
+
readonly condition: F.Json;
|
|
242
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
243
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
244
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
245
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
246
|
+
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
247
|
+
};
|
|
248
|
+
readonly methods: ApprovalPolicyMethods;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/** Methods of `approval.policy`: declared ones and transitions. */
|
|
252
|
+
export interface ApprovalPolicyMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.policy'> {
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/** `approval.request` (owner: permissions). */
|
|
256
|
+
export interface ApprovalRequest {
|
|
257
|
+
readonly name: 'approval.request';
|
|
258
|
+
readonly fields: {
|
|
259
|
+
readonly id: F.Id<'approval.request'>;
|
|
260
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
261
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
262
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
263
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
264
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
265
|
+
readonly policy: F.Many2one<'approval.policy'>;
|
|
266
|
+
readonly level: F.Many2one<'approval.level'>;
|
|
267
|
+
readonly levelName: F.Char<{ readonly required: true }>;
|
|
268
|
+
readonly sequence: F.Integer<{ readonly required: true }>;
|
|
269
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
270
|
+
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
271
|
+
readonly company: F.Many2one<'res.company'>;
|
|
272
|
+
readonly approverRole: F.Char;
|
|
273
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
274
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
275
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
276
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
277
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
278
|
+
readonly dueAt: F.Datetime;
|
|
279
|
+
readonly remindedAt: F.Datetime;
|
|
280
|
+
readonly escalatedTo: F.Char;
|
|
281
|
+
readonly escalatedAt: F.Datetime;
|
|
282
|
+
readonly startedAt: F.Datetime;
|
|
283
|
+
readonly explanation: F.Text;
|
|
284
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
285
|
+
readonly requestedBy: F.Many2one<'res.users'>;
|
|
286
|
+
readonly decidedBy: F.Many2one<'res.users'>;
|
|
287
|
+
readonly decidedAt: F.Datetime;
|
|
288
|
+
readonly comment: F.Text;
|
|
289
|
+
};
|
|
290
|
+
readonly methods: ApprovalRequestMethods;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/** Methods of `approval.request`: declared ones and transitions. */
|
|
294
|
+
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/** `approval.vote` (owner: permissions). */
|
|
298
|
+
export interface ApprovalVote {
|
|
299
|
+
readonly name: 'approval.vote';
|
|
300
|
+
readonly fields: {
|
|
301
|
+
readonly id: F.Id<'approval.vote'>;
|
|
302
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
303
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
304
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
305
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
306
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
307
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
308
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
309
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
310
|
+
readonly comment: F.Text;
|
|
311
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
312
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
313
|
+
readonly ip: F.Char;
|
|
314
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
315
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
316
|
+
};
|
|
317
|
+
readonly methods: ApprovalVoteMethods;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
321
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/** `audit.event` (owner: base). */
|
|
325
|
+
export interface AuditEvent {
|
|
326
|
+
readonly name: 'audit.event';
|
|
327
|
+
readonly fields: {
|
|
328
|
+
readonly id: F.Id<'audit.event'>;
|
|
329
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
330
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
331
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
332
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
333
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
334
|
+
readonly kind: F.Char<{ readonly required: true }>;
|
|
335
|
+
readonly actor: F.Many2one<'res.users'>;
|
|
336
|
+
readonly company: F.Many2one<'res.company'>;
|
|
337
|
+
readonly targetModel: F.Char;
|
|
338
|
+
readonly targetId: F.Integer;
|
|
339
|
+
readonly summary: F.Char<{ readonly required: true }>;
|
|
340
|
+
readonly details: F.Json;
|
|
341
|
+
readonly ip: F.Char;
|
|
342
|
+
};
|
|
343
|
+
readonly methods: AuditEventMethods;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/** Methods of `audit.event`: declared ones and transitions. */
|
|
347
|
+
export interface AuditEventMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'audit.event'> {
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/** `auth.api_key` (owner: base). */
|
|
351
|
+
export interface AuthApiKey {
|
|
352
|
+
readonly name: 'auth.api_key';
|
|
353
|
+
readonly fields: {
|
|
354
|
+
readonly id: F.Id<'auth.api_key'>;
|
|
355
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
356
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
357
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
358
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
359
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
360
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
361
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
362
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
363
|
+
readonly prefix: F.Char<{ readonly required: true }>;
|
|
364
|
+
readonly scopes: F.Text<{ readonly required: true }>;
|
|
365
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
366
|
+
readonly lastUsedAt: F.Datetime;
|
|
367
|
+
readonly lastUsedIp: F.Char;
|
|
368
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
369
|
+
readonly issuedBy: F.Many2one<'res.users'>;
|
|
370
|
+
};
|
|
371
|
+
readonly methods: AuthApiKeyMethods;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/** Methods of `auth.api_key`: declared ones and transitions. */
|
|
375
|
+
export interface AuthApiKeyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.api_key'> {
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/** `auth.credential` (owner: base). */
|
|
379
|
+
export interface AuthCredential {
|
|
380
|
+
readonly name: 'auth.credential';
|
|
381
|
+
readonly fields: {
|
|
382
|
+
readonly id: F.Id<'auth.credential'>;
|
|
383
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
384
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
385
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
386
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
387
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
388
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
389
|
+
readonly passwordHash: F.Char;
|
|
390
|
+
readonly totpSecret: F.Char;
|
|
391
|
+
readonly totpEnabled: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
392
|
+
readonly recoveryCodes: F.Json;
|
|
393
|
+
};
|
|
394
|
+
readonly methods: AuthCredentialMethods;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/** Methods of `auth.credential`: declared ones and transitions. */
|
|
398
|
+
export interface AuthCredentialMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.credential'> {
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/** `auth.policy` (owner: base). */
|
|
402
|
+
export interface AuthPolicy {
|
|
403
|
+
readonly name: 'auth.policy';
|
|
404
|
+
readonly fields: {
|
|
405
|
+
readonly id: F.Id<'auth.policy'>;
|
|
406
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
407
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
408
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
409
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
410
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
411
|
+
readonly twoFactor: F.Selection<'administrators' | 'everyone', { readonly required: true; readonly default: true }>;
|
|
412
|
+
readonly sessionDays: F.Integer;
|
|
413
|
+
};
|
|
414
|
+
readonly methods: AuthPolicyMethods;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** Methods of `auth.policy`: declared ones and transitions. */
|
|
418
|
+
export interface AuthPolicyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.policy'> {
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** `auth.session` (owner: base). */
|
|
422
|
+
export interface AuthSession {
|
|
423
|
+
readonly name: 'auth.session';
|
|
424
|
+
readonly fields: {
|
|
425
|
+
readonly id: F.Id<'auth.session'>;
|
|
426
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
427
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
428
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
429
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
430
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
431
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
432
|
+
readonly csrfHash: F.Char<{ readonly required: true }>;
|
|
433
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
434
|
+
readonly twoFactorVerified: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
435
|
+
readonly secondFactor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
436
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
437
|
+
readonly lastSeenAt: F.Datetime<{ readonly required: true }>;
|
|
438
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
439
|
+
readonly ip: F.Char;
|
|
440
|
+
readonly userAgent: F.Char;
|
|
441
|
+
};
|
|
442
|
+
readonly methods: AuthSessionMethods;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/** Methods of `auth.session`: declared ones and transitions. */
|
|
446
|
+
export interface AuthSessionMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.session'> {
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** `auth.user_grant` (owner: base). */
|
|
450
|
+
export interface AuthUserGrant {
|
|
451
|
+
readonly name: 'auth.user_grant';
|
|
452
|
+
readonly fields: {
|
|
453
|
+
readonly id: F.Id<'auth.user_grant'>;
|
|
454
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
455
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
456
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
457
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
458
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
459
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
460
|
+
readonly company: F.Many2one<'res.company'>;
|
|
461
|
+
readonly grant: F.Char<{ readonly required: true }>;
|
|
462
|
+
readonly expiresAt: F.Datetime;
|
|
463
|
+
readonly reason: F.Char<{ readonly required: true }>;
|
|
464
|
+
};
|
|
465
|
+
readonly methods: AuthUserGrantMethods;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/** Methods of `auth.user_grant`: declared ones and transitions. */
|
|
469
|
+
export interface AuthUserGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_grant'> {
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/** `auth.user_group` (owner: base). */
|
|
473
|
+
export interface AuthUserGroup {
|
|
474
|
+
readonly name: 'auth.user_group';
|
|
475
|
+
readonly fields: {
|
|
476
|
+
readonly id: F.Id<'auth.user_group'>;
|
|
477
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
478
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
479
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
480
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
481
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
482
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
483
|
+
readonly company: F.Many2one<'res.company'>;
|
|
484
|
+
readonly group: F.Char<{ readonly required: true }>;
|
|
485
|
+
};
|
|
486
|
+
readonly methods: AuthUserGroupMethods;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/** Methods of `auth.user_group`: declared ones and transitions. */
|
|
490
|
+
export interface AuthUserGroupMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_group'> {
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/** `kosh.image` (owner: base). */
|
|
494
|
+
export interface KoshImage {
|
|
495
|
+
readonly name: 'kosh.image';
|
|
496
|
+
readonly fields: {
|
|
497
|
+
readonly id: F.Id<'kosh.image'>;
|
|
498
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
499
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
500
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
501
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
502
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
503
|
+
readonly ownerModel: F.Char<{ readonly required: true }>;
|
|
504
|
+
readonly ownerId: F.Integer<{ readonly required: true }>;
|
|
505
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
506
|
+
readonly data: F.Text<{ readonly required: true }>;
|
|
507
|
+
readonly hash: F.Char<{ readonly required: true }>;
|
|
508
|
+
};
|
|
509
|
+
readonly methods: KoshImageMethods;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/** Methods of `kosh.image`: declared ones and transitions. */
|
|
513
|
+
export interface KoshImageMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.image'> {
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/** `kosh.saved_view` (owner: base). */
|
|
517
|
+
export interface KoshSavedView {
|
|
518
|
+
readonly name: 'kosh.saved_view';
|
|
519
|
+
readonly fields: {
|
|
520
|
+
readonly id: F.Id<'kosh.saved_view'>;
|
|
521
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
522
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
523
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
524
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
525
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
526
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
527
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
528
|
+
readonly viewType: F.Char<{ readonly required: true; readonly default: true }>;
|
|
529
|
+
readonly state: F.Json<unknown, { readonly required: true }>;
|
|
530
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
531
|
+
readonly isDefault: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
532
|
+
};
|
|
533
|
+
readonly methods: KoshSavedViewMethods;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/** Methods of `kosh.saved_view`: declared ones and transitions. */
|
|
537
|
+
export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/** `kosh.setting` (owner: base). */
|
|
541
|
+
export interface KoshSetting {
|
|
542
|
+
readonly name: 'kosh.setting';
|
|
543
|
+
readonly fields: {
|
|
544
|
+
readonly id: F.Id<'kosh.setting'>;
|
|
545
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
546
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
547
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
548
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
549
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
550
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
551
|
+
readonly value: F.Json;
|
|
552
|
+
};
|
|
553
|
+
readonly methods: KoshSettingMethods;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/** Methods of `kosh.setting`: declared ones and transitions. */
|
|
557
|
+
export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/** `mail.activity` (owner: messaging). */
|
|
561
|
+
export interface MailActivity {
|
|
562
|
+
readonly name: 'mail.activity';
|
|
563
|
+
readonly fields: {
|
|
564
|
+
readonly id: F.Id<'mail.activity'>;
|
|
565
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
566
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
567
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
568
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
569
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
570
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
571
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
572
|
+
readonly type: F.Many2one<'mail.activity.type', { readonly required: true }>;
|
|
573
|
+
readonly summary: F.Char;
|
|
574
|
+
readonly note: F.Text;
|
|
575
|
+
readonly deadline: F.DateOnly<{ readonly required: true }>;
|
|
576
|
+
readonly assignee: F.Many2one<'res.users', { readonly required: true }>;
|
|
577
|
+
readonly done: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
578
|
+
readonly doneAt: F.Datetime;
|
|
579
|
+
readonly feedback: F.Text;
|
|
580
|
+
};
|
|
581
|
+
readonly methods: MailActivityMethods;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/** Methods of `mail.activity`: declared ones and transitions. */
|
|
585
|
+
export interface MailActivityMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity'> {
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/** `mail.activity.type` (owner: messaging). */
|
|
589
|
+
export interface MailActivityType {
|
|
590
|
+
readonly name: 'mail.activity.type';
|
|
591
|
+
readonly fields: {
|
|
592
|
+
readonly id: F.Id<'mail.activity.type'>;
|
|
593
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
594
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
595
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
596
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
597
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
598
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
599
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
600
|
+
readonly key: F.Char;
|
|
601
|
+
readonly icon: F.Char<{ readonly default: true }>;
|
|
602
|
+
readonly days: F.Integer<{ readonly default: true }>;
|
|
603
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
604
|
+
};
|
|
605
|
+
readonly methods: MailActivityTypeMethods;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/** Methods of `mail.activity.type`: declared ones and transitions. */
|
|
609
|
+
export interface MailActivityTypeMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity.type'> {
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/** `mail.channel` (owner: messaging). */
|
|
613
|
+
export interface MailChannel {
|
|
614
|
+
readonly name: 'mail.channel';
|
|
615
|
+
readonly fields: {
|
|
616
|
+
readonly id: F.Id<'mail.channel'>;
|
|
617
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
618
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
619
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
620
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
621
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
622
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
623
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
624
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
625
|
+
readonly kind: F.Selection<'channel' | 'group' | 'direct', { readonly required: true; readonly default: true }>;
|
|
626
|
+
readonly description: F.Char;
|
|
627
|
+
readonly public: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
628
|
+
readonly members: F.One2many<'mail.channel.member', { readonly required: true }>;
|
|
629
|
+
readonly pairKey: F.Char;
|
|
630
|
+
readonly lastMessageAt: F.Datetime;
|
|
631
|
+
};
|
|
632
|
+
readonly methods: MailChannelMethods;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/** Methods of `mail.channel`: declared ones and transitions. */
|
|
636
|
+
export interface MailChannelMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel'> {
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/** `mail.channel.member` (owner: messaging). */
|
|
640
|
+
export interface MailChannelMember {
|
|
641
|
+
readonly name: 'mail.channel.member';
|
|
642
|
+
readonly fields: {
|
|
643
|
+
readonly id: F.Id<'mail.channel.member'>;
|
|
644
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
645
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
646
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
647
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
648
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
649
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
650
|
+
readonly channel: F.Many2one<'mail.channel', { readonly required: true }>;
|
|
651
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
652
|
+
readonly lastReadMessage: F.Many2one<'mail.message'>;
|
|
653
|
+
readonly muted: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
654
|
+
readonly pinned: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
655
|
+
};
|
|
656
|
+
readonly methods: MailChannelMemberMethods;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/** Methods of `mail.channel.member`: declared ones and transitions. */
|
|
660
|
+
export interface MailChannelMemberMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel.member'> {
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/** `mail.follower` (owner: messaging). */
|
|
664
|
+
export interface MailFollower {
|
|
665
|
+
readonly name: 'mail.follower';
|
|
666
|
+
readonly fields: {
|
|
667
|
+
readonly id: F.Id<'mail.follower'>;
|
|
668
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
669
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
670
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
671
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
672
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
673
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
674
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
675
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
676
|
+
};
|
|
677
|
+
readonly methods: MailFollowerMethods;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** Methods of `mail.follower`: declared ones and transitions. */
|
|
681
|
+
export interface MailFollowerMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.follower'> {
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/** `mail.message` (owner: messaging). */
|
|
685
|
+
export interface MailMessage {
|
|
686
|
+
readonly name: 'mail.message';
|
|
687
|
+
readonly fields: {
|
|
688
|
+
readonly id: F.Id<'mail.message'>;
|
|
689
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
690
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
691
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
692
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
693
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
694
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
695
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
696
|
+
readonly kind: F.Selection<'comment' | 'note' | 'activity' | 'system', { readonly required: true; readonly default: true }>;
|
|
697
|
+
readonly author: F.Many2one<'res.users'>;
|
|
698
|
+
readonly authorEmail: F.Char;
|
|
699
|
+
readonly authorName: F.Char;
|
|
700
|
+
readonly text: F.Text<{ readonly required: true }>;
|
|
701
|
+
readonly body: F.Text<{ readonly required: true }>;
|
|
702
|
+
readonly mentions: F.Many2many<'res.users', { readonly required: true }>;
|
|
703
|
+
readonly attachments: F.Many2many<'storage.attachment', { readonly required: true }>;
|
|
704
|
+
readonly editedAt: F.Datetime;
|
|
705
|
+
readonly parent: F.Many2one<'mail.message'>;
|
|
706
|
+
readonly replyCount: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
707
|
+
readonly reactions: F.One2many<'mail.message.reaction', { readonly required: true }>;
|
|
708
|
+
readonly deletedAt: F.Datetime;
|
|
709
|
+
};
|
|
710
|
+
readonly methods: MailMessageMethods;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/** Methods of `mail.message`: declared ones and transitions. */
|
|
714
|
+
export interface MailMessageMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message'> {
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** `mail.message.reaction` (owner: messaging). */
|
|
718
|
+
export interface MailMessageReaction {
|
|
719
|
+
readonly name: 'mail.message.reaction';
|
|
720
|
+
readonly fields: {
|
|
721
|
+
readonly id: F.Id<'mail.message.reaction'>;
|
|
722
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
723
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
724
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
725
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
726
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
727
|
+
readonly message: F.Many2one<'mail.message', { readonly required: true }>;
|
|
728
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
729
|
+
readonly emoji: F.Char<{ readonly required: true }>;
|
|
730
|
+
};
|
|
731
|
+
readonly methods: MailMessageReactionMethods;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/** Methods of `mail.message.reaction`: declared ones and transitions. */
|
|
735
|
+
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/** `oauth.app` (owner: base). */
|
|
739
|
+
export interface OauthApp {
|
|
740
|
+
readonly name: 'oauth.app';
|
|
741
|
+
readonly fields: {
|
|
742
|
+
readonly id: F.Id<'oauth.app'>;
|
|
743
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
744
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
745
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
746
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
747
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
748
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
749
|
+
readonly clientId: F.Char<{ readonly required: true }>;
|
|
750
|
+
readonly secretHash: F.Char;
|
|
751
|
+
readonly confidential: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
752
|
+
readonly redirectUris: F.Text<{ readonly required: true }>;
|
|
753
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
754
|
+
readonly homepage: F.Char;
|
|
755
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
756
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
757
|
+
};
|
|
758
|
+
readonly methods: OauthAppMethods;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/** Methods of `oauth.app`: declared ones and transitions. */
|
|
762
|
+
export interface OauthAppMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.app'> {
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/** `oauth.code` (owner: base). */
|
|
766
|
+
export interface OauthCode {
|
|
767
|
+
readonly name: 'oauth.code';
|
|
768
|
+
readonly fields: {
|
|
769
|
+
readonly id: F.Id<'oauth.code'>;
|
|
770
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
771
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
772
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
773
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
774
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
775
|
+
readonly codeHash: F.Char<{ readonly required: true }>;
|
|
776
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
777
|
+
readonly redirectUri: F.Char<{ readonly required: true }>;
|
|
778
|
+
readonly challenge: F.Char;
|
|
779
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
780
|
+
readonly used: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
781
|
+
};
|
|
782
|
+
readonly methods: OauthCodeMethods;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/** Methods of `oauth.code`: declared ones and transitions. */
|
|
786
|
+
export interface OauthCodeMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.code'> {
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/** `oauth.grant` (owner: base). */
|
|
790
|
+
export interface OauthGrant {
|
|
791
|
+
readonly name: 'oauth.grant';
|
|
792
|
+
readonly fields: {
|
|
793
|
+
readonly id: F.Id<'oauth.grant'>;
|
|
794
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
795
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
796
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
797
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
798
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
799
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
800
|
+
readonly app: F.Many2one<'oauth.app', { readonly required: true }>;
|
|
801
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
802
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
803
|
+
readonly lastUsedAt: F.Datetime;
|
|
804
|
+
};
|
|
805
|
+
readonly methods: OauthGrantMethods;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/** Methods of `oauth.grant`: declared ones and transitions. */
|
|
809
|
+
export interface OauthGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.grant'> {
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
/** `oauth.token` (owner: base). */
|
|
813
|
+
export interface OauthToken {
|
|
814
|
+
readonly name: 'oauth.token';
|
|
815
|
+
readonly fields: {
|
|
816
|
+
readonly id: F.Id<'oauth.token'>;
|
|
817
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
818
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
819
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
820
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
821
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
822
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
823
|
+
readonly accessHash: F.Char<{ readonly required: true }>;
|
|
824
|
+
readonly refreshHash: F.Char<{ readonly required: true }>;
|
|
825
|
+
readonly accessExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
826
|
+
readonly refreshExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
827
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
828
|
+
readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
829
|
+
};
|
|
830
|
+
readonly methods: OauthTokenMethods;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** Methods of `oauth.token`: declared ones and transitions. */
|
|
834
|
+
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/** `product.attribute` (owner: product). */
|
|
838
|
+
export interface ProductAttribute {
|
|
839
|
+
readonly name: 'product.attribute';
|
|
840
|
+
readonly fields: {
|
|
841
|
+
readonly id: F.Id<'product.attribute'>;
|
|
842
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
843
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
844
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
845
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
846
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
847
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
848
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
849
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
850
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
851
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
852
|
+
};
|
|
853
|
+
readonly methods: ProductAttributeMethods;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
857
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/** `product.attribute.value` (owner: product). */
|
|
861
|
+
export interface ProductAttributeValue {
|
|
862
|
+
readonly name: 'product.attribute.value';
|
|
863
|
+
readonly fields: {
|
|
864
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
865
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
866
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
867
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
868
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
869
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
870
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
871
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
872
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
873
|
+
readonly color: F.Char;
|
|
874
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
875
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
876
|
+
};
|
|
877
|
+
readonly methods: ProductAttributeValueMethods;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
881
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/** `product.category` (owner: product). */
|
|
885
|
+
export interface ProductCategory {
|
|
886
|
+
readonly name: 'product.category';
|
|
887
|
+
readonly fields: {
|
|
888
|
+
readonly id: F.Id<'product.category'>;
|
|
889
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
890
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
891
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
892
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
893
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
894
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
895
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
896
|
+
readonly parent: F.Many2one<'product.category'>;
|
|
897
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
898
|
+
};
|
|
899
|
+
readonly methods: ProductCategoryMethods;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/** Methods of `product.category`: declared ones and transitions. */
|
|
903
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/** `product.pricelist` (owner: product). */
|
|
907
|
+
export interface ProductPricelist {
|
|
908
|
+
readonly name: 'product.pricelist';
|
|
909
|
+
readonly fields: {
|
|
910
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
911
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
912
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
913
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
914
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
915
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
916
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
917
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
918
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
919
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
920
|
+
readonly company: F.Many2one<'res.company'>;
|
|
921
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
922
|
+
readonly note: F.Text;
|
|
923
|
+
};
|
|
924
|
+
readonly methods: ProductPricelistMethods;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
928
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
932
|
+
export interface ProductPricelistRule {
|
|
933
|
+
readonly name: 'product.pricelist.rule';
|
|
934
|
+
readonly fields: {
|
|
935
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
936
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
937
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
938
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
939
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
940
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
941
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
942
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
943
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
944
|
+
readonly product: F.Many2one<'product.product'>;
|
|
945
|
+
readonly category: F.Many2one<'product.category'>;
|
|
946
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
947
|
+
readonly dateFrom: F.DateOnly;
|
|
948
|
+
readonly dateTo: F.DateOnly;
|
|
949
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
950
|
+
readonly fixedPrice: F.Decimal;
|
|
951
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
952
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
953
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
954
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
955
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
956
|
+
readonly minMargin: F.Decimal;
|
|
957
|
+
readonly maxMargin: F.Decimal;
|
|
958
|
+
};
|
|
959
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
963
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/** `product.product` (owner: product; extended by: stock, production). */
|
|
967
|
+
export interface ProductProduct {
|
|
968
|
+
readonly name: 'product.product';
|
|
969
|
+
readonly fields: {
|
|
970
|
+
readonly id: F.Id<'product.product'>;
|
|
971
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
972
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
973
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
974
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
975
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
976
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
977
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
978
|
+
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
979
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
980
|
+
readonly category: F.Many2one<'product.category'>;
|
|
981
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
982
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
983
|
+
readonly barcode: F.Char;
|
|
984
|
+
readonly weight: F.Decimal;
|
|
985
|
+
readonly volume: F.Decimal;
|
|
986
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
987
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
988
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
989
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
990
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
991
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
992
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
993
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
994
|
+
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
995
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
996
|
+
readonly template: F.Many2one<'product.template'>;
|
|
997
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
998
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
999
|
+
readonly tracking: F.Selection<'none' | 'lot' | 'serial', { readonly required: true; readonly default: true }>; // stock
|
|
1000
|
+
readonly lots: F.One2many<'stock.lot', { readonly required: true }>; // stock
|
|
1001
|
+
readonly quants: F.One2many<'stock.quant', { readonly required: true }>; // stock
|
|
1002
|
+
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1003
|
+
readonly qtyReserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1004
|
+
readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1005
|
+
readonly shelfLifeDays: F.Integer; // production
|
|
1006
|
+
readonly retailPrice: F.Decimal; // production
|
|
1007
|
+
};
|
|
1008
|
+
readonly methods: ProductProductMethods;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** Methods of `product.product`: declared ones and transitions. */
|
|
1012
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../stock/index.js').stockShutro, 'product.product'>, F.Methods<typeof import('../module.js').productionShutro, 'product.product'> {
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/** `product.template` (owner: product). */
|
|
1016
|
+
export interface ProductTemplate {
|
|
1017
|
+
readonly name: 'product.template';
|
|
1018
|
+
readonly fields: {
|
|
1019
|
+
readonly id: F.Id<'product.template'>;
|
|
1020
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1021
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1022
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1023
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1024
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1025
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1026
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1027
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1028
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1029
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1030
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1031
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1032
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1033
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1034
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1035
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1036
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1037
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1038
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1039
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1040
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1041
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1042
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1043
|
+
};
|
|
1044
|
+
readonly methods: ProductTemplateMethods;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1048
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1049
|
+
readonly 'generate': () => Promise<void>;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1053
|
+
export interface ProductTemplateExclusion {
|
|
1054
|
+
readonly name: 'product.template.exclusion';
|
|
1055
|
+
readonly fields: {
|
|
1056
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1057
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1058
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1059
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1060
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1061
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1062
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1063
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1064
|
+
readonly note: F.Char;
|
|
1065
|
+
};
|
|
1066
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1070
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/** `product.template.line` (owner: product). */
|
|
1074
|
+
export interface ProductTemplateLine {
|
|
1075
|
+
readonly name: 'product.template.line';
|
|
1076
|
+
readonly fields: {
|
|
1077
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1078
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1079
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1080
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1081
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1082
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1083
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1084
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1085
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1086
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1087
|
+
};
|
|
1088
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1092
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/** `production.bom` (owner: production). */
|
|
1096
|
+
export interface ProductionBom {
|
|
1097
|
+
readonly name: 'production.bom';
|
|
1098
|
+
readonly fields: {
|
|
1099
|
+
readonly id: F.Id<'production.bom'>;
|
|
1100
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1101
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1102
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1103
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1104
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1105
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1106
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1107
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1108
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1109
|
+
readonly kind: F.Selection<'standard' | 'formula' | 'packaging', { readonly required: true; readonly default: true }>;
|
|
1110
|
+
readonly packSize: F.Decimal;
|
|
1111
|
+
readonly expectedLoss: F.Decimal<{ readonly default: true }>;
|
|
1112
|
+
readonly tolerance: F.Decimal<{ readonly default: true }>;
|
|
1113
|
+
readonly version: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1114
|
+
readonly validFrom: F.DateOnly;
|
|
1115
|
+
readonly validTo: F.DateOnly;
|
|
1116
|
+
readonly lines: F.One2many<'production.bom.line', { readonly required: true }>;
|
|
1117
|
+
readonly operations: F.One2many<'production.bom.operation', { readonly required: true }>;
|
|
1118
|
+
readonly byproducts: F.One2many<'production.bom.byproduct', { readonly required: true }>;
|
|
1119
|
+
readonly specs: F.One2many<'production.bom.spec', { readonly required: true }>;
|
|
1120
|
+
readonly costs: F.One2many<'production.bom.cost', { readonly required: true }>;
|
|
1121
|
+
readonly unitCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1122
|
+
readonly state: F.State<'draft' | 'review' | 'active' | 'inactive', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1123
|
+
readonly note: F.Text;
|
|
1124
|
+
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1125
|
+
};
|
|
1126
|
+
readonly methods: ProductionBomMethods;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/** Methods of `production.bom`: declared ones and transitions. */
|
|
1130
|
+
export interface ProductionBomMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom'> {
|
|
1131
|
+
readonly 'approve': () => Promise<void>;
|
|
1132
|
+
readonly 'deactivate': () => Promise<void>;
|
|
1133
|
+
readonly 'reactivate': () => Promise<void>;
|
|
1134
|
+
readonly 'reject': () => Promise<void>;
|
|
1135
|
+
readonly 'revise': () => Promise<void>;
|
|
1136
|
+
readonly 'submit': () => Promise<void>;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/** `production.bom.byproduct` (owner: production). */
|
|
1140
|
+
export interface ProductionBomByproduct {
|
|
1141
|
+
readonly name: 'production.bom.byproduct';
|
|
1142
|
+
readonly fields: {
|
|
1143
|
+
readonly id: F.Id<'production.bom.byproduct'>;
|
|
1144
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1145
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1146
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1147
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1148
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1149
|
+
readonly bom: F.Many2one<'production.bom', { readonly required: true }>;
|
|
1150
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1151
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1152
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1153
|
+
readonly costShare: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1154
|
+
};
|
|
1155
|
+
readonly methods: ProductionBomByproductMethods;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/** Methods of `production.bom.byproduct`: declared ones and transitions. */
|
|
1159
|
+
export interface ProductionBomByproductMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.byproduct'> {
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** `production.bom.cost` (owner: production). */
|
|
1163
|
+
export interface ProductionBomCost {
|
|
1164
|
+
readonly name: 'production.bom.cost';
|
|
1165
|
+
readonly fields: {
|
|
1166
|
+
readonly id: F.Id<'production.bom.cost'>;
|
|
1167
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1168
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1169
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1170
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1171
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1172
|
+
readonly bom: F.Many2one<'production.bom', { readonly required: true }>;
|
|
1173
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
1174
|
+
readonly unitCost: F.Decimal<{ readonly required: true }>;
|
|
1175
|
+
readonly note: F.Char;
|
|
1176
|
+
};
|
|
1177
|
+
readonly methods: ProductionBomCostMethods;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/** Methods of `production.bom.cost`: declared ones and transitions. */
|
|
1181
|
+
export interface ProductionBomCostMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.cost'> {
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/** `production.bom.eligibility` (owner: production). */
|
|
1185
|
+
export interface ProductionBomEligibility {
|
|
1186
|
+
readonly name: 'production.bom.eligibility';
|
|
1187
|
+
readonly fields: {
|
|
1188
|
+
readonly id: F.Id<'production.bom.eligibility'>;
|
|
1189
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1190
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1191
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1192
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1193
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1194
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1195
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1196
|
+
readonly kind: F.Selection<'standard' | 'formula' | 'packaging', { readonly required: true; readonly default: true }>;
|
|
1197
|
+
readonly categories: F.Many2many<'product.category', { readonly required: true }>;
|
|
1198
|
+
readonly note: F.Text;
|
|
1199
|
+
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1200
|
+
};
|
|
1201
|
+
readonly methods: ProductionBomEligibilityMethods;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/** Methods of `production.bom.eligibility`: declared ones and transitions. */
|
|
1205
|
+
export interface ProductionBomEligibilityMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.eligibility'> {
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/** `production.bom.line` (owner: production). */
|
|
1209
|
+
export interface ProductionBomLine {
|
|
1210
|
+
readonly name: 'production.bom.line';
|
|
1211
|
+
readonly fields: {
|
|
1212
|
+
readonly id: F.Id<'production.bom.line'>;
|
|
1213
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1214
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1215
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1216
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1217
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1218
|
+
readonly bom: F.Many2one<'production.bom', { readonly required: true }>;
|
|
1219
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1220
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1221
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1222
|
+
readonly ratio: F.Decimal;
|
|
1223
|
+
readonly loss: F.Decimal<{ readonly default: true }>;
|
|
1224
|
+
readonly netQuantity: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1225
|
+
readonly grossQuantity: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1226
|
+
};
|
|
1227
|
+
readonly methods: ProductionBomLineMethods;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/** Methods of `production.bom.line`: declared ones and transitions. */
|
|
1231
|
+
export interface ProductionBomLineMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.line'> {
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/** `production.bom.operation` (owner: production). */
|
|
1235
|
+
export interface ProductionBomOperation {
|
|
1236
|
+
readonly name: 'production.bom.operation';
|
|
1237
|
+
readonly fields: {
|
|
1238
|
+
readonly id: F.Id<'production.bom.operation'>;
|
|
1239
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1240
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1241
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1242
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1243
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1244
|
+
readonly bom: F.Many2one<'production.bom', { readonly required: true }>;
|
|
1245
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1246
|
+
readonly workcenter: F.Many2one<'production.workcenter', { readonly required: true }>;
|
|
1247
|
+
readonly minutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1248
|
+
};
|
|
1249
|
+
readonly methods: ProductionBomOperationMethods;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
/** Methods of `production.bom.operation`: declared ones and transitions. */
|
|
1253
|
+
export interface ProductionBomOperationMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.operation'> {
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/** `production.bom.spec` (owner: production). */
|
|
1257
|
+
export interface ProductionBomSpec {
|
|
1258
|
+
readonly name: 'production.bom.spec';
|
|
1259
|
+
readonly fields: {
|
|
1260
|
+
readonly id: F.Id<'production.bom.spec'>;
|
|
1261
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1262
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1263
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1264
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1265
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1266
|
+
readonly bom: F.Many2one<'production.bom', { readonly required: true }>;
|
|
1267
|
+
readonly parameter: F.Many2one<'production.spec.parameter', { readonly required: true }>;
|
|
1268
|
+
readonly minimum: F.Decimal;
|
|
1269
|
+
readonly maximum: F.Decimal;
|
|
1270
|
+
readonly value: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1271
|
+
readonly within: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
1272
|
+
};
|
|
1273
|
+
readonly methods: ProductionBomSpecMethods;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
/** Methods of `production.bom.spec`: declared ones and transitions. */
|
|
1277
|
+
export interface ProductionBomSpecMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.bom.spec'> {
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/** `production.order` (owner: production). */
|
|
1281
|
+
export interface ProductionOrder {
|
|
1282
|
+
readonly name: 'production.order';
|
|
1283
|
+
readonly fields: {
|
|
1284
|
+
readonly id: F.Id<'production.order'>;
|
|
1285
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1286
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1287
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1288
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1289
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1290
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1291
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1292
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1293
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1294
|
+
readonly bom: F.Many2one<'production.bom'>;
|
|
1295
|
+
readonly plan: F.Many2one<'production.plan'>;
|
|
1296
|
+
readonly schedule: F.Many2one<'production.schedule'>;
|
|
1297
|
+
readonly stage: F.Selection<'make' | 'pack', { readonly required: true; readonly default: true }>;
|
|
1298
|
+
readonly batch: F.Char;
|
|
1299
|
+
readonly sourceOrder: F.Many2one<'production.order'>;
|
|
1300
|
+
readonly sourceLot: F.Many2one<'stock.lot'>;
|
|
1301
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1302
|
+
readonly producedQty: F.Decimal;
|
|
1303
|
+
readonly consumedQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1304
|
+
readonly lossQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1305
|
+
readonly lossPercent: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1306
|
+
readonly yieldStatus: F.Selection<'pending' | 'within' | 'beyond', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1307
|
+
readonly actualStart: F.Datetime;
|
|
1308
|
+
readonly actualEnd: F.Datetime;
|
|
1309
|
+
readonly operator: F.Many2one<'res.users'>;
|
|
1310
|
+
readonly shift: F.Many2one<'production.shift'>;
|
|
1311
|
+
readonly manufacturingDate: F.DateOnly;
|
|
1312
|
+
readonly expiryDate: F.DateOnly;
|
|
1313
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1314
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1315
|
+
readonly components: F.One2many<'production.order.component', { readonly required: true }>;
|
|
1316
|
+
readonly scraps: F.One2many<'stock.scrap', { readonly required: true }>;
|
|
1317
|
+
readonly workorders: F.One2many<'production.workorder', { readonly required: true }>;
|
|
1318
|
+
readonly consumption: F.Many2one<'stock.picking'>;
|
|
1319
|
+
readonly output: F.Many2one<'stock.picking'>;
|
|
1320
|
+
readonly materialCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1321
|
+
readonly operationCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1322
|
+
readonly totalCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1323
|
+
readonly unitCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1324
|
+
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'progress' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1325
|
+
readonly note: F.Text;
|
|
1326
|
+
readonly state: F.State<'draft' | 'confirmed' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1327
|
+
};
|
|
1328
|
+
readonly methods: ProductionOrderMethods;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/** Methods of `production.order`: declared ones and transitions. */
|
|
1332
|
+
export interface ProductionOrderMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.order'> {
|
|
1333
|
+
readonly 'cancel': () => Promise<void>;
|
|
1334
|
+
readonly 'check': () => Promise<void>;
|
|
1335
|
+
readonly 'confirm': () => Promise<void>;
|
|
1336
|
+
readonly 'produce': () => Promise<void>;
|
|
1337
|
+
readonly 'redraft': () => Promise<void>;
|
|
1338
|
+
readonly 'reserve': () => Promise<void>;
|
|
1339
|
+
readonly 'start': () => Promise<void>;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/** `production.order.component` (owner: production). */
|
|
1343
|
+
export interface ProductionOrderComponent {
|
|
1344
|
+
readonly name: 'production.order.component';
|
|
1345
|
+
readonly fields: {
|
|
1346
|
+
readonly id: F.Id<'production.order.component'>;
|
|
1347
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1348
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1349
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1350
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1351
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1352
|
+
readonly production: F.Many2one<'production.order', { readonly required: true }>;
|
|
1353
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1354
|
+
readonly required: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1355
|
+
readonly available: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1356
|
+
readonly short: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1357
|
+
readonly cost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1358
|
+
};
|
|
1359
|
+
readonly methods: ProductionOrderComponentMethods;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/** Methods of `production.order.component`: declared ones and transitions. */
|
|
1363
|
+
export interface ProductionOrderComponentMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.order.component'> {
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/** `production.plan` (owner: production). */
|
|
1367
|
+
export interface ProductionPlan {
|
|
1368
|
+
readonly name: 'production.plan';
|
|
1369
|
+
readonly fields: {
|
|
1370
|
+
readonly id: F.Id<'production.plan'>;
|
|
1371
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1372
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1373
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1374
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1375
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1376
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1377
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1378
|
+
readonly title: F.Char;
|
|
1379
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
1380
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
1381
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1382
|
+
readonly workcenters: F.Many2many<'production.workcenter', { readonly required: true }>;
|
|
1383
|
+
readonly note: F.Text;
|
|
1384
|
+
readonly lines: F.One2many<'production.plan.line', { readonly required: true }>;
|
|
1385
|
+
readonly materials: F.One2many<'production.plan.material', { readonly required: true }>;
|
|
1386
|
+
readonly orders: F.One2many<'production.order', { readonly required: true }>;
|
|
1387
|
+
readonly shortageCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1388
|
+
readonly state: F.State<'draft' | 'forecast' | 'to_approve' | 'approved' | 'scheduled' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1389
|
+
};
|
|
1390
|
+
readonly methods: ProductionPlanMethods;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/** Methods of `production.plan`: declared ones and transitions. */
|
|
1394
|
+
export interface ProductionPlanMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.plan'> {
|
|
1395
|
+
readonly 'approve': () => Promise<void>;
|
|
1396
|
+
readonly 'cancel': () => Promise<void>;
|
|
1397
|
+
readonly 'forecast': () => Promise<void>;
|
|
1398
|
+
readonly 'procure': () => Promise<void>;
|
|
1399
|
+
readonly 'redraft': () => Promise<void>;
|
|
1400
|
+
readonly 'reject': () => Promise<void>;
|
|
1401
|
+
readonly 'schedule': () => Promise<void>;
|
|
1402
|
+
readonly 'submit': () => Promise<void>;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/** `production.plan.line` (owner: production). */
|
|
1406
|
+
export interface ProductionPlanLine {
|
|
1407
|
+
readonly name: 'production.plan.line';
|
|
1408
|
+
readonly fields: {
|
|
1409
|
+
readonly id: F.Id<'production.plan.line'>;
|
|
1410
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1411
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1412
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1413
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1414
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1415
|
+
readonly plan: F.Many2one<'production.plan', { readonly required: true }>;
|
|
1416
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1417
|
+
readonly bom: F.Many2one<'production.bom'>;
|
|
1418
|
+
readonly packagingBom: F.Many2one<'production.bom'>;
|
|
1419
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1420
|
+
readonly workcenter: F.Many2one<'production.workcenter', { readonly required: true }>;
|
|
1421
|
+
readonly start: F.Datetime<{ readonly required: true }>;
|
|
1422
|
+
readonly end: F.Datetime<{ readonly required: true }>;
|
|
1423
|
+
readonly minutes: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1424
|
+
readonly capacityNote: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1425
|
+
readonly schedules: F.One2many<'production.schedule', { readonly required: true }>;
|
|
1426
|
+
readonly scheduleCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1427
|
+
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1428
|
+
};
|
|
1429
|
+
readonly methods: ProductionPlanLineMethods;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/** Methods of `production.plan.line`: declared ones and transitions. */
|
|
1433
|
+
export interface ProductionPlanLineMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.plan.line'> {
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/** `production.plan.material` (owner: production). */
|
|
1437
|
+
export interface ProductionPlanMaterial {
|
|
1438
|
+
readonly name: 'production.plan.material';
|
|
1439
|
+
readonly fields: {
|
|
1440
|
+
readonly id: F.Id<'production.plan.material'>;
|
|
1441
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1442
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1443
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1444
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1445
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1446
|
+
readonly plan: F.Many2one<'production.plan', { readonly required: true }>;
|
|
1447
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1448
|
+
readonly required: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1449
|
+
readonly onHand: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1450
|
+
readonly onOrder: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1451
|
+
readonly shortage: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1452
|
+
readonly procured: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1453
|
+
readonly document: F.Char;
|
|
1454
|
+
readonly note: F.Char;
|
|
1455
|
+
};
|
|
1456
|
+
readonly methods: ProductionPlanMaterialMethods;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
/** Methods of `production.plan.material`: declared ones and transitions. */
|
|
1460
|
+
export interface ProductionPlanMaterialMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.plan.material'> {
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/** `production.product.spec` (owner: production). */
|
|
1464
|
+
export interface ProductionProductSpec {
|
|
1465
|
+
readonly name: 'production.product.spec';
|
|
1466
|
+
readonly fields: {
|
|
1467
|
+
readonly id: F.Id<'production.product.spec'>;
|
|
1468
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1469
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1470
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1471
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1472
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1473
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1474
|
+
readonly parameter: F.Many2one<'production.spec.parameter', { readonly required: true }>;
|
|
1475
|
+
readonly value: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1476
|
+
};
|
|
1477
|
+
readonly methods: ProductionProductSpecMethods;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/** Methods of `production.product.spec`: declared ones and transitions. */
|
|
1481
|
+
export interface ProductionProductSpecMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.product.spec'> {
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/** `production.schedule` (owner: production). */
|
|
1485
|
+
export interface ProductionSchedule {
|
|
1486
|
+
readonly name: 'production.schedule';
|
|
1487
|
+
readonly fields: {
|
|
1488
|
+
readonly id: F.Id<'production.schedule'>;
|
|
1489
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1490
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1491
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1492
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1493
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1494
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1495
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1496
|
+
readonly plan: F.Many2one<'production.plan'>;
|
|
1497
|
+
readonly planLine: F.Many2one<'production.plan.line'>;
|
|
1498
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1499
|
+
readonly bom: F.Many2one<'production.bom'>;
|
|
1500
|
+
readonly packagingBom: F.Many2one<'production.bom'>;
|
|
1501
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1502
|
+
readonly produced: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1503
|
+
readonly remaining: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1504
|
+
readonly workcenter: F.Many2one<'production.workcenter', { readonly required: true }>;
|
|
1505
|
+
readonly shift: F.Many2one<'production.shift'>;
|
|
1506
|
+
readonly start: F.Datetime<{ readonly required: true }>;
|
|
1507
|
+
readonly end: F.Datetime<{ readonly required: true }>;
|
|
1508
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1509
|
+
readonly components: F.One2many<'production.schedule.component', { readonly required: true }>;
|
|
1510
|
+
readonly orders: F.One2many<'production.order', { readonly required: true }>;
|
|
1511
|
+
readonly deficitCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1512
|
+
readonly note: F.Text;
|
|
1513
|
+
readonly state: F.State<'draft' | 'checked' | 'confirmed' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1514
|
+
};
|
|
1515
|
+
readonly methods: ProductionScheduleMethods;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/** Methods of `production.schedule`: declared ones and transitions. */
|
|
1519
|
+
export interface ProductionScheduleMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.schedule'> {
|
|
1520
|
+
readonly 'begin': () => Promise<void>;
|
|
1521
|
+
readonly 'cancel': () => Promise<void>;
|
|
1522
|
+
readonly 'check': () => Promise<void>;
|
|
1523
|
+
readonly 'confirm': () => Promise<void>;
|
|
1524
|
+
readonly 'finish': () => Promise<void>;
|
|
1525
|
+
readonly 'redraft': () => Promise<void>;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
/** `production.schedule.component` (owner: production). */
|
|
1529
|
+
export interface ProductionScheduleComponent {
|
|
1530
|
+
readonly name: 'production.schedule.component';
|
|
1531
|
+
readonly fields: {
|
|
1532
|
+
readonly id: F.Id<'production.schedule.component'>;
|
|
1533
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1534
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1535
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1536
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1537
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1538
|
+
readonly schedule: F.Many2one<'production.schedule', { readonly required: true }>;
|
|
1539
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1540
|
+
readonly required: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1541
|
+
readonly available: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1542
|
+
readonly deficit: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1543
|
+
readonly surplus: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1544
|
+
};
|
|
1545
|
+
readonly methods: ProductionScheduleComponentMethods;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/** Methods of `production.schedule.component`: declared ones and transitions. */
|
|
1549
|
+
export interface ProductionScheduleComponentMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.schedule.component'> {
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
/** `production.shift` (owner: production). */
|
|
1553
|
+
export interface ProductionShift {
|
|
1554
|
+
readonly name: 'production.shift';
|
|
1555
|
+
readonly fields: {
|
|
1556
|
+
readonly id: F.Id<'production.shift'>;
|
|
1557
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1558
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1559
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1560
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1561
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1562
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1563
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1564
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1565
|
+
readonly start: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1566
|
+
readonly end: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1567
|
+
readonly hours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1568
|
+
};
|
|
1569
|
+
readonly methods: ProductionShiftMethods;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
/** Methods of `production.shift`: declared ones and transitions. */
|
|
1573
|
+
export interface ProductionShiftMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.shift'> {
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/** `production.spec.parameter` (owner: production). */
|
|
1577
|
+
export interface ProductionSpecParameter {
|
|
1578
|
+
readonly name: 'production.spec.parameter';
|
|
1579
|
+
readonly fields: {
|
|
1580
|
+
readonly id: F.Id<'production.spec.parameter'>;
|
|
1581
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1582
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1583
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1584
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1585
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1586
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1587
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1588
|
+
readonly unit: F.Char;
|
|
1589
|
+
readonly note: F.Text;
|
|
1590
|
+
};
|
|
1591
|
+
readonly methods: ProductionSpecParameterMethods;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/** Methods of `production.spec.parameter`: declared ones and transitions. */
|
|
1595
|
+
export interface ProductionSpecParameterMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.spec.parameter'> {
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
/** `production.workcenter` (owner: production). */
|
|
1599
|
+
export interface ProductionWorkcenter {
|
|
1600
|
+
readonly name: 'production.workcenter';
|
|
1601
|
+
readonly fields: {
|
|
1602
|
+
readonly id: F.Id<'production.workcenter'>;
|
|
1603
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1604
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1605
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1606
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1607
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1608
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1609
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1610
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1611
|
+
readonly code: F.Char;
|
|
1612
|
+
readonly hoursPerDay: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1613
|
+
readonly costPerHour: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1614
|
+
readonly batchMin: F.Decimal;
|
|
1615
|
+
readonly batchMax: F.Decimal;
|
|
1616
|
+
readonly oeeTarget: F.Decimal<{ readonly default: true }>;
|
|
1617
|
+
readonly setupMinutes: F.Decimal<{ readonly default: true }>;
|
|
1618
|
+
readonly cleanupMinutes: F.Decimal<{ readonly default: true }>;
|
|
1619
|
+
readonly alternatives: F.Many2many<'production.workcenter', { readonly required: true }>;
|
|
1620
|
+
readonly note: F.Text;
|
|
1621
|
+
};
|
|
1622
|
+
readonly methods: ProductionWorkcenterMethods;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/** Methods of `production.workcenter`: declared ones and transitions. */
|
|
1626
|
+
export interface ProductionWorkcenterMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.workcenter'> {
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
/** `production.workorder` (owner: production). */
|
|
1630
|
+
export interface ProductionWorkorder {
|
|
1631
|
+
readonly name: 'production.workorder';
|
|
1632
|
+
readonly fields: {
|
|
1633
|
+
readonly id: F.Id<'production.workorder'>;
|
|
1634
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1635
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1636
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1637
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1638
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1639
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1640
|
+
readonly production: F.Many2one<'production.order', { readonly required: true }>;
|
|
1641
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1642
|
+
readonly workcenter: F.Many2one<'production.workcenter', { readonly required: true }>;
|
|
1643
|
+
readonly plannedMinutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1644
|
+
readonly plannedStart: F.Datetime;
|
|
1645
|
+
readonly plannedStop: F.Datetime;
|
|
1646
|
+
readonly startedAt: F.Datetime;
|
|
1647
|
+
readonly finishedAt: F.Datetime;
|
|
1648
|
+
readonly actualMinutes: F.Decimal;
|
|
1649
|
+
readonly state: F.State<'ready' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1650
|
+
};
|
|
1651
|
+
readonly methods: ProductionWorkorderMethods;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/** Methods of `production.workorder`: declared ones and transitions. */
|
|
1655
|
+
export interface ProductionWorkorderMethods extends F.Methods<typeof import('../module.js').productionShutro, 'production.workorder'> {
|
|
1656
|
+
readonly 'cancel': () => Promise<void>;
|
|
1657
|
+
readonly 'close': () => Promise<void>;
|
|
1658
|
+
readonly 'finish': () => Promise<void>;
|
|
1659
|
+
readonly 'start': () => Promise<void>;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/** `res.company` (owner: base; extended by: contacts, production). */
|
|
1663
|
+
export interface ResCompany {
|
|
1664
|
+
readonly name: 'res.company';
|
|
1665
|
+
readonly fields: {
|
|
1666
|
+
readonly id: F.Id<'res.company'>;
|
|
1667
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1668
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1669
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1670
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1671
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1672
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1673
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
1674
|
+
readonly numberGrouping: F.Selection<'international' | 'lakh', { readonly required: true; readonly default: true }>;
|
|
1675
|
+
readonly accentColor: F.Char;
|
|
1676
|
+
readonly street: F.Char;
|
|
1677
|
+
readonly city: F.Char;
|
|
1678
|
+
readonly zip: F.Char;
|
|
1679
|
+
readonly email: F.Char;
|
|
1680
|
+
readonly phone: F.Char;
|
|
1681
|
+
readonly website: F.Char;
|
|
1682
|
+
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
1683
|
+
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
1684
|
+
readonly bomApproval: F.Bool<{ readonly required: true; readonly default: true }>; // production
|
|
1685
|
+
};
|
|
1686
|
+
readonly methods: ResCompanyMethods;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/** Methods of `res.company`: declared ones and transitions. */
|
|
1690
|
+
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').productionShutro, 'res.company'> {
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
/** `res.currency` (owner: base). */
|
|
1694
|
+
export interface ResCurrency {
|
|
1695
|
+
readonly name: 'res.currency';
|
|
1696
|
+
readonly fields: {
|
|
1697
|
+
readonly id: F.Id<'res.currency'>;
|
|
1698
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1699
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1700
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1701
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1702
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1703
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1704
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1705
|
+
readonly decimalPlaces: F.Integer<{ readonly default: true }>;
|
|
1706
|
+
};
|
|
1707
|
+
readonly methods: ResCurrencyMethods;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
/** Methods of `res.currency`: declared ones and transitions. */
|
|
1711
|
+
export interface ResCurrencyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.currency'> {
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
/** `res.partner` (owner: contacts). */
|
|
1715
|
+
export interface ResPartner {
|
|
1716
|
+
readonly name: 'res.partner';
|
|
1717
|
+
readonly fields: {
|
|
1718
|
+
readonly id: F.Id<'res.partner'>;
|
|
1719
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1720
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1721
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1722
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1723
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1724
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1725
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1726
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1727
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1728
|
+
readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
|
|
1729
|
+
readonly latitude: F.Decimal;
|
|
1730
|
+
readonly longitude: F.Decimal;
|
|
1731
|
+
readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1732
|
+
readonly parent: F.Many2one<'res.partner'>;
|
|
1733
|
+
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1734
|
+
readonly email: F.Char;
|
|
1735
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1736
|
+
readonly phone: F.Char;
|
|
1737
|
+
readonly mobile: F.Char;
|
|
1738
|
+
readonly website: F.Char;
|
|
1739
|
+
readonly street: F.Char;
|
|
1740
|
+
readonly city: F.Char;
|
|
1741
|
+
readonly zip: F.Char;
|
|
1742
|
+
readonly country: F.Char;
|
|
1743
|
+
readonly state: F.Char;
|
|
1744
|
+
readonly taxId: F.Char;
|
|
1745
|
+
readonly isCustomer: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1746
|
+
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1747
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1748
|
+
readonly notes: F.Text;
|
|
1749
|
+
};
|
|
1750
|
+
readonly methods: ResPartnerMethods;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1754
|
+
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'> {
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/** `res.partner.tag` (owner: contacts). */
|
|
1758
|
+
export interface ResPartnerTag {
|
|
1759
|
+
readonly name: 'res.partner.tag';
|
|
1760
|
+
readonly fields: {
|
|
1761
|
+
readonly id: F.Id<'res.partner.tag'>;
|
|
1762
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1763
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1764
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1765
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1766
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1767
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1768
|
+
};
|
|
1769
|
+
readonly methods: ResPartnerTagMethods;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
/** Methods of `res.partner.tag`: declared ones and transitions. */
|
|
1773
|
+
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/** `res.segment` (owner: permissions). */
|
|
1777
|
+
export interface ResSegment {
|
|
1778
|
+
readonly name: 'res.segment';
|
|
1779
|
+
readonly fields: {
|
|
1780
|
+
readonly id: F.Id<'res.segment'>;
|
|
1781
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1782
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1783
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1784
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1785
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1786
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1787
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1788
|
+
readonly code: F.Char;
|
|
1789
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1790
|
+
readonly note: F.Text;
|
|
1791
|
+
};
|
|
1792
|
+
readonly methods: ResSegmentMethods;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
1796
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
/** `res.users` (owner: base). */
|
|
1800
|
+
export interface ResUsers {
|
|
1801
|
+
readonly name: 'res.users';
|
|
1802
|
+
readonly fields: {
|
|
1803
|
+
readonly id: F.Id<'res.users'>;
|
|
1804
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1805
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1806
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1807
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1808
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1809
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1810
|
+
readonly login: F.Char<{ readonly required: true }>;
|
|
1811
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1812
|
+
readonly email: F.Char;
|
|
1813
|
+
readonly phone: F.Char;
|
|
1814
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1815
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1816
|
+
readonly lang: F.Char<{ readonly default: true }>;
|
|
1817
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
1818
|
+
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1819
|
+
};
|
|
1820
|
+
readonly methods: ResUsersMethods;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/** Methods of `res.users`: declared ones and transitions. */
|
|
1824
|
+
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/** `stock.count` (owner: stock). */
|
|
1828
|
+
export interface StockCount {
|
|
1829
|
+
readonly name: 'stock.count';
|
|
1830
|
+
readonly fields: {
|
|
1831
|
+
readonly id: F.Id<'stock.count'>;
|
|
1832
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1833
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1834
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1835
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1836
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1837
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1838
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1839
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1840
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1841
|
+
readonly user: F.Many2one<'res.users', { readonly default: true }>;
|
|
1842
|
+
readonly lines: F.One2many<'stock.count.line', { readonly required: true }>;
|
|
1843
|
+
readonly adjustments: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1844
|
+
readonly note: F.Text;
|
|
1845
|
+
readonly state: F.State<'draft' | 'counting' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1846
|
+
};
|
|
1847
|
+
readonly methods: StockCountMethods;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/** Methods of `stock.count`: declared ones and transitions. */
|
|
1851
|
+
export interface StockCountMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count'> {
|
|
1852
|
+
readonly 'apply': () => Promise<void>;
|
|
1853
|
+
readonly 'cancel': () => Promise<void>;
|
|
1854
|
+
readonly 'redraft': () => Promise<void>;
|
|
1855
|
+
readonly 'start': () => Promise<void>;
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
/** `stock.count.line` (owner: stock). */
|
|
1859
|
+
export interface StockCountLine {
|
|
1860
|
+
readonly name: 'stock.count.line';
|
|
1861
|
+
readonly fields: {
|
|
1862
|
+
readonly id: F.Id<'stock.count.line'>;
|
|
1863
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1864
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1865
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1866
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1867
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1868
|
+
readonly count: F.Many2one<'stock.count', { readonly required: true }>;
|
|
1869
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1870
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1871
|
+
readonly expected: F.Decimal;
|
|
1872
|
+
readonly counted: F.Decimal;
|
|
1873
|
+
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1874
|
+
};
|
|
1875
|
+
readonly methods: StockCountLineMethods;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/** Methods of `stock.count.line`: declared ones and transitions. */
|
|
1879
|
+
export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/** `stock.location` (owner: stock). */
|
|
1883
|
+
export interface StockLocation {
|
|
1884
|
+
readonly name: 'stock.location';
|
|
1885
|
+
readonly fields: {
|
|
1886
|
+
readonly id: F.Id<'stock.location'>;
|
|
1887
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1888
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1889
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1890
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1891
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1892
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1893
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1894
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1895
|
+
readonly parent: F.Many2one<'stock.location'>;
|
|
1896
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1897
|
+
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1898
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1899
|
+
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit' | 'consumption', { readonly required: true; readonly default: true }>;
|
|
1900
|
+
readonly transit: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1901
|
+
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1902
|
+
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1903
|
+
};
|
|
1904
|
+
readonly methods: StockLocationMethods;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/** Methods of `stock.location`: declared ones and transitions. */
|
|
1908
|
+
export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'> {
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/** `stock.lot` (owner: stock). */
|
|
1912
|
+
export interface StockLot {
|
|
1913
|
+
readonly name: 'stock.lot';
|
|
1914
|
+
readonly fields: {
|
|
1915
|
+
readonly id: F.Id<'stock.lot'>;
|
|
1916
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1917
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1918
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1919
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1920
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1921
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1922
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1923
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1924
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1925
|
+
readonly expiryDate: F.DateOnly;
|
|
1926
|
+
readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
|
|
1927
|
+
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1928
|
+
readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1929
|
+
readonly note: F.Text;
|
|
1930
|
+
};
|
|
1931
|
+
readonly methods: StockLotMethods;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/** Methods of `stock.lot`: declared ones and transitions. */
|
|
1935
|
+
export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
/** `stock.lot.line` (owner: stock). */
|
|
1939
|
+
export interface StockLotLine {
|
|
1940
|
+
readonly name: 'stock.lot.line';
|
|
1941
|
+
readonly fields: {
|
|
1942
|
+
readonly id: F.Id<'stock.lot.line'>;
|
|
1943
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1944
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1945
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1946
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1947
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1948
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1949
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1950
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1951
|
+
readonly lotName: F.Char;
|
|
1952
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1953
|
+
};
|
|
1954
|
+
readonly methods: StockLotLineMethods;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
/** Methods of `stock.lot.line`: declared ones and transitions. */
|
|
1958
|
+
export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
/** `stock.move` (owner: stock). */
|
|
1962
|
+
export interface StockMove {
|
|
1963
|
+
readonly name: 'stock.move';
|
|
1964
|
+
readonly fields: {
|
|
1965
|
+
readonly id: F.Id<'stock.move'>;
|
|
1966
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1967
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1968
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1969
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1970
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1971
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1972
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1973
|
+
readonly name: F.Char;
|
|
1974
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1975
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1976
|
+
readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1977
|
+
readonly quantityDone: F.Decimal;
|
|
1978
|
+
readonly returnOf: F.Many2one<'stock.move'>;
|
|
1979
|
+
readonly returns: F.One2many<'stock.move', { readonly required: true }>;
|
|
1980
|
+
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1981
|
+
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
1982
|
+
readonly procurement: F.Char;
|
|
1983
|
+
readonly destination: F.Many2one<'stock.location'>;
|
|
1984
|
+
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1985
|
+
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1986
|
+
};
|
|
1987
|
+
readonly methods: StockMoveMethods;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/** Methods of `stock.move`: declared ones and transitions. */
|
|
1991
|
+
export interface StockMoveMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.move'> {
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/** `stock.picking` (owner: stock). */
|
|
1995
|
+
export interface StockPicking {
|
|
1996
|
+
readonly name: 'stock.picking';
|
|
1997
|
+
readonly fields: {
|
|
1998
|
+
readonly id: F.Id<'stock.picking'>;
|
|
1999
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2000
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2001
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2002
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2003
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2004
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2005
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2006
|
+
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2007
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
2008
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
2009
|
+
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2010
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2011
|
+
readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2012
|
+
readonly doneDate: F.DateOnly;
|
|
2013
|
+
readonly origin: F.Char;
|
|
2014
|
+
readonly note: F.Text;
|
|
2015
|
+
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
2016
|
+
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
2017
|
+
readonly count: F.Many2one<'stock.count'>;
|
|
2018
|
+
readonly responsible: F.Many2one<'res.users'>;
|
|
2019
|
+
readonly carrier: F.Char;
|
|
2020
|
+
readonly trackingRef: F.Char;
|
|
2021
|
+
readonly weight: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2022
|
+
readonly vehicleNumber: F.Char;
|
|
2023
|
+
readonly driverName: F.Char;
|
|
2024
|
+
readonly driverMobile: F.Char;
|
|
2025
|
+
readonly transporter: F.Many2one<'res.partner'>;
|
|
2026
|
+
readonly transportDate: F.DateOnly;
|
|
2027
|
+
readonly gateIn: F.Datetime;
|
|
2028
|
+
readonly gateOut: F.Datetime;
|
|
2029
|
+
readonly freightAmount: F.Decimal;
|
|
2030
|
+
readonly deductFromSupplier: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2031
|
+
readonly supplierDeduction: F.Decimal;
|
|
2032
|
+
readonly charges: F.One2many<'stock.picking.charge', { readonly required: true }>;
|
|
2033
|
+
readonly extras: F.One2many<'stock.picking.extra', { readonly required: true }>;
|
|
2034
|
+
readonly gateNote: F.Text;
|
|
2035
|
+
readonly remarks: F.Text;
|
|
2036
|
+
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
2037
|
+
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2038
|
+
readonly returnOf: F.Many2one<'stock.picking'>;
|
|
2039
|
+
readonly returns: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2040
|
+
readonly returnReason: F.Many2one<'stock.return.reason'>;
|
|
2041
|
+
readonly next: F.Many2one<'stock.picking'>;
|
|
2042
|
+
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2043
|
+
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2044
|
+
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2045
|
+
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2046
|
+
};
|
|
2047
|
+
readonly methods: StockPickingMethods;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
/** Methods of `stock.picking`: declared ones and transitions. */
|
|
2051
|
+
export interface StockPickingMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking'> {
|
|
2052
|
+
readonly 'cancel': () => Promise<void>;
|
|
2053
|
+
readonly 'confirm': () => Promise<void>;
|
|
2054
|
+
readonly 'redraft': () => Promise<void>;
|
|
2055
|
+
readonly 'reserve': () => Promise<void>;
|
|
2056
|
+
readonly 'unreserve': () => Promise<void>;
|
|
2057
|
+
readonly 'validate': () => Promise<void>;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
/** `stock.picking.charge` (owner: stock). */
|
|
2061
|
+
export interface StockPickingCharge {
|
|
2062
|
+
readonly name: 'stock.picking.charge';
|
|
2063
|
+
readonly fields: {
|
|
2064
|
+
readonly id: F.Id<'stock.picking.charge'>;
|
|
2065
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2066
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2067
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2068
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2069
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2070
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
2071
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2072
|
+
readonly kind: F.Selection<'addition' | 'deduction', { readonly required: true; readonly default: true }>;
|
|
2073
|
+
readonly amount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2074
|
+
};
|
|
2075
|
+
readonly methods: StockPickingChargeMethods;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
/** Methods of `stock.picking.charge`: declared ones and transitions. */
|
|
2079
|
+
export interface StockPickingChargeMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.charge'> {
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/** `stock.picking.extra` (owner: stock). */
|
|
2083
|
+
export interface StockPickingExtra {
|
|
2084
|
+
readonly name: 'stock.picking.extra';
|
|
2085
|
+
readonly fields: {
|
|
2086
|
+
readonly id: F.Id<'stock.picking.extra'>;
|
|
2087
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2088
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2089
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2090
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2091
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2092
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
2093
|
+
readonly product: F.Many2one<'product.product'>;
|
|
2094
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2095
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2096
|
+
readonly note: F.Char;
|
|
2097
|
+
};
|
|
2098
|
+
readonly methods: StockPickingExtraMethods;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
/** Methods of `stock.picking.extra`: declared ones and transitions. */
|
|
2102
|
+
export interface StockPickingExtraMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.extra'> {
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
/** `stock.putaway` (owner: stock). */
|
|
2106
|
+
export interface StockPutaway {
|
|
2107
|
+
readonly name: 'stock.putaway';
|
|
2108
|
+
readonly fields: {
|
|
2109
|
+
readonly id: F.Id<'stock.putaway'>;
|
|
2110
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2111
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2112
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2113
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2114
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2115
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2116
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2117
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2118
|
+
readonly product: F.Many2one<'product.product'>;
|
|
2119
|
+
readonly category: F.Many2one<'product.category'>;
|
|
2120
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2121
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2122
|
+
};
|
|
2123
|
+
readonly methods: StockPutawayMethods;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
/** Methods of `stock.putaway`: declared ones and transitions. */
|
|
2127
|
+
export interface StockPutawayMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.putaway'> {
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
/** `stock.quant` (owner: stock). */
|
|
2131
|
+
export interface StockQuant {
|
|
2132
|
+
readonly name: 'stock.quant';
|
|
2133
|
+
readonly fields: {
|
|
2134
|
+
readonly id: F.Id<'stock.quant'>;
|
|
2135
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2136
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2137
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2138
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2139
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2140
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2141
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2142
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2143
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
2144
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2145
|
+
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
2146
|
+
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2147
|
+
readonly available: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2148
|
+
};
|
|
2149
|
+
readonly methods: StockQuantMethods;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
/** Methods of `stock.quant`: declared ones and transitions. */
|
|
2153
|
+
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
/** `stock.reorder` (owner: stock; extended by: production). */
|
|
2157
|
+
export interface StockReorder {
|
|
2158
|
+
readonly name: 'stock.reorder';
|
|
2159
|
+
readonly fields: {
|
|
2160
|
+
readonly id: F.Id<'stock.reorder'>;
|
|
2161
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2162
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2163
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2164
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2165
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2166
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2167
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2168
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2169
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2170
|
+
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
2171
|
+
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2172
|
+
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2173
|
+
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2174
|
+
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2175
|
+
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2176
|
+
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
2177
|
+
readonly vendor: F.Many2one<'res.partner'>;
|
|
2178
|
+
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
2179
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2180
|
+
readonly snoozedUntil: F.DateOnly;
|
|
2181
|
+
readonly onHand: F.Decimal;
|
|
2182
|
+
readonly forecast: F.Decimal;
|
|
2183
|
+
readonly proposed: F.Decimal;
|
|
2184
|
+
readonly explanation: F.Text;
|
|
2185
|
+
readonly refreshedAt: F.Datetime;
|
|
2186
|
+
readonly lastOrder: F.Char;
|
|
2187
|
+
};
|
|
2188
|
+
readonly methods: StockReorderMethods;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
2192
|
+
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'>, F.Methods<typeof import('../module.js').productionShutro, 'stock.reorder'> {
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
/** `stock.reservation` (owner: stock). */
|
|
2196
|
+
export interface StockReservation {
|
|
2197
|
+
readonly name: 'stock.reservation';
|
|
2198
|
+
readonly fields: {
|
|
2199
|
+
readonly id: F.Id<'stock.reservation'>;
|
|
2200
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2201
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2202
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2203
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2204
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2205
|
+
readonly move: F.Many2one<'stock.move', { readonly required: true }>;
|
|
2206
|
+
readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
|
|
2207
|
+
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
2208
|
+
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2209
|
+
};
|
|
2210
|
+
readonly methods: StockReservationMethods;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/** Methods of `stock.reservation`: declared ones and transitions. */
|
|
2214
|
+
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/** `stock.return.reason` (owner: stock). */
|
|
2218
|
+
export interface StockReturnReason {
|
|
2219
|
+
readonly name: 'stock.return.reason';
|
|
2220
|
+
readonly fields: {
|
|
2221
|
+
readonly id: F.Id<'stock.return.reason'>;
|
|
2222
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2223
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2224
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2225
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2226
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2227
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2228
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
2229
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
2230
|
+
readonly code: F.Char;
|
|
2231
|
+
};
|
|
2232
|
+
readonly methods: StockReturnReasonMethods;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
/** Methods of `stock.return.reason`: declared ones and transitions. */
|
|
2236
|
+
export interface StockReturnReasonMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.return.reason'> {
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
/** `stock.scrap` (owner: stock; extended by: production). */
|
|
2240
|
+
export interface StockScrap {
|
|
2241
|
+
readonly name: 'stock.scrap';
|
|
2242
|
+
readonly fields: {
|
|
2243
|
+
readonly id: F.Id<'stock.scrap'>;
|
|
2244
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2245
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2246
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2247
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2248
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2249
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2250
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2251
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2252
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2253
|
+
readonly location: F.Many2one<'stock.location'>;
|
|
2254
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
2255
|
+
readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
|
|
2256
|
+
readonly note: F.Text;
|
|
2257
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2258
|
+
readonly picking: F.Many2one<'stock.picking'>;
|
|
2259
|
+
readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2260
|
+
readonly production: F.Many2one<'production.order'>; // production
|
|
2261
|
+
};
|
|
2262
|
+
readonly methods: StockScrapMethods;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
/** Methods of `stock.scrap`: declared ones and transitions. */
|
|
2266
|
+
export interface StockScrapMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.scrap'>, F.Methods<typeof import('../module.js').productionShutro, 'stock.scrap'> {
|
|
2267
|
+
readonly 'cancel': () => Promise<void>;
|
|
2268
|
+
readonly 'validate': () => Promise<void>;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
/** `stock.warehouse` (owner: stock). */
|
|
2272
|
+
export interface StockWarehouse {
|
|
2273
|
+
readonly name: 'stock.warehouse';
|
|
2274
|
+
readonly fields: {
|
|
2275
|
+
readonly id: F.Id<'stock.warehouse'>;
|
|
2276
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2277
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2278
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2279
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2280
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2281
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2282
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2283
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2284
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
2285
|
+
readonly locations: F.One2many<'stock.location', { readonly required: true }>;
|
|
2286
|
+
readonly address: F.Many2one<'res.partner'>;
|
|
2287
|
+
readonly receptionSteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2288
|
+
readonly deliverySteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2289
|
+
};
|
|
2290
|
+
readonly methods: StockWarehouseMethods;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
/** Methods of `stock.warehouse`: declared ones and transitions. */
|
|
2294
|
+
export interface StockWarehouseMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.warehouse'> {
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
/** `storage.attachment` (owner: storage). */
|
|
2298
|
+
export interface StorageAttachment {
|
|
2299
|
+
readonly name: 'storage.attachment';
|
|
2300
|
+
readonly fields: {
|
|
2301
|
+
readonly id: F.Id<'storage.attachment'>;
|
|
2302
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2303
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2304
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2305
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2306
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2307
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2308
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
2309
|
+
readonly size: F.Integer<{ readonly required: true }>;
|
|
2310
|
+
readonly sha256: F.Char<{ readonly required: true }>;
|
|
2311
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
2312
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
2313
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
2314
|
+
readonly variantOf: F.Many2one<'storage.attachment'>;
|
|
2315
|
+
readonly width: F.Integer;
|
|
2316
|
+
};
|
|
2317
|
+
readonly methods: StorageAttachmentMethods;
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
/** Methods of `storage.attachment`: declared ones and transitions. */
|
|
2321
|
+
export interface StorageAttachmentMethods extends F.Methods<typeof import('../../storage/index.js').storageShutro, 'storage.attachment'> {
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
/** `uom.uom` (owner: product). */
|
|
2325
|
+
export interface UomUom {
|
|
2326
|
+
readonly name: 'uom.uom';
|
|
2327
|
+
readonly fields: {
|
|
2328
|
+
readonly id: F.Id<'uom.uom'>;
|
|
2329
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2330
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2331
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2332
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2333
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2334
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2335
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
2336
|
+
readonly category: F.Selection<'unit' | 'time' | 'weight' | 'length' | 'volume', { readonly required: true; readonly default: true }>;
|
|
2337
|
+
readonly ratio: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2338
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2339
|
+
};
|
|
2340
|
+
readonly methods: UomUomMethods;
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
/** Methods of `uom.uom`: declared ones and transitions. */
|
|
2344
|
+
export interface UomUomMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'uom.uom'> {
|
|
2345
|
+
}
|