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,2084 @@
|
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 310dbc7b74b67504
|
|
2
|
+
// Schema view of module `indent` (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 'hr.contract': HrContract;
|
|
23
|
+
readonly 'hr.contract.type': HrContractType;
|
|
24
|
+
readonly 'hr.department': HrDepartment;
|
|
25
|
+
readonly 'hr.employee': HrEmployee;
|
|
26
|
+
readonly 'hr.employee.tag': HrEmployeeTag;
|
|
27
|
+
readonly 'hr.job': HrJob;
|
|
28
|
+
readonly 'hr.leave': HrLeave;
|
|
29
|
+
readonly 'hr.leave.type': HrLeaveType;
|
|
30
|
+
readonly 'indent.product.group': IndentProductGroup;
|
|
31
|
+
readonly 'indent.request': IndentRequest;
|
|
32
|
+
readonly 'indent.request.line': IndentRequestLine;
|
|
33
|
+
readonly 'kosh.image': KoshImage;
|
|
34
|
+
readonly 'kosh.saved_view': KoshSavedView;
|
|
35
|
+
readonly 'kosh.setting': KoshSetting;
|
|
36
|
+
readonly 'mail.activity': MailActivity;
|
|
37
|
+
readonly 'mail.activity.type': MailActivityType;
|
|
38
|
+
readonly 'mail.channel': MailChannel;
|
|
39
|
+
readonly 'mail.channel.member': MailChannelMember;
|
|
40
|
+
readonly 'mail.follower': MailFollower;
|
|
41
|
+
readonly 'mail.message': MailMessage;
|
|
42
|
+
readonly 'mail.message.reaction': MailMessageReaction;
|
|
43
|
+
readonly 'oauth.app': OauthApp;
|
|
44
|
+
readonly 'oauth.code': OauthCode;
|
|
45
|
+
readonly 'oauth.grant': OauthGrant;
|
|
46
|
+
readonly 'oauth.token': OauthToken;
|
|
47
|
+
readonly 'product.attribute': ProductAttribute;
|
|
48
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
49
|
+
readonly 'product.category': ProductCategory;
|
|
50
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
51
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
52
|
+
readonly 'product.product': ProductProduct;
|
|
53
|
+
readonly 'product.template': ProductTemplate;
|
|
54
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
55
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
56
|
+
readonly 'res.company': ResCompany;
|
|
57
|
+
readonly 'res.currency': ResCurrency;
|
|
58
|
+
readonly 'res.partner': ResPartner;
|
|
59
|
+
readonly 'res.partner.tag': ResPartnerTag;
|
|
60
|
+
readonly 'res.segment': ResSegment;
|
|
61
|
+
readonly 'res.users': ResUsers;
|
|
62
|
+
readonly 'stock.count': StockCount;
|
|
63
|
+
readonly 'stock.count.line': StockCountLine;
|
|
64
|
+
readonly 'stock.location': StockLocation;
|
|
65
|
+
readonly 'stock.lot': StockLot;
|
|
66
|
+
readonly 'stock.lot.line': StockLotLine;
|
|
67
|
+
readonly 'stock.move': StockMove;
|
|
68
|
+
readonly 'stock.picking': StockPicking;
|
|
69
|
+
readonly 'stock.picking.charge': StockPickingCharge;
|
|
70
|
+
readonly 'stock.picking.extra': StockPickingExtra;
|
|
71
|
+
readonly 'stock.putaway': StockPutaway;
|
|
72
|
+
readonly 'stock.quant': StockQuant;
|
|
73
|
+
readonly 'stock.reorder': StockReorder;
|
|
74
|
+
readonly 'stock.reservation': StockReservation;
|
|
75
|
+
readonly 'stock.return.reason': StockReturnReason;
|
|
76
|
+
readonly 'stock.scrap': StockScrap;
|
|
77
|
+
readonly 'stock.warehouse': StockWarehouse;
|
|
78
|
+
readonly 'storage.attachment': StorageAttachment;
|
|
79
|
+
readonly 'uom.uom': UomUom;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** `account.tax` (owner: product). */
|
|
83
|
+
export interface AccountTax {
|
|
84
|
+
readonly name: 'account.tax';
|
|
85
|
+
readonly fields: {
|
|
86
|
+
readonly id: F.Id<'account.tax'>;
|
|
87
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
88
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
89
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
90
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
91
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
92
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
93
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
94
|
+
readonly use: F.Selection<'sale' | 'purchase', { readonly required: true; readonly default: true }>;
|
|
95
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
96
|
+
readonly amountType: F.Selection<'percent' | 'fixed', { readonly required: true; readonly default: true }>;
|
|
97
|
+
readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
98
|
+
readonly fixedAmount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
99
|
+
readonly affectsBase: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
100
|
+
readonly priceIncluded: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
101
|
+
readonly reverseCharge: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
102
|
+
};
|
|
103
|
+
readonly methods: AccountTaxMethods;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** Methods of `account.tax`: declared ones and transitions. */
|
|
107
|
+
export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'> {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** `approval.delegation` (owner: permissions). */
|
|
111
|
+
export interface ApprovalDelegation {
|
|
112
|
+
readonly name: 'approval.delegation';
|
|
113
|
+
readonly fields: {
|
|
114
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
115
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
116
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
117
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
118
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
119
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
120
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
121
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
122
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
123
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
124
|
+
readonly note: F.Char;
|
|
125
|
+
};
|
|
126
|
+
readonly methods: ApprovalDelegationMethods;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
130
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** `approval.event` (owner: permissions). */
|
|
134
|
+
export interface ApprovalEvent {
|
|
135
|
+
readonly name: 'approval.event';
|
|
136
|
+
readonly fields: {
|
|
137
|
+
readonly id: F.Id<'approval.event'>;
|
|
138
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
139
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
140
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
141
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
142
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
143
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
144
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
145
|
+
readonly user: F.Many2one<'res.users'>;
|
|
146
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
147
|
+
readonly note: F.Text;
|
|
148
|
+
};
|
|
149
|
+
readonly methods: ApprovalEventMethods;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
153
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** `approval.level` (owner: permissions). */
|
|
157
|
+
export interface ApprovalLevel {
|
|
158
|
+
readonly name: 'approval.level';
|
|
159
|
+
readonly fields: {
|
|
160
|
+
readonly id: F.Id<'approval.level'>;
|
|
161
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
162
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
163
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
164
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
165
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
166
|
+
readonly policy: F.Many2one<'approval.policy', { readonly required: true }>;
|
|
167
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
168
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
169
|
+
readonly condition: F.Json;
|
|
170
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
171
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
172
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
173
|
+
readonly approverRole: F.Char;
|
|
174
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
175
|
+
readonly approverField: F.Char;
|
|
176
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
177
|
+
readonly quorumCount: F.Integer;
|
|
178
|
+
readonly deadlineHours: F.Integer;
|
|
179
|
+
readonly escalateRole: F.Char;
|
|
180
|
+
};
|
|
181
|
+
readonly methods: ApprovalLevelMethods;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Methods of `approval.level`: declared ones and transitions. */
|
|
185
|
+
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** `approval.link` (owner: permissions). */
|
|
189
|
+
export interface ApprovalLink {
|
|
190
|
+
readonly name: 'approval.link';
|
|
191
|
+
readonly fields: {
|
|
192
|
+
readonly id: F.Id<'approval.link'>;
|
|
193
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
194
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
195
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
196
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
197
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
198
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
199
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
200
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
201
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
202
|
+
readonly usedAt: F.Datetime;
|
|
203
|
+
};
|
|
204
|
+
readonly methods: ApprovalLinkMethods;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
208
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/** `approval.policy` (owner: permissions). */
|
|
212
|
+
export interface ApprovalPolicy {
|
|
213
|
+
readonly name: 'approval.policy';
|
|
214
|
+
readonly fields: {
|
|
215
|
+
readonly id: F.Id<'approval.policy'>;
|
|
216
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
217
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
218
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
219
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
220
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
221
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
222
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
223
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
224
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
225
|
+
readonly company: F.Many2one<'res.company'>;
|
|
226
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
227
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
228
|
+
readonly onApproved: F.Char;
|
|
229
|
+
readonly onRejected: F.Char;
|
|
230
|
+
readonly onSentBack: F.Char;
|
|
231
|
+
readonly onWithdrawn: F.Char;
|
|
232
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
233
|
+
readonly condition: F.Json;
|
|
234
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
235
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
236
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
237
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
238
|
+
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
239
|
+
};
|
|
240
|
+
readonly methods: ApprovalPolicyMethods;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** Methods of `approval.policy`: declared ones and transitions. */
|
|
244
|
+
export interface ApprovalPolicyMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.policy'> {
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/** `approval.request` (owner: permissions). */
|
|
248
|
+
export interface ApprovalRequest {
|
|
249
|
+
readonly name: 'approval.request';
|
|
250
|
+
readonly fields: {
|
|
251
|
+
readonly id: F.Id<'approval.request'>;
|
|
252
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
253
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
254
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
255
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
256
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
257
|
+
readonly policy: F.Many2one<'approval.policy'>;
|
|
258
|
+
readonly level: F.Many2one<'approval.level'>;
|
|
259
|
+
readonly levelName: F.Char<{ readonly required: true }>;
|
|
260
|
+
readonly sequence: F.Integer<{ readonly required: true }>;
|
|
261
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
262
|
+
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
263
|
+
readonly company: F.Many2one<'res.company'>;
|
|
264
|
+
readonly approverRole: F.Char;
|
|
265
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
266
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
267
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
268
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
269
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
270
|
+
readonly dueAt: F.Datetime;
|
|
271
|
+
readonly remindedAt: F.Datetime;
|
|
272
|
+
readonly escalatedTo: F.Char;
|
|
273
|
+
readonly escalatedAt: F.Datetime;
|
|
274
|
+
readonly startedAt: F.Datetime;
|
|
275
|
+
readonly explanation: F.Text;
|
|
276
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
277
|
+
readonly requestedBy: F.Many2one<'res.users'>;
|
|
278
|
+
readonly decidedBy: F.Many2one<'res.users'>;
|
|
279
|
+
readonly decidedAt: F.Datetime;
|
|
280
|
+
readonly comment: F.Text;
|
|
281
|
+
};
|
|
282
|
+
readonly methods: ApprovalRequestMethods;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/** Methods of `approval.request`: declared ones and transitions. */
|
|
286
|
+
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/** `approval.vote` (owner: permissions). */
|
|
290
|
+
export interface ApprovalVote {
|
|
291
|
+
readonly name: 'approval.vote';
|
|
292
|
+
readonly fields: {
|
|
293
|
+
readonly id: F.Id<'approval.vote'>;
|
|
294
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
295
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
296
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
297
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
298
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
299
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
300
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
301
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
302
|
+
readonly comment: F.Text;
|
|
303
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
304
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
305
|
+
readonly ip: F.Char;
|
|
306
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
307
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
308
|
+
};
|
|
309
|
+
readonly methods: ApprovalVoteMethods;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
313
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** `audit.event` (owner: base). */
|
|
317
|
+
export interface AuditEvent {
|
|
318
|
+
readonly name: 'audit.event';
|
|
319
|
+
readonly fields: {
|
|
320
|
+
readonly id: F.Id<'audit.event'>;
|
|
321
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
322
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
323
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
324
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
325
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
326
|
+
readonly kind: F.Char<{ readonly required: true }>;
|
|
327
|
+
readonly actor: F.Many2one<'res.users'>;
|
|
328
|
+
readonly company: F.Many2one<'res.company'>;
|
|
329
|
+
readonly targetModel: F.Char;
|
|
330
|
+
readonly targetId: F.Integer;
|
|
331
|
+
readonly summary: F.Char<{ readonly required: true }>;
|
|
332
|
+
readonly details: F.Json;
|
|
333
|
+
readonly ip: F.Char;
|
|
334
|
+
};
|
|
335
|
+
readonly methods: AuditEventMethods;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/** Methods of `audit.event`: declared ones and transitions. */
|
|
339
|
+
export interface AuditEventMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'audit.event'> {
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** `auth.api_key` (owner: base). */
|
|
343
|
+
export interface AuthApiKey {
|
|
344
|
+
readonly name: 'auth.api_key';
|
|
345
|
+
readonly fields: {
|
|
346
|
+
readonly id: F.Id<'auth.api_key'>;
|
|
347
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
348
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
349
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
350
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
351
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
352
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
353
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
354
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
355
|
+
readonly prefix: F.Char<{ readonly required: true }>;
|
|
356
|
+
readonly scopes: F.Text<{ readonly required: true }>;
|
|
357
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
358
|
+
readonly lastUsedAt: F.Datetime;
|
|
359
|
+
readonly lastUsedIp: F.Char;
|
|
360
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
361
|
+
readonly issuedBy: F.Many2one<'res.users'>;
|
|
362
|
+
};
|
|
363
|
+
readonly methods: AuthApiKeyMethods;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/** Methods of `auth.api_key`: declared ones and transitions. */
|
|
367
|
+
export interface AuthApiKeyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.api_key'> {
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/** `auth.credential` (owner: base). */
|
|
371
|
+
export interface AuthCredential {
|
|
372
|
+
readonly name: 'auth.credential';
|
|
373
|
+
readonly fields: {
|
|
374
|
+
readonly id: F.Id<'auth.credential'>;
|
|
375
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
376
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
377
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
378
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
379
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
380
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
381
|
+
readonly passwordHash: F.Char;
|
|
382
|
+
readonly totpSecret: F.Char;
|
|
383
|
+
readonly totpEnabled: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
384
|
+
readonly recoveryCodes: F.Json;
|
|
385
|
+
};
|
|
386
|
+
readonly methods: AuthCredentialMethods;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** Methods of `auth.credential`: declared ones and transitions. */
|
|
390
|
+
export interface AuthCredentialMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.credential'> {
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** `auth.policy` (owner: base). */
|
|
394
|
+
export interface AuthPolicy {
|
|
395
|
+
readonly name: 'auth.policy';
|
|
396
|
+
readonly fields: {
|
|
397
|
+
readonly id: F.Id<'auth.policy'>;
|
|
398
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
399
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
400
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
401
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
402
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
403
|
+
readonly twoFactor: F.Selection<'administrators' | 'everyone', { readonly required: true; readonly default: true }>;
|
|
404
|
+
readonly sessionDays: F.Integer;
|
|
405
|
+
};
|
|
406
|
+
readonly methods: AuthPolicyMethods;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/** Methods of `auth.policy`: declared ones and transitions. */
|
|
410
|
+
export interface AuthPolicyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.policy'> {
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/** `auth.session` (owner: base). */
|
|
414
|
+
export interface AuthSession {
|
|
415
|
+
readonly name: 'auth.session';
|
|
416
|
+
readonly fields: {
|
|
417
|
+
readonly id: F.Id<'auth.session'>;
|
|
418
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
419
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
420
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
421
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
422
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
423
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
424
|
+
readonly csrfHash: F.Char<{ readonly required: true }>;
|
|
425
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
426
|
+
readonly twoFactorVerified: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
427
|
+
readonly secondFactor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
428
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
429
|
+
readonly lastSeenAt: F.Datetime<{ readonly required: true }>;
|
|
430
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
431
|
+
readonly ip: F.Char;
|
|
432
|
+
readonly userAgent: F.Char;
|
|
433
|
+
};
|
|
434
|
+
readonly methods: AuthSessionMethods;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/** Methods of `auth.session`: declared ones and transitions. */
|
|
438
|
+
export interface AuthSessionMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.session'> {
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/** `auth.user_grant` (owner: base). */
|
|
442
|
+
export interface AuthUserGrant {
|
|
443
|
+
readonly name: 'auth.user_grant';
|
|
444
|
+
readonly fields: {
|
|
445
|
+
readonly id: F.Id<'auth.user_grant'>;
|
|
446
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
447
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
448
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
449
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
450
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
451
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
452
|
+
readonly company: F.Many2one<'res.company'>;
|
|
453
|
+
readonly grant: F.Char<{ readonly required: true }>;
|
|
454
|
+
readonly expiresAt: F.Datetime;
|
|
455
|
+
readonly reason: F.Char<{ readonly required: true }>;
|
|
456
|
+
};
|
|
457
|
+
readonly methods: AuthUserGrantMethods;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/** Methods of `auth.user_grant`: declared ones and transitions. */
|
|
461
|
+
export interface AuthUserGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_grant'> {
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/** `auth.user_group` (owner: base). */
|
|
465
|
+
export interface AuthUserGroup {
|
|
466
|
+
readonly name: 'auth.user_group';
|
|
467
|
+
readonly fields: {
|
|
468
|
+
readonly id: F.Id<'auth.user_group'>;
|
|
469
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
470
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
471
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
472
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
473
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
474
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
475
|
+
readonly company: F.Many2one<'res.company'>;
|
|
476
|
+
readonly group: F.Char<{ readonly required: true }>;
|
|
477
|
+
};
|
|
478
|
+
readonly methods: AuthUserGroupMethods;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/** Methods of `auth.user_group`: declared ones and transitions. */
|
|
482
|
+
export interface AuthUserGroupMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_group'> {
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** `hr.contract` (owner: hr). */
|
|
486
|
+
export interface HrContract {
|
|
487
|
+
readonly name: 'hr.contract';
|
|
488
|
+
readonly fields: {
|
|
489
|
+
readonly id: F.Id<'hr.contract'>;
|
|
490
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
491
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
492
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
493
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
494
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
495
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
496
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
497
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
498
|
+
readonly employmentType: F.Many2one<'hr.contract.type'>;
|
|
499
|
+
readonly kind: F.Selection<'permanent' | 'fixed' | 'probation' | 'intern', { readonly required: true; readonly default: true }>;
|
|
500
|
+
readonly dateStart: F.DateOnly<{ readonly required: true }>;
|
|
501
|
+
readonly dateEnd: F.DateOnly;
|
|
502
|
+
readonly wage: F.Decimal;
|
|
503
|
+
readonly state: F.State<'draft' | 'running' | 'ended' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
504
|
+
};
|
|
505
|
+
readonly methods: HrContractMethods;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** Methods of `hr.contract`: declared ones and transitions. */
|
|
509
|
+
export interface HrContractMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.contract'> {
|
|
510
|
+
readonly 'cancel': () => Promise<void>;
|
|
511
|
+
readonly 'end': () => Promise<void>;
|
|
512
|
+
readonly 'start': () => Promise<void>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/** `hr.contract.type` (owner: hr). */
|
|
516
|
+
export interface HrContractType {
|
|
517
|
+
readonly name: 'hr.contract.type';
|
|
518
|
+
readonly fields: {
|
|
519
|
+
readonly id: F.Id<'hr.contract.type'>;
|
|
520
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
521
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
522
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
523
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
524
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
525
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
526
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
527
|
+
readonly code: F.Char;
|
|
528
|
+
readonly country: F.Char;
|
|
529
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
530
|
+
};
|
|
531
|
+
readonly methods: HrContractTypeMethods;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/** Methods of `hr.contract.type`: declared ones and transitions. */
|
|
535
|
+
export interface HrContractTypeMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.contract.type'> {
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/** `hr.department` (owner: hr). */
|
|
539
|
+
export interface HrDepartment {
|
|
540
|
+
readonly name: 'hr.department';
|
|
541
|
+
readonly fields: {
|
|
542
|
+
readonly id: F.Id<'hr.department'>;
|
|
543
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
544
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
545
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
546
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
547
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
548
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
549
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
550
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
551
|
+
readonly parent: F.Many2one<'hr.department'>;
|
|
552
|
+
readonly head: F.Many2one<'hr.employee'>;
|
|
553
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
554
|
+
};
|
|
555
|
+
readonly methods: HrDepartmentMethods;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/** Methods of `hr.department`: declared ones and transitions. */
|
|
559
|
+
export interface HrDepartmentMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.department'> {
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/** `hr.employee` (owner: hr). */
|
|
563
|
+
export interface HrEmployee {
|
|
564
|
+
readonly name: 'hr.employee';
|
|
565
|
+
readonly fields: {
|
|
566
|
+
readonly id: F.Id<'hr.employee'>;
|
|
567
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
568
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
569
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
570
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
571
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
572
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
573
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
574
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
575
|
+
readonly jobTitle: F.Char;
|
|
576
|
+
readonly user: F.Many2one<'res.users'>;
|
|
577
|
+
readonly department: F.Many2one<'hr.department'>;
|
|
578
|
+
readonly job: F.Many2one<'hr.job'>;
|
|
579
|
+
readonly manager: F.Many2one<'hr.employee'>;
|
|
580
|
+
readonly team: F.One2many<'hr.employee', { readonly required: true }>;
|
|
581
|
+
readonly unitHead: F.Many2one<'hr.employee'>;
|
|
582
|
+
readonly coach: F.Many2one<'hr.employee'>;
|
|
583
|
+
readonly property: F.Char;
|
|
584
|
+
readonly tags: F.Many2many<'hr.employee.tag', { readonly required: true }>;
|
|
585
|
+
readonly workEmail: F.Char;
|
|
586
|
+
readonly workPhone: F.Char;
|
|
587
|
+
readonly mobile: F.Char;
|
|
588
|
+
readonly expenseApprover: F.Many2one<'res.users'>;
|
|
589
|
+
readonly leaveApprover: F.Many2one<'res.users'>;
|
|
590
|
+
readonly timezone: F.Char<{ readonly default: true }>;
|
|
591
|
+
readonly hireDate: F.DateOnly;
|
|
592
|
+
readonly birthday: F.DateOnly;
|
|
593
|
+
readonly nationalId: F.Char;
|
|
594
|
+
readonly privateAddress: F.Text;
|
|
595
|
+
readonly emergencyContact: F.Char;
|
|
596
|
+
};
|
|
597
|
+
readonly methods: HrEmployeeMethods;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/** Methods of `hr.employee`: declared ones and transitions. */
|
|
601
|
+
export interface HrEmployeeMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.employee'> {
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/** `hr.employee.tag` (owner: hr). */
|
|
605
|
+
export interface HrEmployeeTag {
|
|
606
|
+
readonly name: 'hr.employee.tag';
|
|
607
|
+
readonly fields: {
|
|
608
|
+
readonly id: F.Id<'hr.employee.tag'>;
|
|
609
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
610
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
611
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
612
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
613
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
614
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
615
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
616
|
+
readonly color: F.Integer<{ readonly default: true }>;
|
|
617
|
+
};
|
|
618
|
+
readonly methods: HrEmployeeTagMethods;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/** Methods of `hr.employee.tag`: declared ones and transitions. */
|
|
622
|
+
export interface HrEmployeeTagMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.employee.tag'> {
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/** `hr.job` (owner: hr). */
|
|
626
|
+
export interface HrJob {
|
|
627
|
+
readonly name: 'hr.job';
|
|
628
|
+
readonly fields: {
|
|
629
|
+
readonly id: F.Id<'hr.job'>;
|
|
630
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
631
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
632
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
633
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
634
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
635
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
636
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
637
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
638
|
+
readonly department: F.Many2one<'hr.department'>;
|
|
639
|
+
};
|
|
640
|
+
readonly methods: HrJobMethods;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/** Methods of `hr.job`: declared ones and transitions. */
|
|
644
|
+
export interface HrJobMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.job'> {
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/** `hr.leave` (owner: hr). */
|
|
648
|
+
export interface HrLeave {
|
|
649
|
+
readonly name: 'hr.leave';
|
|
650
|
+
readonly fields: {
|
|
651
|
+
readonly id: F.Id<'hr.leave'>;
|
|
652
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
653
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
654
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
655
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
656
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
657
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
658
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
659
|
+
readonly type: F.Many2one<'hr.leave.type', { readonly required: true }>;
|
|
660
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
661
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
662
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
663
|
+
readonly reason: F.Text;
|
|
664
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'refused', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
665
|
+
};
|
|
666
|
+
readonly methods: HrLeaveMethods;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** Methods of `hr.leave`: declared ones and transitions. */
|
|
670
|
+
export interface HrLeaveMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.leave'> {
|
|
671
|
+
readonly 'approve': () => Promise<void>;
|
|
672
|
+
readonly 'redraft': () => Promise<void>;
|
|
673
|
+
readonly 'refuse': () => Promise<void>;
|
|
674
|
+
readonly 'submit': () => Promise<void>;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** `hr.leave.type` (owner: hr). */
|
|
678
|
+
export interface HrLeaveType {
|
|
679
|
+
readonly name: 'hr.leave.type';
|
|
680
|
+
readonly fields: {
|
|
681
|
+
readonly id: F.Id<'hr.leave.type'>;
|
|
682
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
683
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
684
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
685
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
686
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
687
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
688
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
689
|
+
readonly daysPerYear: F.Integer;
|
|
690
|
+
};
|
|
691
|
+
readonly methods: HrLeaveTypeMethods;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/** Methods of `hr.leave.type`: declared ones and transitions. */
|
|
695
|
+
export interface HrLeaveTypeMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.leave.type'> {
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** `indent.product.group` (owner: indent). */
|
|
699
|
+
export interface IndentProductGroup {
|
|
700
|
+
readonly name: 'indent.product.group';
|
|
701
|
+
readonly fields: {
|
|
702
|
+
readonly id: F.Id<'indent.product.group'>;
|
|
703
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
704
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
705
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
706
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
707
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
708
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
709
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
710
|
+
readonly categories: F.Many2many<'product.category', { readonly required: true }>;
|
|
711
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
712
|
+
readonly note: F.Text<{ readonly translate: true }>;
|
|
713
|
+
};
|
|
714
|
+
readonly methods: IndentProductGroupMethods;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** Methods of `indent.product.group`: declared ones and transitions. */
|
|
718
|
+
export interface IndentProductGroupMethods extends F.Methods<typeof import('../module.js').indentShutro, 'indent.product.group'> {
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/** `indent.request` (owner: indent). */
|
|
722
|
+
export interface IndentRequest {
|
|
723
|
+
readonly name: 'indent.request';
|
|
724
|
+
readonly fields: {
|
|
725
|
+
readonly id: F.Id<'indent.request'>;
|
|
726
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
727
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
728
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
729
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
730
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
731
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
732
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
733
|
+
readonly requester: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
734
|
+
readonly kind: F.Selection<'issue' | 'transfer', { readonly required: true; readonly default: true }>;
|
|
735
|
+
readonly employee: F.Many2one<'hr.employee'>;
|
|
736
|
+
readonly department: F.Many2one<'hr.department'>;
|
|
737
|
+
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
738
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
739
|
+
readonly dateRequired: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
740
|
+
readonly priority: F.Selection<'normal' | 'high' | 'urgent' | 'critical', { readonly required: true; readonly default: true }>;
|
|
741
|
+
readonly purpose: F.Text;
|
|
742
|
+
readonly lines: F.One2many<'indent.request.line', { readonly required: true }>;
|
|
743
|
+
readonly pickings: F.One2many<'stock.picking', { readonly required: true }>;
|
|
744
|
+
readonly issueCount: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
745
|
+
readonly issueStatus: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
746
|
+
readonly rejectReason: F.Char;
|
|
747
|
+
readonly shortageReason: F.Char;
|
|
748
|
+
readonly acknowledgedOn: F.DateOnly;
|
|
749
|
+
readonly state: F.State<'draft' | 'to_approve' | 'approved' | 'acknowledged' | 'rejected' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
750
|
+
};
|
|
751
|
+
readonly methods: IndentRequestMethods;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/** Methods of `indent.request`: declared ones and transitions. */
|
|
755
|
+
export interface IndentRequestMethods extends F.Methods<typeof import('../module.js').indentShutro, 'indent.request'> {
|
|
756
|
+
readonly 'acknowledge': () => Promise<void>;
|
|
757
|
+
readonly 'approve': () => Promise<void>;
|
|
758
|
+
readonly 'cancel': () => Promise<void>;
|
|
759
|
+
readonly 'issue': () => Promise<void>;
|
|
760
|
+
readonly 'redraft': () => Promise<void>;
|
|
761
|
+
readonly 'reject': () => Promise<void>;
|
|
762
|
+
readonly 'shortage': () => Promise<void>;
|
|
763
|
+
readonly 'submit': () => Promise<void>;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/** `indent.request.line` (owner: indent). */
|
|
767
|
+
export interface IndentRequestLine {
|
|
768
|
+
readonly name: 'indent.request.line';
|
|
769
|
+
readonly fields: {
|
|
770
|
+
readonly id: F.Id<'indent.request.line'>;
|
|
771
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
772
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
773
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
774
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
775
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
776
|
+
readonly request: F.Many2one<'indent.request', { readonly required: true }>;
|
|
777
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
778
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
779
|
+
readonly group: F.Many2one<'indent.product.group', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
780
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
781
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
782
|
+
readonly qtyApproved: F.Decimal;
|
|
783
|
+
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
784
|
+
readonly qtyIssued: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
785
|
+
readonly qtyShipped: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
786
|
+
readonly qtyShort: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
787
|
+
readonly inTransit: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
788
|
+
readonly qtyRemaining: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
789
|
+
readonly onHand: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
790
|
+
readonly note: F.Char;
|
|
791
|
+
readonly rejectReason: F.Char;
|
|
792
|
+
};
|
|
793
|
+
readonly methods: IndentRequestLineMethods;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/** Methods of `indent.request.line`: declared ones and transitions. */
|
|
797
|
+
export interface IndentRequestLineMethods extends F.Methods<typeof import('../module.js').indentShutro, 'indent.request.line'> {
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/** `kosh.image` (owner: base). */
|
|
801
|
+
export interface KoshImage {
|
|
802
|
+
readonly name: 'kosh.image';
|
|
803
|
+
readonly fields: {
|
|
804
|
+
readonly id: F.Id<'kosh.image'>;
|
|
805
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
806
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
807
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
808
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
809
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
810
|
+
readonly ownerModel: F.Char<{ readonly required: true }>;
|
|
811
|
+
readonly ownerId: F.Integer<{ readonly required: true }>;
|
|
812
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
813
|
+
readonly data: F.Text<{ readonly required: true }>;
|
|
814
|
+
readonly hash: F.Char<{ readonly required: true }>;
|
|
815
|
+
};
|
|
816
|
+
readonly methods: KoshImageMethods;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/** Methods of `kosh.image`: declared ones and transitions. */
|
|
820
|
+
export interface KoshImageMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.image'> {
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/** `kosh.saved_view` (owner: base). */
|
|
824
|
+
export interface KoshSavedView {
|
|
825
|
+
readonly name: 'kosh.saved_view';
|
|
826
|
+
readonly fields: {
|
|
827
|
+
readonly id: F.Id<'kosh.saved_view'>;
|
|
828
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
829
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
830
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
831
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
832
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
833
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
834
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
835
|
+
readonly viewType: F.Char<{ readonly required: true; readonly default: true }>;
|
|
836
|
+
readonly state: F.Json<unknown, { readonly required: true }>;
|
|
837
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
838
|
+
readonly isDefault: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
839
|
+
};
|
|
840
|
+
readonly methods: KoshSavedViewMethods;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** Methods of `kosh.saved_view`: declared ones and transitions. */
|
|
844
|
+
export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/** `kosh.setting` (owner: base). */
|
|
848
|
+
export interface KoshSetting {
|
|
849
|
+
readonly name: 'kosh.setting';
|
|
850
|
+
readonly fields: {
|
|
851
|
+
readonly id: F.Id<'kosh.setting'>;
|
|
852
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
853
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
854
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
855
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
856
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
857
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
858
|
+
readonly value: F.Json;
|
|
859
|
+
};
|
|
860
|
+
readonly methods: KoshSettingMethods;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/** Methods of `kosh.setting`: declared ones and transitions. */
|
|
864
|
+
export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/** `mail.activity` (owner: messaging). */
|
|
868
|
+
export interface MailActivity {
|
|
869
|
+
readonly name: 'mail.activity';
|
|
870
|
+
readonly fields: {
|
|
871
|
+
readonly id: F.Id<'mail.activity'>;
|
|
872
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
873
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
874
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
875
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
876
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
877
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
878
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
879
|
+
readonly type: F.Many2one<'mail.activity.type', { readonly required: true }>;
|
|
880
|
+
readonly summary: F.Char;
|
|
881
|
+
readonly note: F.Text;
|
|
882
|
+
readonly deadline: F.DateOnly<{ readonly required: true }>;
|
|
883
|
+
readonly assignee: F.Many2one<'res.users', { readonly required: true }>;
|
|
884
|
+
readonly done: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
885
|
+
readonly doneAt: F.Datetime;
|
|
886
|
+
readonly feedback: F.Text;
|
|
887
|
+
};
|
|
888
|
+
readonly methods: MailActivityMethods;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/** Methods of `mail.activity`: declared ones and transitions. */
|
|
892
|
+
export interface MailActivityMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity'> {
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/** `mail.activity.type` (owner: messaging). */
|
|
896
|
+
export interface MailActivityType {
|
|
897
|
+
readonly name: 'mail.activity.type';
|
|
898
|
+
readonly fields: {
|
|
899
|
+
readonly id: F.Id<'mail.activity.type'>;
|
|
900
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
901
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
902
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
903
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
904
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
905
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
906
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
907
|
+
readonly key: F.Char;
|
|
908
|
+
readonly icon: F.Char<{ readonly default: true }>;
|
|
909
|
+
readonly days: F.Integer<{ readonly default: true }>;
|
|
910
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
911
|
+
};
|
|
912
|
+
readonly methods: MailActivityTypeMethods;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/** Methods of `mail.activity.type`: declared ones and transitions. */
|
|
916
|
+
export interface MailActivityTypeMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity.type'> {
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
/** `mail.channel` (owner: messaging). */
|
|
920
|
+
export interface MailChannel {
|
|
921
|
+
readonly name: 'mail.channel';
|
|
922
|
+
readonly fields: {
|
|
923
|
+
readonly id: F.Id<'mail.channel'>;
|
|
924
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
925
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
926
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
927
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
928
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
929
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
930
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
931
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
932
|
+
readonly kind: F.Selection<'channel' | 'group' | 'direct', { readonly required: true; readonly default: true }>;
|
|
933
|
+
readonly description: F.Char;
|
|
934
|
+
readonly public: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
935
|
+
readonly members: F.One2many<'mail.channel.member', { readonly required: true }>;
|
|
936
|
+
readonly pairKey: F.Char;
|
|
937
|
+
readonly lastMessageAt: F.Datetime;
|
|
938
|
+
};
|
|
939
|
+
readonly methods: MailChannelMethods;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/** Methods of `mail.channel`: declared ones and transitions. */
|
|
943
|
+
export interface MailChannelMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel'> {
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/** `mail.channel.member` (owner: messaging). */
|
|
947
|
+
export interface MailChannelMember {
|
|
948
|
+
readonly name: 'mail.channel.member';
|
|
949
|
+
readonly fields: {
|
|
950
|
+
readonly id: F.Id<'mail.channel.member'>;
|
|
951
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
952
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
953
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
954
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
955
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
956
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
957
|
+
readonly channel: F.Many2one<'mail.channel', { readonly required: true }>;
|
|
958
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
959
|
+
readonly lastReadMessage: F.Many2one<'mail.message'>;
|
|
960
|
+
readonly muted: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
961
|
+
readonly pinned: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
962
|
+
};
|
|
963
|
+
readonly methods: MailChannelMemberMethods;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/** Methods of `mail.channel.member`: declared ones and transitions. */
|
|
967
|
+
export interface MailChannelMemberMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel.member'> {
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/** `mail.follower` (owner: messaging). */
|
|
971
|
+
export interface MailFollower {
|
|
972
|
+
readonly name: 'mail.follower';
|
|
973
|
+
readonly fields: {
|
|
974
|
+
readonly id: F.Id<'mail.follower'>;
|
|
975
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
976
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
977
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
978
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
979
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
980
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
981
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
982
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
983
|
+
};
|
|
984
|
+
readonly methods: MailFollowerMethods;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/** Methods of `mail.follower`: declared ones and transitions. */
|
|
988
|
+
export interface MailFollowerMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.follower'> {
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/** `mail.message` (owner: messaging). */
|
|
992
|
+
export interface MailMessage {
|
|
993
|
+
readonly name: 'mail.message';
|
|
994
|
+
readonly fields: {
|
|
995
|
+
readonly id: F.Id<'mail.message'>;
|
|
996
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
997
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
998
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
999
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1000
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1001
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
1002
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
1003
|
+
readonly kind: F.Selection<'comment' | 'note' | 'activity' | 'system', { readonly required: true; readonly default: true }>;
|
|
1004
|
+
readonly author: F.Many2one<'res.users'>;
|
|
1005
|
+
readonly authorEmail: F.Char;
|
|
1006
|
+
readonly authorName: F.Char;
|
|
1007
|
+
readonly text: F.Text<{ readonly required: true }>;
|
|
1008
|
+
readonly body: F.Text<{ readonly required: true }>;
|
|
1009
|
+
readonly mentions: F.Many2many<'res.users', { readonly required: true }>;
|
|
1010
|
+
readonly attachments: F.Many2many<'storage.attachment', { readonly required: true }>;
|
|
1011
|
+
readonly editedAt: F.Datetime;
|
|
1012
|
+
readonly parent: F.Many2one<'mail.message'>;
|
|
1013
|
+
readonly replyCount: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1014
|
+
readonly reactions: F.One2many<'mail.message.reaction', { readonly required: true }>;
|
|
1015
|
+
readonly deletedAt: F.Datetime;
|
|
1016
|
+
};
|
|
1017
|
+
readonly methods: MailMessageMethods;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/** Methods of `mail.message`: declared ones and transitions. */
|
|
1021
|
+
export interface MailMessageMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message'> {
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
/** `mail.message.reaction` (owner: messaging). */
|
|
1025
|
+
export interface MailMessageReaction {
|
|
1026
|
+
readonly name: 'mail.message.reaction';
|
|
1027
|
+
readonly fields: {
|
|
1028
|
+
readonly id: F.Id<'mail.message.reaction'>;
|
|
1029
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1030
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1031
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1032
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1033
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1034
|
+
readonly message: F.Many2one<'mail.message', { readonly required: true }>;
|
|
1035
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1036
|
+
readonly emoji: F.Char<{ readonly required: true }>;
|
|
1037
|
+
};
|
|
1038
|
+
readonly methods: MailMessageReactionMethods;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/** Methods of `mail.message.reaction`: declared ones and transitions. */
|
|
1042
|
+
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/** `oauth.app` (owner: base). */
|
|
1046
|
+
export interface OauthApp {
|
|
1047
|
+
readonly name: 'oauth.app';
|
|
1048
|
+
readonly fields: {
|
|
1049
|
+
readonly id: F.Id<'oauth.app'>;
|
|
1050
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1051
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1052
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1053
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1054
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1055
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1056
|
+
readonly clientId: F.Char<{ readonly required: true }>;
|
|
1057
|
+
readonly secretHash: F.Char;
|
|
1058
|
+
readonly confidential: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1059
|
+
readonly redirectUris: F.Text<{ readonly required: true }>;
|
|
1060
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1061
|
+
readonly homepage: F.Char;
|
|
1062
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1063
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
1064
|
+
};
|
|
1065
|
+
readonly methods: OauthAppMethods;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/** Methods of `oauth.app`: declared ones and transitions. */
|
|
1069
|
+
export interface OauthAppMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.app'> {
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/** `oauth.code` (owner: base). */
|
|
1073
|
+
export interface OauthCode {
|
|
1074
|
+
readonly name: 'oauth.code';
|
|
1075
|
+
readonly fields: {
|
|
1076
|
+
readonly id: F.Id<'oauth.code'>;
|
|
1077
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1078
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1079
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1080
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1081
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1082
|
+
readonly codeHash: F.Char<{ readonly required: true }>;
|
|
1083
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1084
|
+
readonly redirectUri: F.Char<{ readonly required: true }>;
|
|
1085
|
+
readonly challenge: F.Char;
|
|
1086
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
1087
|
+
readonly used: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1088
|
+
};
|
|
1089
|
+
readonly methods: OauthCodeMethods;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/** Methods of `oauth.code`: declared ones and transitions. */
|
|
1093
|
+
export interface OauthCodeMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.code'> {
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/** `oauth.grant` (owner: base). */
|
|
1097
|
+
export interface OauthGrant {
|
|
1098
|
+
readonly name: 'oauth.grant';
|
|
1099
|
+
readonly fields: {
|
|
1100
|
+
readonly id: F.Id<'oauth.grant'>;
|
|
1101
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1102
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1103
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1104
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1105
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1106
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1107
|
+
readonly app: F.Many2one<'oauth.app', { readonly required: true }>;
|
|
1108
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1109
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1110
|
+
readonly lastUsedAt: F.Datetime;
|
|
1111
|
+
};
|
|
1112
|
+
readonly methods: OauthGrantMethods;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/** Methods of `oauth.grant`: declared ones and transitions. */
|
|
1116
|
+
export interface OauthGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.grant'> {
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
/** `oauth.token` (owner: base). */
|
|
1120
|
+
export interface OauthToken {
|
|
1121
|
+
readonly name: 'oauth.token';
|
|
1122
|
+
readonly fields: {
|
|
1123
|
+
readonly id: F.Id<'oauth.token'>;
|
|
1124
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1125
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1126
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1127
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1128
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1129
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1130
|
+
readonly accessHash: F.Char<{ readonly required: true }>;
|
|
1131
|
+
readonly refreshHash: F.Char<{ readonly required: true }>;
|
|
1132
|
+
readonly accessExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1133
|
+
readonly refreshExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1134
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1135
|
+
readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1136
|
+
};
|
|
1137
|
+
readonly methods: OauthTokenMethods;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/** Methods of `oauth.token`: declared ones and transitions. */
|
|
1141
|
+
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/** `product.attribute` (owner: product). */
|
|
1145
|
+
export interface ProductAttribute {
|
|
1146
|
+
readonly name: 'product.attribute';
|
|
1147
|
+
readonly fields: {
|
|
1148
|
+
readonly id: F.Id<'product.attribute'>;
|
|
1149
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1150
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1151
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1152
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1153
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1154
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1155
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1156
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
1157
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1158
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
1159
|
+
};
|
|
1160
|
+
readonly methods: ProductAttributeMethods;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
1164
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/** `product.attribute.value` (owner: product). */
|
|
1168
|
+
export interface ProductAttributeValue {
|
|
1169
|
+
readonly name: 'product.attribute.value';
|
|
1170
|
+
readonly fields: {
|
|
1171
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
1172
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1173
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1174
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1175
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1176
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1177
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1178
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1179
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1180
|
+
readonly color: F.Char;
|
|
1181
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1182
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1183
|
+
};
|
|
1184
|
+
readonly methods: ProductAttributeValueMethods;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
1188
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/** `product.category` (owner: product). */
|
|
1192
|
+
export interface ProductCategory {
|
|
1193
|
+
readonly name: 'product.category';
|
|
1194
|
+
readonly fields: {
|
|
1195
|
+
readonly id: F.Id<'product.category'>;
|
|
1196
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1197
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1198
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1199
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1200
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1201
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1202
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1203
|
+
readonly parent: F.Many2one<'product.category'>;
|
|
1204
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1205
|
+
};
|
|
1206
|
+
readonly methods: ProductCategoryMethods;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/** Methods of `product.category`: declared ones and transitions. */
|
|
1210
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/** `product.pricelist` (owner: product). */
|
|
1214
|
+
export interface ProductPricelist {
|
|
1215
|
+
readonly name: 'product.pricelist';
|
|
1216
|
+
readonly fields: {
|
|
1217
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
1218
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1219
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1220
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1221
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1222
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1223
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1224
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1225
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1226
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1227
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1228
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
1229
|
+
readonly note: F.Text;
|
|
1230
|
+
};
|
|
1231
|
+
readonly methods: ProductPricelistMethods;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
1235
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
1239
|
+
export interface ProductPricelistRule {
|
|
1240
|
+
readonly name: 'product.pricelist.rule';
|
|
1241
|
+
readonly fields: {
|
|
1242
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
1243
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1244
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1245
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1246
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1247
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1248
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
1249
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1250
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
1251
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1252
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1253
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
1254
|
+
readonly dateFrom: F.DateOnly;
|
|
1255
|
+
readonly dateTo: F.DateOnly;
|
|
1256
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
1257
|
+
readonly fixedPrice: F.Decimal;
|
|
1258
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
1259
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
1260
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
1261
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
1262
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
1263
|
+
readonly minMargin: F.Decimal;
|
|
1264
|
+
readonly maxMargin: F.Decimal;
|
|
1265
|
+
};
|
|
1266
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
1270
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** `product.product` (owner: product; extended by: stock). */
|
|
1274
|
+
export interface ProductProduct {
|
|
1275
|
+
readonly name: 'product.product';
|
|
1276
|
+
readonly fields: {
|
|
1277
|
+
readonly id: F.Id<'product.product'>;
|
|
1278
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1279
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1280
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1281
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1282
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1283
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1284
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1285
|
+
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1286
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1287
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1288
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
1289
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1290
|
+
readonly barcode: F.Char;
|
|
1291
|
+
readonly weight: F.Decimal;
|
|
1292
|
+
readonly volume: F.Decimal;
|
|
1293
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1294
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1295
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1296
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1297
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1298
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1299
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1300
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1301
|
+
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1302
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1303
|
+
readonly template: F.Many2one<'product.template'>;
|
|
1304
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1305
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1306
|
+
readonly tracking: F.Selection<'none' | 'lot' | 'serial', { readonly required: true; readonly default: true }>; // stock
|
|
1307
|
+
readonly lots: F.One2many<'stock.lot', { readonly required: true }>; // stock
|
|
1308
|
+
readonly quants: F.One2many<'stock.quant', { readonly required: true }>; // stock
|
|
1309
|
+
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1310
|
+
readonly qtyReserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1311
|
+
readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1312
|
+
};
|
|
1313
|
+
readonly methods: ProductProductMethods;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/** Methods of `product.product`: declared ones and transitions. */
|
|
1317
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../stock/index.js').stockShutro, 'product.product'> {
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** `product.template` (owner: product). */
|
|
1321
|
+
export interface ProductTemplate {
|
|
1322
|
+
readonly name: 'product.template';
|
|
1323
|
+
readonly fields: {
|
|
1324
|
+
readonly id: F.Id<'product.template'>;
|
|
1325
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1326
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1327
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1328
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1329
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1330
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1331
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1332
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1333
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1334
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1335
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1336
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1337
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1338
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1339
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1340
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1341
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1342
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1343
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1344
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1345
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1346
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1347
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1348
|
+
};
|
|
1349
|
+
readonly methods: ProductTemplateMethods;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1353
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1354
|
+
readonly 'generate': () => Promise<void>;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1358
|
+
export interface ProductTemplateExclusion {
|
|
1359
|
+
readonly name: 'product.template.exclusion';
|
|
1360
|
+
readonly fields: {
|
|
1361
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1362
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1363
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1364
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1365
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1366
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1367
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1368
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1369
|
+
readonly note: F.Char;
|
|
1370
|
+
};
|
|
1371
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1375
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/** `product.template.line` (owner: product). */
|
|
1379
|
+
export interface ProductTemplateLine {
|
|
1380
|
+
readonly name: 'product.template.line';
|
|
1381
|
+
readonly fields: {
|
|
1382
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1383
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1384
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1385
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1386
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1387
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1388
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1389
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1390
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1391
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1392
|
+
};
|
|
1393
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1397
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/** `res.company` (owner: base; extended by: contacts). */
|
|
1401
|
+
export interface ResCompany {
|
|
1402
|
+
readonly name: 'res.company';
|
|
1403
|
+
readonly fields: {
|
|
1404
|
+
readonly id: F.Id<'res.company'>;
|
|
1405
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1406
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1407
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1408
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1409
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1410
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1411
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
1412
|
+
readonly numberGrouping: F.Selection<'international' | 'lakh', { readonly required: true; readonly default: true }>;
|
|
1413
|
+
readonly accentColor: F.Char;
|
|
1414
|
+
readonly street: F.Char;
|
|
1415
|
+
readonly city: F.Char;
|
|
1416
|
+
readonly zip: F.Char;
|
|
1417
|
+
readonly email: F.Char;
|
|
1418
|
+
readonly phone: F.Char;
|
|
1419
|
+
readonly website: F.Char;
|
|
1420
|
+
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
1421
|
+
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
1422
|
+
};
|
|
1423
|
+
readonly methods: ResCompanyMethods;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
/** Methods of `res.company`: declared ones and transitions. */
|
|
1427
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'> {
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/** `res.currency` (owner: base). */
|
|
1431
|
+
export interface ResCurrency {
|
|
1432
|
+
readonly name: 'res.currency';
|
|
1433
|
+
readonly fields: {
|
|
1434
|
+
readonly id: F.Id<'res.currency'>;
|
|
1435
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1436
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1437
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1438
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1439
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1440
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1441
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1442
|
+
readonly decimalPlaces: F.Integer<{ readonly default: true }>;
|
|
1443
|
+
};
|
|
1444
|
+
readonly methods: ResCurrencyMethods;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
/** Methods of `res.currency`: declared ones and transitions. */
|
|
1448
|
+
export interface ResCurrencyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.currency'> {
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
/** `res.partner` (owner: contacts). */
|
|
1452
|
+
export interface ResPartner {
|
|
1453
|
+
readonly name: 'res.partner';
|
|
1454
|
+
readonly fields: {
|
|
1455
|
+
readonly id: F.Id<'res.partner'>;
|
|
1456
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1457
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1458
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1459
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1460
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1461
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1462
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1463
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1464
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1465
|
+
readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
|
|
1466
|
+
readonly latitude: F.Decimal;
|
|
1467
|
+
readonly longitude: F.Decimal;
|
|
1468
|
+
readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1469
|
+
readonly parent: F.Many2one<'res.partner'>;
|
|
1470
|
+
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1471
|
+
readonly email: F.Char;
|
|
1472
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1473
|
+
readonly phone: F.Char;
|
|
1474
|
+
readonly mobile: F.Char;
|
|
1475
|
+
readonly website: F.Char;
|
|
1476
|
+
readonly street: F.Char;
|
|
1477
|
+
readonly city: F.Char;
|
|
1478
|
+
readonly zip: F.Char;
|
|
1479
|
+
readonly country: F.Char;
|
|
1480
|
+
readonly state: F.Char;
|
|
1481
|
+
readonly taxId: F.Char;
|
|
1482
|
+
readonly isCustomer: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1483
|
+
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1484
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1485
|
+
readonly notes: F.Text;
|
|
1486
|
+
};
|
|
1487
|
+
readonly methods: ResPartnerMethods;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1491
|
+
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'> {
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
/** `res.partner.tag` (owner: contacts). */
|
|
1495
|
+
export interface ResPartnerTag {
|
|
1496
|
+
readonly name: 'res.partner.tag';
|
|
1497
|
+
readonly fields: {
|
|
1498
|
+
readonly id: F.Id<'res.partner.tag'>;
|
|
1499
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1500
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1501
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1502
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1503
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1504
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1505
|
+
};
|
|
1506
|
+
readonly methods: ResPartnerTagMethods;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
/** Methods of `res.partner.tag`: declared ones and transitions. */
|
|
1510
|
+
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
/** `res.segment` (owner: permissions). */
|
|
1514
|
+
export interface ResSegment {
|
|
1515
|
+
readonly name: 'res.segment';
|
|
1516
|
+
readonly fields: {
|
|
1517
|
+
readonly id: F.Id<'res.segment'>;
|
|
1518
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1519
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1520
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1521
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1522
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1523
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1524
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1525
|
+
readonly code: F.Char;
|
|
1526
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1527
|
+
readonly note: F.Text;
|
|
1528
|
+
};
|
|
1529
|
+
readonly methods: ResSegmentMethods;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
1533
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** `res.users` (owner: base). */
|
|
1537
|
+
export interface ResUsers {
|
|
1538
|
+
readonly name: 'res.users';
|
|
1539
|
+
readonly fields: {
|
|
1540
|
+
readonly id: F.Id<'res.users'>;
|
|
1541
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1542
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1543
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1544
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1545
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1546
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1547
|
+
readonly login: F.Char<{ readonly required: true }>;
|
|
1548
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1549
|
+
readonly email: F.Char;
|
|
1550
|
+
readonly phone: F.Char;
|
|
1551
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1552
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1553
|
+
readonly lang: F.Char<{ readonly default: true }>;
|
|
1554
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
1555
|
+
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1556
|
+
};
|
|
1557
|
+
readonly methods: ResUsersMethods;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** Methods of `res.users`: declared ones and transitions. */
|
|
1561
|
+
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/** `stock.count` (owner: stock). */
|
|
1565
|
+
export interface StockCount {
|
|
1566
|
+
readonly name: 'stock.count';
|
|
1567
|
+
readonly fields: {
|
|
1568
|
+
readonly id: F.Id<'stock.count'>;
|
|
1569
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1570
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1571
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1572
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1573
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1574
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1575
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1576
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1577
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1578
|
+
readonly user: F.Many2one<'res.users', { readonly default: true }>;
|
|
1579
|
+
readonly lines: F.One2many<'stock.count.line', { readonly required: true }>;
|
|
1580
|
+
readonly adjustments: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1581
|
+
readonly note: F.Text;
|
|
1582
|
+
readonly state: F.State<'draft' | 'counting' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1583
|
+
};
|
|
1584
|
+
readonly methods: StockCountMethods;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
/** Methods of `stock.count`: declared ones and transitions. */
|
|
1588
|
+
export interface StockCountMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count'> {
|
|
1589
|
+
readonly 'apply': () => Promise<void>;
|
|
1590
|
+
readonly 'cancel': () => Promise<void>;
|
|
1591
|
+
readonly 'redraft': () => Promise<void>;
|
|
1592
|
+
readonly 'start': () => Promise<void>;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/** `stock.count.line` (owner: stock). */
|
|
1596
|
+
export interface StockCountLine {
|
|
1597
|
+
readonly name: 'stock.count.line';
|
|
1598
|
+
readonly fields: {
|
|
1599
|
+
readonly id: F.Id<'stock.count.line'>;
|
|
1600
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1601
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1602
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1603
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1604
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1605
|
+
readonly count: F.Many2one<'stock.count', { readonly required: true }>;
|
|
1606
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1607
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1608
|
+
readonly expected: F.Decimal;
|
|
1609
|
+
readonly counted: F.Decimal;
|
|
1610
|
+
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1611
|
+
};
|
|
1612
|
+
readonly methods: StockCountLineMethods;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/** Methods of `stock.count.line`: declared ones and transitions. */
|
|
1616
|
+
export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
/** `stock.location` (owner: stock; extended by: indent). */
|
|
1620
|
+
export interface StockLocation {
|
|
1621
|
+
readonly name: 'stock.location';
|
|
1622
|
+
readonly fields: {
|
|
1623
|
+
readonly id: F.Id<'stock.location'>;
|
|
1624
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1625
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1626
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1627
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1628
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1629
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1630
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1631
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1632
|
+
readonly parent: F.Many2one<'stock.location'>;
|
|
1633
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1634
|
+
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1635
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1636
|
+
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit' | 'consumption', { readonly required: true; readonly default: true }>;
|
|
1637
|
+
readonly transit: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1638
|
+
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1639
|
+
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1640
|
+
};
|
|
1641
|
+
readonly methods: StockLocationMethods;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/** Methods of `stock.location`: declared ones and transitions. */
|
|
1645
|
+
export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'>, F.Methods<typeof import('../module.js').indentShutro, 'stock.location'> {
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
/** `stock.lot` (owner: stock). */
|
|
1649
|
+
export interface StockLot {
|
|
1650
|
+
readonly name: 'stock.lot';
|
|
1651
|
+
readonly fields: {
|
|
1652
|
+
readonly id: F.Id<'stock.lot'>;
|
|
1653
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1654
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1655
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1656
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1657
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1658
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1659
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1660
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1661
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1662
|
+
readonly expiryDate: F.DateOnly;
|
|
1663
|
+
readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
|
|
1664
|
+
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1665
|
+
readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1666
|
+
readonly note: F.Text;
|
|
1667
|
+
};
|
|
1668
|
+
readonly methods: StockLotMethods;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/** Methods of `stock.lot`: declared ones and transitions. */
|
|
1672
|
+
export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/** `stock.lot.line` (owner: stock). */
|
|
1676
|
+
export interface StockLotLine {
|
|
1677
|
+
readonly name: 'stock.lot.line';
|
|
1678
|
+
readonly fields: {
|
|
1679
|
+
readonly id: F.Id<'stock.lot.line'>;
|
|
1680
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1681
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1682
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1683
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1684
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1685
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1686
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1687
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1688
|
+
readonly lotName: F.Char;
|
|
1689
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1690
|
+
};
|
|
1691
|
+
readonly methods: StockLotLineMethods;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
/** Methods of `stock.lot.line`: declared ones and transitions. */
|
|
1695
|
+
export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/** `stock.move` (owner: stock; extended by: indent). */
|
|
1699
|
+
export interface StockMove {
|
|
1700
|
+
readonly name: 'stock.move';
|
|
1701
|
+
readonly fields: {
|
|
1702
|
+
readonly id: F.Id<'stock.move'>;
|
|
1703
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1704
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1705
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1706
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1707
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1708
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1709
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1710
|
+
readonly name: F.Char;
|
|
1711
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1712
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1713
|
+
readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1714
|
+
readonly quantityDone: F.Decimal;
|
|
1715
|
+
readonly returnOf: F.Many2one<'stock.move'>;
|
|
1716
|
+
readonly returns: F.One2many<'stock.move', { readonly required: true }>;
|
|
1717
|
+
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1718
|
+
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
1719
|
+
readonly procurement: F.Char;
|
|
1720
|
+
readonly destination: F.Many2one<'stock.location'>;
|
|
1721
|
+
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1722
|
+
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1723
|
+
readonly indentLine: F.Many2one<'indent.request.line'>; // indent
|
|
1724
|
+
};
|
|
1725
|
+
readonly methods: StockMoveMethods;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
/** Methods of `stock.move`: declared ones and transitions. */
|
|
1729
|
+
export interface StockMoveMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.move'>, F.Methods<typeof import('../module.js').indentShutro, 'stock.move'> {
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/** `stock.picking` (owner: stock; extended by: indent). */
|
|
1733
|
+
export interface StockPicking {
|
|
1734
|
+
readonly name: 'stock.picking';
|
|
1735
|
+
readonly fields: {
|
|
1736
|
+
readonly id: F.Id<'stock.picking'>;
|
|
1737
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1738
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1739
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1740
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1741
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1742
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1743
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1744
|
+
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1745
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
1746
|
+
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1747
|
+
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1748
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1749
|
+
readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1750
|
+
readonly doneDate: F.DateOnly;
|
|
1751
|
+
readonly origin: F.Char;
|
|
1752
|
+
readonly note: F.Text;
|
|
1753
|
+
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
1754
|
+
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1755
|
+
readonly count: F.Many2one<'stock.count'>;
|
|
1756
|
+
readonly responsible: F.Many2one<'res.users'>;
|
|
1757
|
+
readonly carrier: F.Char;
|
|
1758
|
+
readonly trackingRef: F.Char;
|
|
1759
|
+
readonly weight: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1760
|
+
readonly vehicleNumber: F.Char;
|
|
1761
|
+
readonly driverName: F.Char;
|
|
1762
|
+
readonly driverMobile: F.Char;
|
|
1763
|
+
readonly transporter: F.Many2one<'res.partner'>;
|
|
1764
|
+
readonly transportDate: F.DateOnly;
|
|
1765
|
+
readonly gateIn: F.Datetime;
|
|
1766
|
+
readonly gateOut: F.Datetime;
|
|
1767
|
+
readonly freightAmount: F.Decimal;
|
|
1768
|
+
readonly deductFromSupplier: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1769
|
+
readonly supplierDeduction: F.Decimal;
|
|
1770
|
+
readonly charges: F.One2many<'stock.picking.charge', { readonly required: true }>;
|
|
1771
|
+
readonly extras: F.One2many<'stock.picking.extra', { readonly required: true }>;
|
|
1772
|
+
readonly gateNote: F.Text;
|
|
1773
|
+
readonly remarks: F.Text;
|
|
1774
|
+
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
1775
|
+
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1776
|
+
readonly returnOf: F.Many2one<'stock.picking'>;
|
|
1777
|
+
readonly returns: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1778
|
+
readonly returnReason: F.Many2one<'stock.return.reason'>;
|
|
1779
|
+
readonly next: F.Many2one<'stock.picking'>;
|
|
1780
|
+
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1781
|
+
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1782
|
+
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1783
|
+
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1784
|
+
readonly indent: F.Many2one<'indent.request'>; // indent
|
|
1785
|
+
readonly noteKind: F.Selection<'stn' | 'srn' | 'short'>; // indent
|
|
1786
|
+
};
|
|
1787
|
+
readonly methods: StockPickingMethods;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/** Methods of `stock.picking`: declared ones and transitions. */
|
|
1791
|
+
export interface StockPickingMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking'>, F.Methods<typeof import('../module.js').indentShutro, 'stock.picking'> {
|
|
1792
|
+
readonly 'cancel': () => Promise<void>;
|
|
1793
|
+
readonly 'confirm': () => Promise<void>;
|
|
1794
|
+
readonly 'redraft': () => Promise<void>;
|
|
1795
|
+
readonly 'reserve': () => Promise<void>;
|
|
1796
|
+
readonly 'unreserve': () => Promise<void>;
|
|
1797
|
+
readonly 'validate': () => Promise<void>;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/** `stock.picking.charge` (owner: stock). */
|
|
1801
|
+
export interface StockPickingCharge {
|
|
1802
|
+
readonly name: 'stock.picking.charge';
|
|
1803
|
+
readonly fields: {
|
|
1804
|
+
readonly id: F.Id<'stock.picking.charge'>;
|
|
1805
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1806
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1807
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1808
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1809
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1810
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1811
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1812
|
+
readonly kind: F.Selection<'addition' | 'deduction', { readonly required: true; readonly default: true }>;
|
|
1813
|
+
readonly amount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1814
|
+
};
|
|
1815
|
+
readonly methods: StockPickingChargeMethods;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/** Methods of `stock.picking.charge`: declared ones and transitions. */
|
|
1819
|
+
export interface StockPickingChargeMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.charge'> {
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
/** `stock.picking.extra` (owner: stock). */
|
|
1823
|
+
export interface StockPickingExtra {
|
|
1824
|
+
readonly name: 'stock.picking.extra';
|
|
1825
|
+
readonly fields: {
|
|
1826
|
+
readonly id: F.Id<'stock.picking.extra'>;
|
|
1827
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1828
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1829
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1830
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1831
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1832
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1833
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1834
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1835
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1836
|
+
readonly note: F.Char;
|
|
1837
|
+
};
|
|
1838
|
+
readonly methods: StockPickingExtraMethods;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/** Methods of `stock.picking.extra`: declared ones and transitions. */
|
|
1842
|
+
export interface StockPickingExtraMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.extra'> {
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/** `stock.putaway` (owner: stock). */
|
|
1846
|
+
export interface StockPutaway {
|
|
1847
|
+
readonly name: 'stock.putaway';
|
|
1848
|
+
readonly fields: {
|
|
1849
|
+
readonly id: F.Id<'stock.putaway'>;
|
|
1850
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1851
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1852
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1853
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1854
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1855
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1856
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1857
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1858
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1859
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1860
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1861
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1862
|
+
};
|
|
1863
|
+
readonly methods: StockPutawayMethods;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
/** Methods of `stock.putaway`: declared ones and transitions. */
|
|
1867
|
+
export interface StockPutawayMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.putaway'> {
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/** `stock.quant` (owner: stock; extended by: indent). */
|
|
1871
|
+
export interface StockQuant {
|
|
1872
|
+
readonly name: 'stock.quant';
|
|
1873
|
+
readonly fields: {
|
|
1874
|
+
readonly id: F.Id<'stock.quant'>;
|
|
1875
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1876
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1877
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1878
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1879
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1880
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1881
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1882
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1883
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1884
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1885
|
+
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1886
|
+
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1887
|
+
readonly available: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1888
|
+
};
|
|
1889
|
+
readonly methods: StockQuantMethods;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
/** Methods of `stock.quant`: declared ones and transitions. */
|
|
1893
|
+
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'>, F.Methods<typeof import('../module.js').indentShutro, 'stock.quant'> {
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
/** `stock.reorder` (owner: stock). */
|
|
1897
|
+
export interface StockReorder {
|
|
1898
|
+
readonly name: 'stock.reorder';
|
|
1899
|
+
readonly fields: {
|
|
1900
|
+
readonly id: F.Id<'stock.reorder'>;
|
|
1901
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1902
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1903
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1904
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1905
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1906
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1907
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1908
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1909
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1910
|
+
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
1911
|
+
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1912
|
+
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1913
|
+
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1914
|
+
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1915
|
+
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1916
|
+
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
1917
|
+
readonly vendor: F.Many2one<'res.partner'>;
|
|
1918
|
+
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
1919
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1920
|
+
readonly snoozedUntil: F.DateOnly;
|
|
1921
|
+
readonly onHand: F.Decimal;
|
|
1922
|
+
readonly forecast: F.Decimal;
|
|
1923
|
+
readonly proposed: F.Decimal;
|
|
1924
|
+
readonly explanation: F.Text;
|
|
1925
|
+
readonly refreshedAt: F.Datetime;
|
|
1926
|
+
readonly lastOrder: F.Char;
|
|
1927
|
+
};
|
|
1928
|
+
readonly methods: StockReorderMethods;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
1932
|
+
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'> {
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
/** `stock.reservation` (owner: stock). */
|
|
1936
|
+
export interface StockReservation {
|
|
1937
|
+
readonly name: 'stock.reservation';
|
|
1938
|
+
readonly fields: {
|
|
1939
|
+
readonly id: F.Id<'stock.reservation'>;
|
|
1940
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1941
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1942
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1943
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1944
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1945
|
+
readonly move: F.Many2one<'stock.move', { readonly required: true }>;
|
|
1946
|
+
readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
|
|
1947
|
+
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
1948
|
+
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1949
|
+
};
|
|
1950
|
+
readonly methods: StockReservationMethods;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
/** Methods of `stock.reservation`: declared ones and transitions. */
|
|
1954
|
+
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
/** `stock.return.reason` (owner: stock). */
|
|
1958
|
+
export interface StockReturnReason {
|
|
1959
|
+
readonly name: 'stock.return.reason';
|
|
1960
|
+
readonly fields: {
|
|
1961
|
+
readonly id: F.Id<'stock.return.reason'>;
|
|
1962
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1963
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1964
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1965
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1966
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1967
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1968
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1969
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1970
|
+
readonly code: F.Char;
|
|
1971
|
+
};
|
|
1972
|
+
readonly methods: StockReturnReasonMethods;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/** Methods of `stock.return.reason`: declared ones and transitions. */
|
|
1976
|
+
export interface StockReturnReasonMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.return.reason'> {
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/** `stock.scrap` (owner: stock). */
|
|
1980
|
+
export interface StockScrap {
|
|
1981
|
+
readonly name: 'stock.scrap';
|
|
1982
|
+
readonly fields: {
|
|
1983
|
+
readonly id: F.Id<'stock.scrap'>;
|
|
1984
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1985
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1986
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1987
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1988
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1989
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1990
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1991
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1992
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1993
|
+
readonly location: F.Many2one<'stock.location'>;
|
|
1994
|
+
readonly lot: F.Many2one<'stock.lot'>;
|
|
1995
|
+
readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
|
|
1996
|
+
readonly note: F.Text;
|
|
1997
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1998
|
+
readonly picking: F.Many2one<'stock.picking'>;
|
|
1999
|
+
readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2000
|
+
};
|
|
2001
|
+
readonly methods: StockScrapMethods;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/** Methods of `stock.scrap`: declared ones and transitions. */
|
|
2005
|
+
export interface StockScrapMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.scrap'> {
|
|
2006
|
+
readonly 'cancel': () => Promise<void>;
|
|
2007
|
+
readonly 'validate': () => Promise<void>;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
/** `stock.warehouse` (owner: stock; extended by: indent). */
|
|
2011
|
+
export interface StockWarehouse {
|
|
2012
|
+
readonly name: 'stock.warehouse';
|
|
2013
|
+
readonly fields: {
|
|
2014
|
+
readonly id: F.Id<'stock.warehouse'>;
|
|
2015
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2016
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2017
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2018
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2019
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2020
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2021
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2022
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2023
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
2024
|
+
readonly locations: F.One2many<'stock.location', { readonly required: true }>;
|
|
2025
|
+
readonly address: F.Many2one<'res.partner'>;
|
|
2026
|
+
readonly receptionSteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2027
|
+
readonly deliverySteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2028
|
+
};
|
|
2029
|
+
readonly methods: StockWarehouseMethods;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
/** Methods of `stock.warehouse`: declared ones and transitions. */
|
|
2033
|
+
export interface StockWarehouseMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.warehouse'>, F.Methods<typeof import('../module.js').indentShutro, 'stock.warehouse'> {
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
/** `storage.attachment` (owner: storage). */
|
|
2037
|
+
export interface StorageAttachment {
|
|
2038
|
+
readonly name: 'storage.attachment';
|
|
2039
|
+
readonly fields: {
|
|
2040
|
+
readonly id: F.Id<'storage.attachment'>;
|
|
2041
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2042
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2043
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2044
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2045
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2046
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2047
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
2048
|
+
readonly size: F.Integer<{ readonly required: true }>;
|
|
2049
|
+
readonly sha256: F.Char<{ readonly required: true }>;
|
|
2050
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
2051
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
2052
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
2053
|
+
readonly variantOf: F.Many2one<'storage.attachment'>;
|
|
2054
|
+
readonly width: F.Integer;
|
|
2055
|
+
};
|
|
2056
|
+
readonly methods: StorageAttachmentMethods;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
/** Methods of `storage.attachment`: declared ones and transitions. */
|
|
2060
|
+
export interface StorageAttachmentMethods extends F.Methods<typeof import('../../storage/index.js').storageShutro, 'storage.attachment'> {
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/** `uom.uom` (owner: product). */
|
|
2064
|
+
export interface UomUom {
|
|
2065
|
+
readonly name: 'uom.uom';
|
|
2066
|
+
readonly fields: {
|
|
2067
|
+
readonly id: F.Id<'uom.uom'>;
|
|
2068
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2069
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2070
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2071
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2072
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2073
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2074
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
2075
|
+
readonly category: F.Selection<'unit' | 'time' | 'weight' | 'length' | 'volume', { readonly required: true; readonly default: true }>;
|
|
2076
|
+
readonly ratio: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2077
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2078
|
+
};
|
|
2079
|
+
readonly methods: UomUomMethods;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/** Methods of `uom.uom`: declared ones and transitions. */
|
|
2083
|
+
export interface UomUomMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'uom.uom'> {
|
|
2084
|
+
}
|