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
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
2
|
-
// Schema view of module `
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 5359686a4a3df8a6
|
|
2
|
+
// Schema view of module `l10n_bd_pos` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
3
|
import type { F } from '../../server/orm.js';
|
|
4
4
|
|
|
5
5
|
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
6
|
export interface SchemaView {
|
|
7
7
|
readonly 'account.account': AccountAccount;
|
|
8
8
|
readonly 'account.analytic': AccountAnalytic;
|
|
9
|
+
readonly 'account.bank.statement': AccountBankStatement;
|
|
10
|
+
readonly 'account.bank.statement.line': AccountBankStatementLine;
|
|
11
|
+
readonly 'account.fiscal.position': AccountFiscalPosition;
|
|
12
|
+
readonly 'account.fiscal.position.account': AccountFiscalPositionAccount;
|
|
13
|
+
readonly 'account.fiscal.position.tax': AccountFiscalPositionTax;
|
|
9
14
|
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
15
|
+
readonly 'account.followup': AccountFollowup;
|
|
16
|
+
readonly 'account.followup.level': AccountFollowupLevel;
|
|
17
|
+
readonly 'account.followup.sent': AccountFollowupSent;
|
|
10
18
|
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
11
19
|
readonly 'account.journal': AccountJournal;
|
|
12
20
|
readonly 'account.move': AccountMove;
|
|
@@ -16,10 +24,12 @@ export interface SchemaView {
|
|
|
16
24
|
readonly 'account.payment.term': AccountPaymentTerm;
|
|
17
25
|
readonly 'account.payment.term.line': AccountPaymentTermLine;
|
|
18
26
|
readonly 'account.payment.withholding': AccountPaymentWithholding;
|
|
27
|
+
readonly 'account.reconcile.rule': AccountReconcileRule;
|
|
19
28
|
readonly 'account.tax': AccountTax;
|
|
20
29
|
readonly 'account.tax.component': AccountTaxComponent;
|
|
21
30
|
readonly 'account.withholding': AccountWithholding;
|
|
22
31
|
readonly 'approval.delegation': ApprovalDelegation;
|
|
32
|
+
readonly 'approval.event': ApprovalEvent;
|
|
23
33
|
readonly 'approval.level': ApprovalLevel;
|
|
24
34
|
readonly 'approval.link': ApprovalLink;
|
|
25
35
|
readonly 'approval.policy': ApprovalPolicy;
|
|
@@ -42,20 +52,25 @@ export interface SchemaView {
|
|
|
42
52
|
readonly 'mail.follower': MailFollower;
|
|
43
53
|
readonly 'mail.message': MailMessage;
|
|
44
54
|
readonly 'mail.message.reaction': MailMessageReaction;
|
|
45
|
-
readonly 'mrp.bom': MrpBom;
|
|
46
|
-
readonly 'mrp.bom.byproduct': MrpBomByproduct;
|
|
47
|
-
readonly 'mrp.bom.line': MrpBomLine;
|
|
48
|
-
readonly 'mrp.bom.operation': MrpBomOperation;
|
|
49
|
-
readonly 'mrp.production': MrpProduction;
|
|
50
|
-
readonly 'mrp.production.component': MrpProductionComponent;
|
|
51
|
-
readonly 'mrp.workcenter': MrpWorkcenter;
|
|
52
|
-
readonly 'mrp.workorder': MrpWorkorder;
|
|
53
55
|
readonly 'oauth.app': OauthApp;
|
|
54
56
|
readonly 'oauth.code': OauthCode;
|
|
55
57
|
readonly 'oauth.grant': OauthGrant;
|
|
56
58
|
readonly 'oauth.token': OauthToken;
|
|
59
|
+
readonly 'pos.order': PosOrder;
|
|
60
|
+
readonly 'pos.order.line': PosOrderLine;
|
|
61
|
+
readonly 'pos.order.payment': PosOrderPayment;
|
|
62
|
+
readonly 'pos.payment.method': PosPaymentMethod;
|
|
63
|
+
readonly 'pos.session': PosSession;
|
|
64
|
+
readonly 'pos.shop': PosShop;
|
|
65
|
+
readonly 'product.attribute': ProductAttribute;
|
|
66
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
57
67
|
readonly 'product.category': ProductCategory;
|
|
68
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
69
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
58
70
|
readonly 'product.product': ProductProduct;
|
|
71
|
+
readonly 'product.template': ProductTemplate;
|
|
72
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
73
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
59
74
|
readonly 'report.dashboard': ReportDashboard;
|
|
60
75
|
readonly 'report.output': ReportOutput;
|
|
61
76
|
readonly 'report.schedule': ReportSchedule;
|
|
@@ -67,21 +82,8 @@ export interface SchemaView {
|
|
|
67
82
|
readonly 'res.currency.rate': ResCurrencyRate;
|
|
68
83
|
readonly 'res.partner': ResPartner;
|
|
69
84
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
85
|
+
readonly 'res.segment': ResSegment;
|
|
70
86
|
readonly 'res.users': ResUsers;
|
|
71
|
-
readonly 'stock.count': StockCount;
|
|
72
|
-
readonly 'stock.count.line': StockCountLine;
|
|
73
|
-
readonly 'stock.location': StockLocation;
|
|
74
|
-
readonly 'stock.lot': StockLot;
|
|
75
|
-
readonly 'stock.lot.line': StockLotLine;
|
|
76
|
-
readonly 'stock.move': StockMove;
|
|
77
|
-
readonly 'stock.picking': StockPicking;
|
|
78
|
-
readonly 'stock.putaway': StockPutaway;
|
|
79
|
-
readonly 'stock.quant': StockQuant;
|
|
80
|
-
readonly 'stock.reorder': StockReorder;
|
|
81
|
-
readonly 'stock.reservation': StockReservation;
|
|
82
|
-
readonly 'stock.scrap': StockScrap;
|
|
83
|
-
readonly 'stock.valuation.layer': StockValuationLayer;
|
|
84
|
-
readonly 'stock.warehouse': StockWarehouse;
|
|
85
87
|
readonly 'storage.attachment': StorageAttachment;
|
|
86
88
|
readonly 'uom.uom': UomUom;
|
|
87
89
|
}
|
|
@@ -136,6 +138,134 @@ export interface AccountAnalytic {
|
|
|
136
138
|
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
137
139
|
}
|
|
138
140
|
|
|
141
|
+
/** `account.bank.statement` (owner: accounting). */
|
|
142
|
+
export interface AccountBankStatement {
|
|
143
|
+
readonly name: 'account.bank.statement';
|
|
144
|
+
readonly fields: {
|
|
145
|
+
readonly id: F.Id<'account.bank.statement'>;
|
|
146
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
147
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
148
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
149
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
150
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
151
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
152
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
153
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
154
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
155
|
+
readonly balanceStart: F.Decimal<{ readonly default: true }>;
|
|
156
|
+
readonly balanceEnd: F.Decimal<{ readonly default: true }>;
|
|
157
|
+
readonly lines: F.One2many<'account.bank.statement.line', { readonly required: true }>;
|
|
158
|
+
readonly state: F.State<'open' | 'done', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
159
|
+
};
|
|
160
|
+
readonly methods: AccountBankStatementMethods;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** Methods of `account.bank.statement`: declared ones and transitions. */
|
|
164
|
+
export interface AccountBankStatementMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement'> {
|
|
165
|
+
readonly 'close': () => Promise<void>;
|
|
166
|
+
readonly 'reopen': () => Promise<void>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** `account.bank.statement.line` (owner: accounting). */
|
|
170
|
+
export interface AccountBankStatementLine {
|
|
171
|
+
readonly name: 'account.bank.statement.line';
|
|
172
|
+
readonly fields: {
|
|
173
|
+
readonly id: F.Id<'account.bank.statement.line'>;
|
|
174
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
175
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
176
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
177
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
178
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
179
|
+
readonly statement: F.Many2one<'account.bank.statement', { readonly required: true }>;
|
|
180
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
181
|
+
readonly label: F.Char<{ readonly required: true }>;
|
|
182
|
+
readonly reference: F.Char;
|
|
183
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
184
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
185
|
+
readonly uniqueKey: F.Char;
|
|
186
|
+
readonly payment: F.Many2one<'account.payment'>;
|
|
187
|
+
readonly move: F.Many2one<'account.move'>;
|
|
188
|
+
readonly rule: F.Many2one<'account.reconcile.rule'>;
|
|
189
|
+
readonly state: F.Selection<'open' | 'matched', { readonly required: true; readonly default: true }>;
|
|
190
|
+
};
|
|
191
|
+
readonly methods: AccountBankStatementLineMethods;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/** Methods of `account.bank.statement.line`: declared ones and transitions. */
|
|
195
|
+
export interface AccountBankStatementLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement.line'> {
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** `account.fiscal.position` (owner: accounting). */
|
|
199
|
+
export interface AccountFiscalPosition {
|
|
200
|
+
readonly name: 'account.fiscal.position';
|
|
201
|
+
readonly fields: {
|
|
202
|
+
readonly id: F.Id<'account.fiscal.position'>;
|
|
203
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
204
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
205
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
206
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
207
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
208
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
209
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
210
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
211
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
212
|
+
readonly autoApply: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
213
|
+
readonly countries: F.Char;
|
|
214
|
+
readonly states: F.Char;
|
|
215
|
+
readonly vatRequired: F.Selection<'any' | 'with' | 'without', { readonly required: true; readonly default: true }>;
|
|
216
|
+
readonly note: F.Text<{ readonly translate: true }>;
|
|
217
|
+
readonly taxes: F.One2many<'account.fiscal.position.tax', { readonly required: true }>;
|
|
218
|
+
readonly accounts: F.One2many<'account.fiscal.position.account', { readonly required: true }>;
|
|
219
|
+
};
|
|
220
|
+
readonly methods: AccountFiscalPositionMethods;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/** Methods of `account.fiscal.position`: declared ones and transitions. */
|
|
224
|
+
export interface AccountFiscalPositionMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position'> {
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/** `account.fiscal.position.account` (owner: accounting). */
|
|
228
|
+
export interface AccountFiscalPositionAccount {
|
|
229
|
+
readonly name: 'account.fiscal.position.account';
|
|
230
|
+
readonly fields: {
|
|
231
|
+
readonly id: F.Id<'account.fiscal.position.account'>;
|
|
232
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
233
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
234
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
235
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
236
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
237
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
238
|
+
readonly accountSrc: F.Many2one<'account.account', { readonly required: true }>;
|
|
239
|
+
readonly accountDest: F.Many2one<'account.account', { readonly required: true }>;
|
|
240
|
+
};
|
|
241
|
+
readonly methods: AccountFiscalPositionAccountMethods;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** Methods of `account.fiscal.position.account`: declared ones and transitions. */
|
|
245
|
+
export interface AccountFiscalPositionAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.account'> {
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/** `account.fiscal.position.tax` (owner: accounting). */
|
|
249
|
+
export interface AccountFiscalPositionTax {
|
|
250
|
+
readonly name: 'account.fiscal.position.tax';
|
|
251
|
+
readonly fields: {
|
|
252
|
+
readonly id: F.Id<'account.fiscal.position.tax'>;
|
|
253
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
254
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
255
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
256
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
257
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
258
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
259
|
+
readonly taxSrc: F.Many2one<'account.tax', { readonly required: true }>;
|
|
260
|
+
readonly taxDest: F.Many2one<'account.tax'>;
|
|
261
|
+
};
|
|
262
|
+
readonly methods: AccountFiscalPositionTaxMethods;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/** Methods of `account.fiscal.position.tax`: declared ones and transitions. */
|
|
266
|
+
export interface AccountFiscalPositionTaxMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.tax'> {
|
|
267
|
+
}
|
|
268
|
+
|
|
139
269
|
/** `account.fiscal.year` (owner: accounting). */
|
|
140
270
|
export interface AccountFiscalYear {
|
|
141
271
|
readonly name: 'account.fiscal.year';
|
|
@@ -162,6 +292,84 @@ export interface AccountFiscalYear {
|
|
|
162
292
|
export interface AccountFiscalYearMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.year'> {
|
|
163
293
|
}
|
|
164
294
|
|
|
295
|
+
/** `account.followup` (owner: accounting). */
|
|
296
|
+
export interface AccountFollowup {
|
|
297
|
+
readonly name: 'account.followup';
|
|
298
|
+
readonly fields: {
|
|
299
|
+
readonly id: F.Id<'account.followup'>;
|
|
300
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
301
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
302
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
303
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
304
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
305
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
306
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
307
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
308
|
+
readonly sentAt: F.Datetime;
|
|
309
|
+
readonly pausedUntil: F.DateOnly;
|
|
310
|
+
readonly pauseNote: F.Char;
|
|
311
|
+
};
|
|
312
|
+
readonly methods: AccountFollowupMethods;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** Methods of `account.followup`: declared ones and transitions. */
|
|
316
|
+
export interface AccountFollowupMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup'> {
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/** `account.followup.level` (owner: accounting). */
|
|
320
|
+
export interface AccountFollowupLevel {
|
|
321
|
+
readonly name: 'account.followup.level';
|
|
322
|
+
readonly fields: {
|
|
323
|
+
readonly id: F.Id<'account.followup.level'>;
|
|
324
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
325
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
326
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
327
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
328
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
329
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
330
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
331
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
332
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
333
|
+
readonly sendEmail: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
334
|
+
readonly sendSms: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
335
|
+
readonly sendWhatsapp: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
336
|
+
readonly subject: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
337
|
+
readonly body: F.Text<{ readonly required: true; readonly translate: true }>;
|
|
338
|
+
readonly shortText: F.Char<{ readonly translate: true }>;
|
|
339
|
+
readonly blockSales: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
340
|
+
};
|
|
341
|
+
readonly methods: AccountFollowupLevelMethods;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/** Methods of `account.followup.level`: declared ones and transitions. */
|
|
345
|
+
export interface AccountFollowupLevelMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.level'> {
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** `account.followup.sent` (owner: accounting). */
|
|
349
|
+
export interface AccountFollowupSent {
|
|
350
|
+
readonly name: 'account.followup.sent';
|
|
351
|
+
readonly fields: {
|
|
352
|
+
readonly id: F.Id<'account.followup.sent'>;
|
|
353
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
354
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
355
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
356
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
357
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
358
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
359
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
360
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
361
|
+
readonly amount: F.Char;
|
|
362
|
+
readonly invoices: F.Many2many<'account.move', { readonly required: true }>;
|
|
363
|
+
readonly channels: F.Char;
|
|
364
|
+
readonly automatic: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
365
|
+
};
|
|
366
|
+
readonly methods: AccountFollowupSentMethods;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** Methods of `account.followup.sent`: declared ones and transitions. */
|
|
370
|
+
export interface AccountFollowupSentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.sent'> {
|
|
371
|
+
}
|
|
372
|
+
|
|
165
373
|
/** `account.full.reconcile` (owner: accounting). */
|
|
166
374
|
export interface AccountFullReconcile {
|
|
167
375
|
readonly name: 'account.full.reconcile';
|
|
@@ -199,6 +407,8 @@ export interface AccountJournal {
|
|
|
199
407
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
200
408
|
readonly type: F.Selection<'sale' | 'purchase' | 'cash' | 'bank' | 'general', { readonly required: true; readonly default: true }>;
|
|
201
409
|
readonly defaultAccount: F.Many2one<'account.account'>;
|
|
410
|
+
readonly bankFeed: F.Char;
|
|
411
|
+
readonly bankFeedCursor: F.Char;
|
|
202
412
|
};
|
|
203
413
|
readonly methods: AccountJournalMethods;
|
|
204
414
|
}
|
|
@@ -240,6 +450,7 @@ export interface AccountMove {
|
|
|
240
450
|
readonly dateDue: F.DateOnly;
|
|
241
451
|
readonly paymentDetails: F.Text<{ readonly readonly: true; readonly compute: true }>;
|
|
242
452
|
readonly paymentTerm: F.Many2one<'account.payment.term'>;
|
|
453
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>;
|
|
243
454
|
readonly invoiceOrigin: F.Char;
|
|
244
455
|
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
245
456
|
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
@@ -267,7 +478,7 @@ export interface AccountMoveMethods extends F.Methods<typeof import('../../accou
|
|
|
267
478
|
readonly 'submit': () => Promise<void>;
|
|
268
479
|
}
|
|
269
480
|
|
|
270
|
-
/** `account.move.line` (owner: accounting). */
|
|
481
|
+
/** `account.move.line` (owner: accounting; extended by: l10n_bd). */
|
|
271
482
|
export interface AccountMoveLine {
|
|
272
483
|
readonly name: 'account.move.line';
|
|
273
484
|
readonly fields: {
|
|
@@ -313,12 +524,15 @@ export interface AccountMoveLine {
|
|
|
313
524
|
readonly amountResidual: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
314
525
|
readonly amountResidualCurrency: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
315
526
|
readonly reconciled: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
527
|
+
readonly sdAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
528
|
+
readonly vatAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
529
|
+
readonly totalWithTaxes: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
316
530
|
};
|
|
317
531
|
readonly methods: AccountMoveLineMethods;
|
|
318
532
|
}
|
|
319
533
|
|
|
320
534
|
/** Methods of `account.move.line`: declared ones and transitions. */
|
|
321
|
-
export interface AccountMoveLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move.line'> {
|
|
535
|
+
export interface AccountMoveLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move.line'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'account.move.line'> {
|
|
322
536
|
}
|
|
323
537
|
|
|
324
538
|
/** `account.partial.reconcile` (owner: accounting). */
|
|
@@ -447,7 +661,39 @@ export interface AccountPaymentWithholding {
|
|
|
447
661
|
export interface AccountPaymentWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.withholding'> {
|
|
448
662
|
}
|
|
449
663
|
|
|
450
|
-
/** `account.
|
|
664
|
+
/** `account.reconcile.rule` (owner: accounting). */
|
|
665
|
+
export interface AccountReconcileRule {
|
|
666
|
+
readonly name: 'account.reconcile.rule';
|
|
667
|
+
readonly fields: {
|
|
668
|
+
readonly id: F.Id<'account.reconcile.rule'>;
|
|
669
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
670
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
671
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
672
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
673
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
674
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
675
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
676
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
677
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
678
|
+
readonly journals: F.Many2many<'account.journal', { readonly required: true }>;
|
|
679
|
+
readonly labelContains: F.Char;
|
|
680
|
+
readonly direction: F.Selection<'both' | 'in' | 'out', { readonly required: true; readonly default: true }>;
|
|
681
|
+
readonly amountMin: F.Decimal;
|
|
682
|
+
readonly amountMax: F.Decimal;
|
|
683
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
684
|
+
readonly outcome: F.Selection<'match' | 'write_off' | 'suggest', { readonly required: true; readonly default: true }>;
|
|
685
|
+
readonly writeOffAccount: F.Many2one<'account.account'>;
|
|
686
|
+
readonly writeOffLabel: F.Char;
|
|
687
|
+
readonly hits: F.Integer<{ readonly default: true }>;
|
|
688
|
+
};
|
|
689
|
+
readonly methods: AccountReconcileRuleMethods;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/** Methods of `account.reconcile.rule`: declared ones and transitions. */
|
|
693
|
+
export interface AccountReconcileRuleMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.reconcile.rule'> {
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/** `account.tax` (owner: product; extended by: accounting, l10n_bd). */
|
|
451
697
|
export interface AccountTax {
|
|
452
698
|
readonly name: 'account.tax';
|
|
453
699
|
readonly fields: {
|
|
@@ -471,12 +717,13 @@ export interface AccountTax {
|
|
|
471
717
|
readonly refundAccount: F.Many2one<'account.account'>; // accounting
|
|
472
718
|
readonly reverseChargeAccount: F.Many2one<'account.account'>; // accounting
|
|
473
719
|
readonly components: F.One2many<'account.tax.component', { readonly required: true }>; // accounting
|
|
720
|
+
readonly mushak: F.Selection<'standard' | 'reduced' | 'zero' | 'exempt' | 'sd' | 'at'>; // l10n_bd
|
|
474
721
|
};
|
|
475
722
|
readonly methods: AccountTaxMethods;
|
|
476
723
|
}
|
|
477
724
|
|
|
478
725
|
/** Methods of `account.tax`: declared ones and transitions. */
|
|
479
|
-
export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.tax'> {
|
|
726
|
+
export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.tax'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'account.tax'> {
|
|
480
727
|
}
|
|
481
728
|
|
|
482
729
|
/** `account.tax.component` (owner: accounting). */
|
|
@@ -556,6 +803,29 @@ export interface ApprovalDelegation {
|
|
|
556
803
|
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
557
804
|
}
|
|
558
805
|
|
|
806
|
+
/** `approval.event` (owner: permissions). */
|
|
807
|
+
export interface ApprovalEvent {
|
|
808
|
+
readonly name: 'approval.event';
|
|
809
|
+
readonly fields: {
|
|
810
|
+
readonly id: F.Id<'approval.event'>;
|
|
811
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
812
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
813
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
814
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
815
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
816
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
817
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
818
|
+
readonly user: F.Many2one<'res.users'>;
|
|
819
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
820
|
+
readonly note: F.Text;
|
|
821
|
+
};
|
|
822
|
+
readonly methods: ApprovalEventMethods;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
826
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
827
|
+
}
|
|
828
|
+
|
|
559
829
|
/** `approval.level` (owner: permissions). */
|
|
560
830
|
export interface ApprovalLevel {
|
|
561
831
|
readonly name: 'approval.level';
|
|
@@ -570,7 +840,9 @@ export interface ApprovalLevel {
|
|
|
570
840
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
571
841
|
readonly name: F.Char<{ readonly required: true }>;
|
|
572
842
|
readonly condition: F.Json;
|
|
573
|
-
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'field', { readonly required: true; readonly default: true }>;
|
|
843
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
844
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
845
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
574
846
|
readonly approverRole: F.Char;
|
|
575
847
|
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
576
848
|
readonly approverField: F.Char;
|
|
@@ -624,11 +896,18 @@ export interface ApprovalPolicy {
|
|
|
624
896
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
625
897
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
626
898
|
readonly company: F.Many2one<'res.company'>;
|
|
899
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
900
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
627
901
|
readonly onApproved: F.Char;
|
|
628
902
|
readonly onRejected: F.Char;
|
|
629
903
|
readonly onSentBack: F.Char;
|
|
630
904
|
readonly onWithdrawn: F.Char;
|
|
631
905
|
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
906
|
+
readonly condition: F.Json;
|
|
907
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
908
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
909
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
910
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
632
911
|
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
633
912
|
};
|
|
634
913
|
readonly methods: ApprovalPolicyMethods;
|
|
@@ -657,6 +936,7 @@ export interface ApprovalRequest {
|
|
|
657
936
|
readonly company: F.Many2one<'res.company'>;
|
|
658
937
|
readonly approverRole: F.Char;
|
|
659
938
|
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
939
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
660
940
|
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
661
941
|
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
662
942
|
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
@@ -664,6 +944,8 @@ export interface ApprovalRequest {
|
|
|
664
944
|
readonly remindedAt: F.Datetime;
|
|
665
945
|
readonly escalatedTo: F.Char;
|
|
666
946
|
readonly escalatedAt: F.Datetime;
|
|
947
|
+
readonly startedAt: F.Datetime;
|
|
948
|
+
readonly explanation: F.Text;
|
|
667
949
|
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
668
950
|
readonly requestedBy: F.Many2one<'res.users'>;
|
|
669
951
|
readonly decidedBy: F.Many2one<'res.users'>;
|
|
@@ -694,6 +976,8 @@ export interface ApprovalVote {
|
|
|
694
976
|
readonly at: F.Datetime<{ readonly required: true }>;
|
|
695
977
|
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
696
978
|
readonly ip: F.Char;
|
|
979
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
980
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
697
981
|
};
|
|
698
982
|
readonly methods: ApprovalVoteMethods;
|
|
699
983
|
}
|
|
@@ -1116,108 +1400,110 @@ export interface MailMessageReaction {
|
|
|
1116
1400
|
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
1117
1401
|
}
|
|
1118
1402
|
|
|
1119
|
-
/** `
|
|
1120
|
-
export interface
|
|
1121
|
-
readonly name: '
|
|
1403
|
+
/** `oauth.app` (owner: base). */
|
|
1404
|
+
export interface OauthApp {
|
|
1405
|
+
readonly name: 'oauth.app';
|
|
1122
1406
|
readonly fields: {
|
|
1123
|
-
readonly id: F.Id<'
|
|
1407
|
+
readonly id: F.Id<'oauth.app'>;
|
|
1124
1408
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1125
1409
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1126
1410
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1127
1411
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1128
1412
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1413
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1414
|
+
readonly clientId: F.Char<{ readonly required: true }>;
|
|
1415
|
+
readonly secretHash: F.Char;
|
|
1416
|
+
readonly confidential: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1417
|
+
readonly redirectUris: F.Text<{ readonly required: true }>;
|
|
1418
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1419
|
+
readonly homepage: F.Char;
|
|
1129
1420
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1130
|
-
readonly
|
|
1131
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1132
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1133
|
-
readonly version: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1134
|
-
readonly validFrom: F.DateOnly;
|
|
1135
|
-
readonly validTo: F.DateOnly;
|
|
1136
|
-
readonly lines: F.One2many<'mrp.bom.line', { readonly required: true }>;
|
|
1137
|
-
readonly operations: F.One2many<'mrp.bom.operation', { readonly required: true }>;
|
|
1138
|
-
readonly byproducts: F.One2many<'mrp.bom.byproduct', { readonly required: true }>;
|
|
1139
|
-
readonly note: F.Text;
|
|
1140
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1421
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
1141
1422
|
};
|
|
1142
|
-
readonly methods:
|
|
1423
|
+
readonly methods: OauthAppMethods;
|
|
1143
1424
|
}
|
|
1144
1425
|
|
|
1145
|
-
/** Methods of `
|
|
1146
|
-
export interface
|
|
1426
|
+
/** Methods of `oauth.app`: declared ones and transitions. */
|
|
1427
|
+
export interface OauthAppMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.app'> {
|
|
1147
1428
|
}
|
|
1148
1429
|
|
|
1149
|
-
/** `
|
|
1150
|
-
export interface
|
|
1151
|
-
readonly name: '
|
|
1430
|
+
/** `oauth.code` (owner: base). */
|
|
1431
|
+
export interface OauthCode {
|
|
1432
|
+
readonly name: 'oauth.code';
|
|
1152
1433
|
readonly fields: {
|
|
1153
|
-
readonly id: F.Id<'
|
|
1434
|
+
readonly id: F.Id<'oauth.code'>;
|
|
1154
1435
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1155
1436
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1156
1437
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1157
1438
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1158
1439
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1159
|
-
readonly
|
|
1160
|
-
readonly
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly
|
|
1163
|
-
readonly
|
|
1440
|
+
readonly codeHash: F.Char<{ readonly required: true }>;
|
|
1441
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1442
|
+
readonly redirectUri: F.Char<{ readonly required: true }>;
|
|
1443
|
+
readonly challenge: F.Char;
|
|
1444
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
1445
|
+
readonly used: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1164
1446
|
};
|
|
1165
|
-
readonly methods:
|
|
1447
|
+
readonly methods: OauthCodeMethods;
|
|
1166
1448
|
}
|
|
1167
1449
|
|
|
1168
|
-
/** Methods of `
|
|
1169
|
-
export interface
|
|
1450
|
+
/** Methods of `oauth.code`: declared ones and transitions. */
|
|
1451
|
+
export interface OauthCodeMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.code'> {
|
|
1170
1452
|
}
|
|
1171
1453
|
|
|
1172
|
-
/** `
|
|
1173
|
-
export interface
|
|
1174
|
-
readonly name: '
|
|
1454
|
+
/** `oauth.grant` (owner: base). */
|
|
1455
|
+
export interface OauthGrant {
|
|
1456
|
+
readonly name: 'oauth.grant';
|
|
1175
1457
|
readonly fields: {
|
|
1176
|
-
readonly id: F.Id<'
|
|
1458
|
+
readonly id: F.Id<'oauth.grant'>;
|
|
1177
1459
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1178
1460
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1179
1461
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1180
1462
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1181
1463
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1182
|
-
readonly
|
|
1183
|
-
readonly
|
|
1184
|
-
readonly
|
|
1185
|
-
readonly
|
|
1464
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1465
|
+
readonly app: F.Many2one<'oauth.app', { readonly required: true }>;
|
|
1466
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1467
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1468
|
+
readonly lastUsedAt: F.Datetime;
|
|
1186
1469
|
};
|
|
1187
|
-
readonly methods:
|
|
1470
|
+
readonly methods: OauthGrantMethods;
|
|
1188
1471
|
}
|
|
1189
1472
|
|
|
1190
|
-
/** Methods of `
|
|
1191
|
-
export interface
|
|
1473
|
+
/** Methods of `oauth.grant`: declared ones and transitions. */
|
|
1474
|
+
export interface OauthGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.grant'> {
|
|
1192
1475
|
}
|
|
1193
1476
|
|
|
1194
|
-
/** `
|
|
1195
|
-
export interface
|
|
1196
|
-
readonly name: '
|
|
1477
|
+
/** `oauth.token` (owner: base). */
|
|
1478
|
+
export interface OauthToken {
|
|
1479
|
+
readonly name: 'oauth.token';
|
|
1197
1480
|
readonly fields: {
|
|
1198
|
-
readonly id: F.Id<'
|
|
1481
|
+
readonly id: F.Id<'oauth.token'>;
|
|
1199
1482
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1200
1483
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1201
1484
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1202
1485
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1203
1486
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1204
|
-
readonly
|
|
1205
|
-
readonly
|
|
1206
|
-
readonly
|
|
1207
|
-
readonly
|
|
1487
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1488
|
+
readonly accessHash: F.Char<{ readonly required: true }>;
|
|
1489
|
+
readonly refreshHash: F.Char<{ readonly required: true }>;
|
|
1490
|
+
readonly accessExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1491
|
+
readonly refreshExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1492
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1493
|
+
readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1208
1494
|
};
|
|
1209
|
-
readonly methods:
|
|
1495
|
+
readonly methods: OauthTokenMethods;
|
|
1210
1496
|
}
|
|
1211
1497
|
|
|
1212
|
-
/** Methods of `
|
|
1213
|
-
export interface
|
|
1498
|
+
/** Methods of `oauth.token`: declared ones and transitions. */
|
|
1499
|
+
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
1214
1500
|
}
|
|
1215
1501
|
|
|
1216
|
-
/** `
|
|
1217
|
-
export interface
|
|
1218
|
-
readonly name: '
|
|
1502
|
+
/** `pos.order` (owner: pos). */
|
|
1503
|
+
export interface PosOrder {
|
|
1504
|
+
readonly name: 'pos.order';
|
|
1219
1505
|
readonly fields: {
|
|
1220
|
-
readonly id: F.Id<'
|
|
1506
|
+
readonly id: F.Id<'pos.order'>;
|
|
1221
1507
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1222
1508
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1223
1509
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
@@ -1225,219 +1511,219 @@ export interface MrpProduction {
|
|
|
1225
1511
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1226
1512
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1227
1513
|
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1228
|
-
readonly
|
|
1229
|
-
readonly
|
|
1230
|
-
readonly
|
|
1231
|
-
readonly date: F.
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1234
|
-
readonly
|
|
1235
|
-
readonly
|
|
1236
|
-
readonly
|
|
1237
|
-
readonly
|
|
1238
|
-
readonly
|
|
1239
|
-
readonly
|
|
1240
|
-
readonly
|
|
1241
|
-
readonly
|
|
1242
|
-
readonly
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly state: F.State<'draft' | '
|
|
1514
|
+
readonly session: F.Many2one<'pos.session', { readonly required: true }>;
|
|
1515
|
+
readonly clientId: F.Char;
|
|
1516
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
1517
|
+
readonly date: F.Datetime<{ readonly required: true; readonly default: true }>;
|
|
1518
|
+
readonly lines: F.One2many<'pos.order.line', { readonly required: true }>;
|
|
1519
|
+
readonly payments: F.One2many<'pos.order.payment', { readonly required: true }>;
|
|
1520
|
+
readonly pricesIncludeTax: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1521
|
+
readonly refundOf: F.Many2one<'pos.order'>;
|
|
1522
|
+
readonly refunds: F.One2many<'pos.order', { readonly required: true }>;
|
|
1523
|
+
readonly refundReason: F.Char;
|
|
1524
|
+
readonly note: F.Char;
|
|
1525
|
+
readonly amountUntaxed: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1526
|
+
readonly amountTax: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1527
|
+
readonly total: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1528
|
+
readonly amountPaid: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1529
|
+
readonly change: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1530
|
+
readonly state: F.State<'draft' | 'paid' | 'void', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1245
1531
|
};
|
|
1246
|
-
readonly methods:
|
|
1532
|
+
readonly methods: PosOrderMethods;
|
|
1247
1533
|
}
|
|
1248
1534
|
|
|
1249
|
-
/** Methods of `
|
|
1250
|
-
export interface
|
|
1251
|
-
readonly '
|
|
1252
|
-
readonly '
|
|
1253
|
-
readonly 'confirm': () => Promise<void>;
|
|
1254
|
-
readonly 'produce': () => Promise<void>;
|
|
1255
|
-
readonly 'redraft': () => Promise<void>;
|
|
1256
|
-
readonly 'reserve': () => Promise<void>;
|
|
1535
|
+
/** Methods of `pos.order`: declared ones and transitions. */
|
|
1536
|
+
export interface PosOrderMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.order'> {
|
|
1537
|
+
readonly 'pay': () => Promise<void>;
|
|
1538
|
+
readonly 'void': () => Promise<void>;
|
|
1257
1539
|
}
|
|
1258
1540
|
|
|
1259
|
-
/** `
|
|
1260
|
-
export interface
|
|
1261
|
-
readonly name: '
|
|
1541
|
+
/** `pos.order.line` (owner: pos). */
|
|
1542
|
+
export interface PosOrderLine {
|
|
1543
|
+
readonly name: 'pos.order.line';
|
|
1262
1544
|
readonly fields: {
|
|
1263
|
-
readonly id: F.Id<'
|
|
1545
|
+
readonly id: F.Id<'pos.order.line'>;
|
|
1264
1546
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1265
1547
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1266
1548
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1267
1549
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1268
1550
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1269
|
-
readonly
|
|
1551
|
+
readonly order: F.Many2one<'pos.order', { readonly required: true }>;
|
|
1270
1552
|
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1271
|
-
readonly
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly
|
|
1274
|
-
readonly
|
|
1553
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1554
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1555
|
+
readonly priceUnit: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1556
|
+
readonly discount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1557
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1558
|
+
readonly subtotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1559
|
+
readonly taxAmount: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1275
1560
|
};
|
|
1276
|
-
readonly methods:
|
|
1561
|
+
readonly methods: PosOrderLineMethods;
|
|
1277
1562
|
}
|
|
1278
1563
|
|
|
1279
|
-
/** Methods of `
|
|
1280
|
-
export interface
|
|
1564
|
+
/** Methods of `pos.order.line`: declared ones and transitions. */
|
|
1565
|
+
export interface PosOrderLineMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.order.line'> {
|
|
1281
1566
|
}
|
|
1282
1567
|
|
|
1283
|
-
/** `
|
|
1284
|
-
export interface
|
|
1285
|
-
readonly name: '
|
|
1568
|
+
/** `pos.order.payment` (owner: pos). */
|
|
1569
|
+
export interface PosOrderPayment {
|
|
1570
|
+
readonly name: 'pos.order.payment';
|
|
1286
1571
|
readonly fields: {
|
|
1287
|
-
readonly id: F.Id<'
|
|
1572
|
+
readonly id: F.Id<'pos.order.payment'>;
|
|
1288
1573
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1289
1574
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1290
1575
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1291
1576
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1292
1577
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1293
|
-
readonly
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly
|
|
1296
|
-
readonly
|
|
1297
|
-
readonly
|
|
1298
|
-
readonly costPerHour: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1299
|
-
readonly note: F.Text;
|
|
1578
|
+
readonly order: F.Many2one<'pos.order', { readonly required: true }>;
|
|
1579
|
+
readonly method: F.Many2one<'pos.payment.method', { readonly required: true }>;
|
|
1580
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
1581
|
+
readonly reference: F.Char;
|
|
1582
|
+
readonly kind: F.Selection<'cash' | 'card' | 'mobile' | 'transfer', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1300
1583
|
};
|
|
1301
|
-
readonly methods:
|
|
1584
|
+
readonly methods: PosOrderPaymentMethods;
|
|
1302
1585
|
}
|
|
1303
1586
|
|
|
1304
|
-
/** Methods of `
|
|
1305
|
-
export interface
|
|
1587
|
+
/** Methods of `pos.order.payment`: declared ones and transitions. */
|
|
1588
|
+
export interface PosOrderPaymentMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.order.payment'> {
|
|
1306
1589
|
}
|
|
1307
1590
|
|
|
1308
|
-
/** `
|
|
1309
|
-
export interface
|
|
1310
|
-
readonly name: '
|
|
1591
|
+
/** `pos.payment.method` (owner: pos). */
|
|
1592
|
+
export interface PosPaymentMethod {
|
|
1593
|
+
readonly name: 'pos.payment.method';
|
|
1311
1594
|
readonly fields: {
|
|
1312
|
-
readonly id: F.Id<'
|
|
1595
|
+
readonly id: F.Id<'pos.payment.method'>;
|
|
1313
1596
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1314
1597
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1315
1598
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1316
1599
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1317
1600
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1318
|
-
readonly
|
|
1319
|
-
readonly
|
|
1601
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1602
|
+
readonly shop: F.Many2one<'pos.shop', { readonly required: true }>;
|
|
1320
1603
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1321
|
-
readonly
|
|
1322
|
-
readonly
|
|
1323
|
-
readonly
|
|
1324
|
-
readonly plannedStop: F.Datetime;
|
|
1325
|
-
readonly startedAt: F.Datetime;
|
|
1326
|
-
readonly finishedAt: F.Datetime;
|
|
1327
|
-
readonly actualMinutes: F.Decimal;
|
|
1328
|
-
readonly state: F.State<'ready' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1604
|
+
readonly kind: F.Selection<'cash' | 'card' | 'mobile' | 'transfer', { readonly required: true; readonly default: true }>;
|
|
1605
|
+
readonly journal: F.Many2one<'account.journal'>;
|
|
1606
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1329
1607
|
};
|
|
1330
|
-
readonly methods:
|
|
1608
|
+
readonly methods: PosPaymentMethodMethods;
|
|
1331
1609
|
}
|
|
1332
1610
|
|
|
1333
|
-
/** Methods of `
|
|
1334
|
-
export interface
|
|
1335
|
-
readonly 'cancel': () => Promise<void>;
|
|
1336
|
-
readonly 'close': () => Promise<void>;
|
|
1337
|
-
readonly 'finish': () => Promise<void>;
|
|
1338
|
-
readonly 'start': () => Promise<void>;
|
|
1611
|
+
/** Methods of `pos.payment.method`: declared ones and transitions. */
|
|
1612
|
+
export interface PosPaymentMethodMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.payment.method'> {
|
|
1339
1613
|
}
|
|
1340
1614
|
|
|
1341
|
-
/** `
|
|
1342
|
-
export interface
|
|
1343
|
-
readonly name: '
|
|
1615
|
+
/** `pos.session` (owner: pos). */
|
|
1616
|
+
export interface PosSession {
|
|
1617
|
+
readonly name: 'pos.session';
|
|
1344
1618
|
readonly fields: {
|
|
1345
|
-
readonly id: F.Id<'
|
|
1619
|
+
readonly id: F.Id<'pos.session'>;
|
|
1346
1620
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1347
1621
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1348
1622
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1349
1623
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1350
1624
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1351
|
-
readonly
|
|
1352
|
-
readonly
|
|
1353
|
-
readonly
|
|
1354
|
-
readonly
|
|
1355
|
-
readonly
|
|
1356
|
-
readonly
|
|
1357
|
-
readonly
|
|
1358
|
-
readonly
|
|
1359
|
-
readonly
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1625
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1626
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1627
|
+
readonly shop: F.Many2one<'pos.shop', { readonly required: true }>;
|
|
1628
|
+
readonly cashier: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
1629
|
+
readonly openedAt: F.Datetime<{ readonly required: true; readonly default: true }>;
|
|
1630
|
+
readonly closedAt: F.Datetime;
|
|
1631
|
+
readonly openingCash: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1632
|
+
readonly closingCash: F.Decimal;
|
|
1633
|
+
readonly expectedCash: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1634
|
+
readonly closingDifference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1635
|
+
readonly differenceReason: F.Char;
|
|
1636
|
+
readonly entry: F.Many2one<'account.move'>;
|
|
1637
|
+
readonly orders: F.One2many<'pos.order', { readonly required: true }>;
|
|
1638
|
+
readonly orderCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1639
|
+
readonly total: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1640
|
+
readonly state: F.State<'open' | 'closed', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1641
|
+
};
|
|
1642
|
+
readonly methods: PosSessionMethods;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/** Methods of `pos.session`: declared ones and transitions. */
|
|
1646
|
+
export interface PosSessionMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.session'> {
|
|
1647
|
+
readonly 'close': () => Promise<void>;
|
|
1366
1648
|
}
|
|
1367
1649
|
|
|
1368
|
-
/** `
|
|
1369
|
-
export interface
|
|
1370
|
-
readonly name: '
|
|
1650
|
+
/** `pos.shop` (owner: pos; extended by: l10n_bd_pos). */
|
|
1651
|
+
export interface PosShop {
|
|
1652
|
+
readonly name: 'pos.shop';
|
|
1371
1653
|
readonly fields: {
|
|
1372
|
-
readonly id: F.Id<'
|
|
1654
|
+
readonly id: F.Id<'pos.shop'>;
|
|
1373
1655
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1374
1656
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1375
1657
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1376
1658
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1377
1659
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1378
|
-
readonly
|
|
1379
|
-
readonly
|
|
1380
|
-
readonly
|
|
1381
|
-
readonly
|
|
1382
|
-
readonly
|
|
1383
|
-
readonly
|
|
1660
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1661
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1662
|
+
readonly pricelist: F.Many2one<'product.pricelist'>;
|
|
1663
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1664
|
+
readonly pricesIncludeTax: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1665
|
+
readonly salesJournal: F.Many2one<'account.journal'>;
|
|
1666
|
+
readonly methods: F.One2many<'pos.payment.method', { readonly required: true }>;
|
|
1667
|
+
readonly sessions: F.One2many<'pos.session', { readonly required: true }>;
|
|
1668
|
+
readonly receiptFooter: F.Char;
|
|
1669
|
+
readonly differenceAccount: F.Many2one<'account.account'>;
|
|
1670
|
+
readonly mushakReceipt: F.Bool<{ readonly required: true; readonly default: true }>; // l10n_bd_pos
|
|
1384
1671
|
};
|
|
1385
|
-
readonly methods:
|
|
1672
|
+
readonly methods: PosShopMethods;
|
|
1386
1673
|
}
|
|
1387
1674
|
|
|
1388
|
-
/** Methods of `
|
|
1389
|
-
export interface
|
|
1675
|
+
/** Methods of `pos.shop`: declared ones and transitions. */
|
|
1676
|
+
export interface PosShopMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.shop'>, F.Methods<typeof import('../module.js').l10nBdPosShutro, 'pos.shop'> {
|
|
1390
1677
|
}
|
|
1391
1678
|
|
|
1392
|
-
/** `
|
|
1393
|
-
export interface
|
|
1394
|
-
readonly name: '
|
|
1679
|
+
/** `product.attribute` (owner: product). */
|
|
1680
|
+
export interface ProductAttribute {
|
|
1681
|
+
readonly name: 'product.attribute';
|
|
1395
1682
|
readonly fields: {
|
|
1396
|
-
readonly id: F.Id<'
|
|
1683
|
+
readonly id: F.Id<'product.attribute'>;
|
|
1397
1684
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1398
1685
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1399
1686
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1400
1687
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1401
1688
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1402
|
-
readonly
|
|
1403
|
-
readonly
|
|
1404
|
-
readonly
|
|
1405
|
-
readonly
|
|
1406
|
-
readonly
|
|
1689
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1690
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1691
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
1692
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1693
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
1407
1694
|
};
|
|
1408
|
-
readonly methods:
|
|
1695
|
+
readonly methods: ProductAttributeMethods;
|
|
1409
1696
|
}
|
|
1410
1697
|
|
|
1411
|
-
/** Methods of `
|
|
1412
|
-
export interface
|
|
1698
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
1699
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
1413
1700
|
}
|
|
1414
1701
|
|
|
1415
|
-
/** `
|
|
1416
|
-
export interface
|
|
1417
|
-
readonly name: '
|
|
1702
|
+
/** `product.attribute.value` (owner: product). */
|
|
1703
|
+
export interface ProductAttributeValue {
|
|
1704
|
+
readonly name: 'product.attribute.value';
|
|
1418
1705
|
readonly fields: {
|
|
1419
|
-
readonly id: F.Id<'
|
|
1706
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
1420
1707
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1421
1708
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1422
1709
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1423
1710
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1424
1711
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1425
|
-
readonly
|
|
1426
|
-
readonly
|
|
1427
|
-
readonly
|
|
1428
|
-
readonly
|
|
1429
|
-
readonly
|
|
1430
|
-
readonly
|
|
1431
|
-
readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1712
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1713
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1714
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1715
|
+
readonly color: F.Char;
|
|
1716
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1717
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1432
1718
|
};
|
|
1433
|
-
readonly methods:
|
|
1719
|
+
readonly methods: ProductAttributeValueMethods;
|
|
1434
1720
|
}
|
|
1435
1721
|
|
|
1436
|
-
/** Methods of `
|
|
1437
|
-
export interface
|
|
1722
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
1723
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
1438
1724
|
}
|
|
1439
1725
|
|
|
1440
|
-
/** `product.category` (owner: product; extended by:
|
|
1726
|
+
/** `product.category` (owner: product; extended by: accounting). */
|
|
1441
1727
|
export interface ProductCategory {
|
|
1442
1728
|
readonly name: 'product.category';
|
|
1443
1729
|
readonly fields: {
|
|
@@ -1450,18 +1736,78 @@ export interface ProductCategory {
|
|
|
1450
1736
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1451
1737
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1452
1738
|
readonly parent: F.Many2one<'product.category'>;
|
|
1453
|
-
readonly
|
|
1454
|
-
readonly
|
|
1455
|
-
readonly
|
|
1739
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1740
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1741
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1456
1742
|
};
|
|
1457
1743
|
readonly methods: ProductCategoryMethods;
|
|
1458
1744
|
}
|
|
1459
1745
|
|
|
1460
1746
|
/** Methods of `product.category`: declared ones and transitions. */
|
|
1461
|
-
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../
|
|
1747
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.category'> {
|
|
1462
1748
|
}
|
|
1463
1749
|
|
|
1464
|
-
/** `product.
|
|
1750
|
+
/** `product.pricelist` (owner: product). */
|
|
1751
|
+
export interface ProductPricelist {
|
|
1752
|
+
readonly name: 'product.pricelist';
|
|
1753
|
+
readonly fields: {
|
|
1754
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
1755
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1756
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1757
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1758
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1759
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1760
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1761
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1762
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1763
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1764
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1765
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
1766
|
+
readonly note: F.Text;
|
|
1767
|
+
};
|
|
1768
|
+
readonly methods: ProductPricelistMethods;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
1772
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
1776
|
+
export interface ProductPricelistRule {
|
|
1777
|
+
readonly name: 'product.pricelist.rule';
|
|
1778
|
+
readonly fields: {
|
|
1779
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
1780
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1781
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1782
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1783
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1784
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1785
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
1786
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1787
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
1788
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1789
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1790
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
1791
|
+
readonly dateFrom: F.DateOnly;
|
|
1792
|
+
readonly dateTo: F.DateOnly;
|
|
1793
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
1794
|
+
readonly fixedPrice: F.Decimal;
|
|
1795
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
1796
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
1797
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
1798
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
1799
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
1800
|
+
readonly minMargin: F.Decimal;
|
|
1801
|
+
readonly maxMargin: F.Decimal;
|
|
1802
|
+
};
|
|
1803
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
1807
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
/** `product.product` (owner: product; extended by: accounting). */
|
|
1465
1811
|
export interface ProductProduct {
|
|
1466
1812
|
readonly name: 'product.product';
|
|
1467
1813
|
readonly fields: {
|
|
@@ -1476,8 +1822,11 @@ export interface ProductProduct {
|
|
|
1476
1822
|
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1477
1823
|
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1478
1824
|
readonly category: F.Many2one<'product.category'>;
|
|
1825
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
1479
1826
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1480
1827
|
readonly barcode: F.Char;
|
|
1828
|
+
readonly weight: F.Decimal;
|
|
1829
|
+
readonly volume: F.Decimal;
|
|
1481
1830
|
readonly image: F.Many2one<'storage.attachment'>;
|
|
1482
1831
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1483
1832
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
@@ -1488,20 +1837,97 @@ export interface ProductProduct {
|
|
|
1488
1837
|
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1489
1838
|
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1490
1839
|
readonly description: F.Text<{ readonly translate: true }>;
|
|
1491
|
-
readonly
|
|
1492
|
-
readonly
|
|
1493
|
-
readonly
|
|
1494
|
-
readonly
|
|
1495
|
-
readonly
|
|
1496
|
-
readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1497
|
-
readonly costMethod: F.Selection<'average' | 'fifo'>; // stock_account
|
|
1498
|
-
readonly valuationLayers: F.One2many<'stock.valuation.layer', { readonly required: true }>; // stock_account
|
|
1840
|
+
readonly template: F.Many2one<'product.template'>;
|
|
1841
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1842
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1843
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1844
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1499
1845
|
};
|
|
1500
1846
|
readonly methods: ProductProductMethods;
|
|
1501
1847
|
}
|
|
1502
1848
|
|
|
1503
1849
|
/** Methods of `product.product`: declared ones and transitions. */
|
|
1504
|
-
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../
|
|
1850
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.product'> {
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
/** `product.template` (owner: product). */
|
|
1854
|
+
export interface ProductTemplate {
|
|
1855
|
+
readonly name: 'product.template';
|
|
1856
|
+
readonly fields: {
|
|
1857
|
+
readonly id: F.Id<'product.template'>;
|
|
1858
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1859
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1860
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1861
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1862
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1863
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1864
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1865
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1866
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1867
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1868
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1869
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1870
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1871
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1872
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1873
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1874
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1875
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1876
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1877
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1878
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1879
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1880
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1881
|
+
};
|
|
1882
|
+
readonly methods: ProductTemplateMethods;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1886
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1887
|
+
readonly 'generate': () => Promise<void>;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1891
|
+
export interface ProductTemplateExclusion {
|
|
1892
|
+
readonly name: 'product.template.exclusion';
|
|
1893
|
+
readonly fields: {
|
|
1894
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1895
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1896
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1897
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1898
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1899
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1900
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1901
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1902
|
+
readonly note: F.Char;
|
|
1903
|
+
};
|
|
1904
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1908
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/** `product.template.line` (owner: product). */
|
|
1912
|
+
export interface ProductTemplateLine {
|
|
1913
|
+
readonly name: 'product.template.line';
|
|
1914
|
+
readonly fields: {
|
|
1915
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1916
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1917
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1918
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1919
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1920
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1921
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1922
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1923
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1924
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1925
|
+
};
|
|
1926
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1930
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1505
1931
|
}
|
|
1506
1932
|
|
|
1507
1933
|
/** `report.dashboard` (owner: reporting). */
|
|
@@ -1658,7 +2084,7 @@ export interface ResBankAccount {
|
|
|
1658
2084
|
export interface ResBankAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.bank.account'> {
|
|
1659
2085
|
}
|
|
1660
2086
|
|
|
1661
|
-
/** `res.company` (owner: base; extended by: contacts, accounting,
|
|
2087
|
+
/** `res.company` (owner: base; extended by: contacts, accounting, l10n_bd). */
|
|
1662
2088
|
export interface ResCompany {
|
|
1663
2089
|
readonly name: 'res.company';
|
|
1664
2090
|
readonly fields: {
|
|
@@ -1691,19 +2117,14 @@ export interface ResCompany {
|
|
|
1691
2117
|
readonly accountExchangeGain: F.Many2one<'account.account'>; // accounting
|
|
1692
2118
|
readonly accountExchangeLoss: F.Many2one<'account.account'>; // accounting
|
|
1693
2119
|
readonly accountRetainedEarnings: F.Many2one<'account.account'>; // accounting
|
|
1694
|
-
readonly
|
|
1695
|
-
readonly
|
|
1696
|
-
readonly stockInterimAccount: F.Many2one<'account.account'>; // stock_account
|
|
1697
|
-
readonly stockCogsAccount: F.Many2one<'account.account'>; // stock_account
|
|
1698
|
-
readonly stockAdjustmentAccount: F.Many2one<'account.account'>; // stock_account
|
|
1699
|
-
readonly stockPriceDiffAccount: F.Many2one<'account.account'>; // stock_account
|
|
1700
|
-
readonly stockProductionAccount: F.Many2one<'account.account'>; // stock_account
|
|
2120
|
+
readonly bin: F.Char; // l10n_bd
|
|
2121
|
+
readonly tin: F.Char; // l10n_bd
|
|
1701
2122
|
};
|
|
1702
2123
|
readonly methods: ResCompanyMethods;
|
|
1703
2124
|
}
|
|
1704
2125
|
|
|
1705
2126
|
/** Methods of `res.company`: declared ones and transitions. */
|
|
1706
|
-
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.company'>, F.Methods<typeof import('../../
|
|
2127
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.company'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'res.company'> {
|
|
1707
2128
|
}
|
|
1708
2129
|
|
|
1709
2130
|
/** `res.currency` (owner: base). */
|
|
@@ -1749,7 +2170,7 @@ export interface ResCurrencyRate {
|
|
|
1749
2170
|
export interface ResCurrencyRateMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.currency.rate'> {
|
|
1750
2171
|
}
|
|
1751
2172
|
|
|
1752
|
-
/** `res.partner` (owner: contacts; extended by: accounting). */
|
|
2173
|
+
/** `res.partner` (owner: contacts; extended by: accounting, accounting, l10n_bd). */
|
|
1753
2174
|
export interface ResPartner {
|
|
1754
2175
|
readonly name: 'res.partner';
|
|
1755
2176
|
readonly fields: {
|
|
@@ -1770,6 +2191,7 @@ export interface ResPartner {
|
|
|
1770
2191
|
readonly parent: F.Many2one<'res.partner'>;
|
|
1771
2192
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1772
2193
|
readonly email: F.Char;
|
|
2194
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1773
2195
|
readonly phone: F.Char;
|
|
1774
2196
|
readonly mobile: F.Char;
|
|
1775
2197
|
readonly website: F.Char;
|
|
@@ -1783,13 +2205,19 @@ export interface ResPartner {
|
|
|
1783
2205
|
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1784
2206
|
readonly currency: F.Many2one<'res.currency'>;
|
|
1785
2207
|
readonly notes: F.Text;
|
|
2208
|
+
readonly sendInvoicesByEmail: F.Bool<{ readonly required: true; readonly default: true }>; // accounting
|
|
1786
2209
|
readonly withholdings: F.Many2many<'account.withholding', { readonly required: true }>; // accounting
|
|
2210
|
+
readonly receivableAccount: F.Many2one<'account.account'>; // accounting
|
|
2211
|
+
readonly payableAccount: F.Many2one<'account.account'>; // accounting
|
|
2212
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>; // accounting
|
|
2213
|
+
readonly bin: F.Char; // l10n_bd
|
|
2214
|
+
readonly tin: F.Char; // l10n_bd
|
|
1787
2215
|
};
|
|
1788
2216
|
readonly methods: ResPartnerMethods;
|
|
1789
2217
|
}
|
|
1790
2218
|
|
|
1791
2219
|
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1792
|
-
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'> {
|
|
2220
|
+
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'res.partner'> {
|
|
1793
2221
|
}
|
|
1794
2222
|
|
|
1795
2223
|
/** `res.partner.tag` (owner: contacts). */
|
|
@@ -1811,441 +2239,55 @@ export interface ResPartnerTag {
|
|
|
1811
2239
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1812
2240
|
}
|
|
1813
2241
|
|
|
1814
|
-
/** `res.
|
|
1815
|
-
export interface
|
|
1816
|
-
readonly name: 'res.
|
|
2242
|
+
/** `res.segment` (owner: permissions). */
|
|
2243
|
+
export interface ResSegment {
|
|
2244
|
+
readonly name: 'res.segment';
|
|
1817
2245
|
readonly fields: {
|
|
1818
|
-
readonly id: F.Id<'res.
|
|
2246
|
+
readonly id: F.Id<'res.segment'>;
|
|
1819
2247
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1820
2248
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1821
2249
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1822
2250
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1823
2251
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1824
2252
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1825
|
-
readonly login: F.Char<{ readonly required: true }>;
|
|
1826
2253
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1827
|
-
readonly
|
|
1828
|
-
readonly phone: F.Char;
|
|
1829
|
-
readonly company: F.Many2one<'res.company'>;
|
|
2254
|
+
readonly code: F.Char;
|
|
1830
2255
|
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1831
|
-
readonly lang: F.Char<{ readonly default: true }>;
|
|
1832
|
-
readonly tz: F.Char<{ readonly default: true }>;
|
|
1833
|
-
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1834
|
-
};
|
|
1835
|
-
readonly methods: ResUsersMethods;
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
/** Methods of `res.users`: declared ones and transitions. */
|
|
1839
|
-
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
/** `stock.count` (owner: stock). */
|
|
1843
|
-
export interface StockCount {
|
|
1844
|
-
readonly name: 'stock.count';
|
|
1845
|
-
readonly fields: {
|
|
1846
|
-
readonly id: F.Id<'stock.count'>;
|
|
1847
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1848
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1849
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1850
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1851
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1852
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1853
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1854
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1855
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1856
|
-
readonly user: F.Many2one<'res.users', { readonly default: true }>;
|
|
1857
|
-
readonly lines: F.One2many<'stock.count.line', { readonly required: true }>;
|
|
1858
|
-
readonly adjustments: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1859
2256
|
readonly note: F.Text;
|
|
1860
|
-
readonly state: F.State<'draft' | 'counting' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1861
2257
|
};
|
|
1862
|
-
readonly methods:
|
|
2258
|
+
readonly methods: ResSegmentMethods;
|
|
1863
2259
|
}
|
|
1864
2260
|
|
|
1865
|
-
/** Methods of `
|
|
1866
|
-
export interface
|
|
1867
|
-
readonly 'apply': () => Promise<void>;
|
|
1868
|
-
readonly 'cancel': () => Promise<void>;
|
|
1869
|
-
readonly 'redraft': () => Promise<void>;
|
|
1870
|
-
readonly 'start': () => Promise<void>;
|
|
2261
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
2262
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1871
2263
|
}
|
|
1872
2264
|
|
|
1873
|
-
/** `
|
|
1874
|
-
export interface
|
|
1875
|
-
readonly name: '
|
|
1876
|
-
readonly fields: {
|
|
1877
|
-
readonly id: F.Id<'stock.count.line'>;
|
|
1878
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1879
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1880
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1881
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1882
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1883
|
-
readonly count: F.Many2one<'stock.count', { readonly required: true }>;
|
|
1884
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1885
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1886
|
-
readonly expected: F.Decimal;
|
|
1887
|
-
readonly counted: F.Decimal;
|
|
1888
|
-
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1889
|
-
};
|
|
1890
|
-
readonly methods: StockCountLineMethods;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
/** Methods of `stock.count.line`: declared ones and transitions. */
|
|
1894
|
-
export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
/** `stock.location` (owner: stock). */
|
|
1898
|
-
export interface StockLocation {
|
|
1899
|
-
readonly name: 'stock.location';
|
|
1900
|
-
readonly fields: {
|
|
1901
|
-
readonly id: F.Id<'stock.location'>;
|
|
1902
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1903
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1904
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1905
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1906
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1907
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1908
|
-
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1909
|
-
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1910
|
-
readonly parent: F.Many2one<'stock.location'>;
|
|
1911
|
-
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1912
|
-
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1913
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1914
|
-
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
|
|
1915
|
-
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1916
|
-
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1917
|
-
};
|
|
1918
|
-
readonly methods: StockLocationMethods;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
/** Methods of `stock.location`: declared ones and transitions. */
|
|
1922
|
-
export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'> {
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
/** `stock.lot` (owner: stock). */
|
|
1926
|
-
export interface StockLot {
|
|
1927
|
-
readonly name: 'stock.lot';
|
|
1928
|
-
readonly fields: {
|
|
1929
|
-
readonly id: F.Id<'stock.lot'>;
|
|
1930
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1931
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1932
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1933
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1934
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1935
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1936
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1937
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
1938
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1939
|
-
readonly expiryDate: F.DateOnly;
|
|
1940
|
-
readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
|
|
1941
|
-
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1942
|
-
readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1943
|
-
readonly note: F.Text;
|
|
1944
|
-
};
|
|
1945
|
-
readonly methods: StockLotMethods;
|
|
1946
|
-
}
|
|
1947
|
-
|
|
1948
|
-
/** Methods of `stock.lot`: declared ones and transitions. */
|
|
1949
|
-
export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
/** `stock.lot.line` (owner: stock). */
|
|
1953
|
-
export interface StockLotLine {
|
|
1954
|
-
readonly name: 'stock.lot.line';
|
|
1955
|
-
readonly fields: {
|
|
1956
|
-
readonly id: F.Id<'stock.lot.line'>;
|
|
1957
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1958
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1959
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1960
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1961
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1962
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1963
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1964
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1965
|
-
readonly lotName: F.Char;
|
|
1966
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1967
|
-
};
|
|
1968
|
-
readonly methods: StockLotLineMethods;
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
/** Methods of `stock.lot.line`: declared ones and transitions. */
|
|
1972
|
-
export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
/** `stock.move` (owner: stock; extended by: stock_account, mrp_account). */
|
|
1976
|
-
export interface StockMove {
|
|
1977
|
-
readonly name: 'stock.move';
|
|
1978
|
-
readonly fields: {
|
|
1979
|
-
readonly id: F.Id<'stock.move'>;
|
|
1980
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1981
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1982
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1983
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1984
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1985
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1986
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1987
|
-
readonly name: F.Char;
|
|
1988
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1989
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
1990
|
-
readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1991
|
-
readonly quantityDone: F.Decimal;
|
|
1992
|
-
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1993
|
-
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
1994
|
-
readonly procurement: F.Char;
|
|
1995
|
-
readonly destination: F.Many2one<'stock.location'>;
|
|
1996
|
-
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1997
|
-
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1998
|
-
};
|
|
1999
|
-
readonly methods: StockMoveMethods;
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
/** Methods of `stock.move`: declared ones and transitions. */
|
|
2003
|
-
export interface StockMoveMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.move'>, F.Methods<typeof import('../../stock_account/index.js').stockAccountShutro, 'stock.move'>, F.Methods<typeof import('../module.js').mrpAccountShutro, 'stock.move'> {
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
/** `stock.picking` (owner: stock; extended by: stock_account, stock_account, mrp_account). */
|
|
2007
|
-
export interface StockPicking {
|
|
2008
|
-
readonly name: 'stock.picking';
|
|
2009
|
-
readonly fields: {
|
|
2010
|
-
readonly id: F.Id<'stock.picking'>;
|
|
2011
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2012
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2013
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2014
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2015
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2016
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2017
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2018
|
-
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2019
|
-
readonly partner: F.Many2one<'res.partner'>;
|
|
2020
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
2021
|
-
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2022
|
-
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2023
|
-
readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2024
|
-
readonly doneDate: F.DateOnly;
|
|
2025
|
-
readonly origin: F.Char;
|
|
2026
|
-
readonly note: F.Text;
|
|
2027
|
-
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
2028
|
-
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
2029
|
-
readonly count: F.Many2one<'stock.count'>;
|
|
2030
|
-
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
2031
|
-
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2032
|
-
readonly next: F.Many2one<'stock.picking'>;
|
|
2033
|
-
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2034
|
-
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2035
|
-
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2036
|
-
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2037
|
-
readonly valuationLayers: F.One2many<'stock.valuation.layer', { readonly required: true }>; // stock_account
|
|
2038
|
-
};
|
|
2039
|
-
readonly methods: StockPickingMethods;
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
/** Methods of `stock.picking`: declared ones and transitions. */
|
|
2043
|
-
export interface StockPickingMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking'>, F.Methods<typeof import('../../stock_account/index.js').stockAccountShutro, 'stock.picking'>, F.Methods<typeof import('../../stock_account/index.js').stockAccountShutro, 'stock.picking'>, F.Methods<typeof import('../module.js').mrpAccountShutro, 'stock.picking'> {
|
|
2044
|
-
readonly 'cancel': () => Promise<void>;
|
|
2045
|
-
readonly 'confirm': () => Promise<void>;
|
|
2046
|
-
readonly 'redraft': () => Promise<void>;
|
|
2047
|
-
readonly 'reserve': () => Promise<void>;
|
|
2048
|
-
readonly 'unreserve': () => Promise<void>;
|
|
2049
|
-
readonly 'validate': () => Promise<void>;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
/** `stock.putaway` (owner: stock). */
|
|
2053
|
-
export interface StockPutaway {
|
|
2054
|
-
readonly name: 'stock.putaway';
|
|
2055
|
-
readonly fields: {
|
|
2056
|
-
readonly id: F.Id<'stock.putaway'>;
|
|
2057
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2058
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2059
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2060
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2061
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2062
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2063
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2064
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2065
|
-
readonly product: F.Many2one<'product.product'>;
|
|
2066
|
-
readonly category: F.Many2one<'product.category'>;
|
|
2067
|
-
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2068
|
-
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2069
|
-
};
|
|
2070
|
-
readonly methods: StockPutawayMethods;
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
/** Methods of `stock.putaway`: declared ones and transitions. */
|
|
2074
|
-
export interface StockPutawayMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.putaway'> {
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
/** `stock.quant` (owner: stock). */
|
|
2078
|
-
export interface StockQuant {
|
|
2079
|
-
readonly name: 'stock.quant';
|
|
2080
|
-
readonly fields: {
|
|
2081
|
-
readonly id: F.Id<'stock.quant'>;
|
|
2082
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2083
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2084
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2085
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2086
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2087
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2088
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2089
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2090
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
2091
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2092
|
-
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
2093
|
-
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2094
|
-
readonly available: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2095
|
-
};
|
|
2096
|
-
readonly methods: StockQuantMethods;
|
|
2097
|
-
}
|
|
2098
|
-
|
|
2099
|
-
/** Methods of `stock.quant`: declared ones and transitions. */
|
|
2100
|
-
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
/** `stock.reorder` (owner: stock; extended by: mrp). */
|
|
2104
|
-
export interface StockReorder {
|
|
2105
|
-
readonly name: 'stock.reorder';
|
|
2106
|
-
readonly fields: {
|
|
2107
|
-
readonly id: F.Id<'stock.reorder'>;
|
|
2108
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2109
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2110
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2111
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2112
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2113
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2114
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2115
|
-
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2116
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2117
|
-
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
2118
|
-
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2119
|
-
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2120
|
-
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2121
|
-
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2122
|
-
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2123
|
-
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
2124
|
-
readonly vendor: F.Many2one<'res.partner'>;
|
|
2125
|
-
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
2126
|
-
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2127
|
-
readonly snoozedUntil: F.DateOnly;
|
|
2128
|
-
readonly onHand: F.Decimal;
|
|
2129
|
-
readonly forecast: F.Decimal;
|
|
2130
|
-
readonly proposed: F.Decimal;
|
|
2131
|
-
readonly explanation: F.Text;
|
|
2132
|
-
readonly refreshedAt: F.Datetime;
|
|
2133
|
-
readonly lastOrder: F.Char;
|
|
2134
|
-
};
|
|
2135
|
-
readonly methods: StockReorderMethods;
|
|
2136
|
-
}
|
|
2137
|
-
|
|
2138
|
-
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
2139
|
-
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'>, F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'stock.reorder'> {
|
|
2140
|
-
}
|
|
2141
|
-
|
|
2142
|
-
/** `stock.reservation` (owner: stock). */
|
|
2143
|
-
export interface StockReservation {
|
|
2144
|
-
readonly name: 'stock.reservation';
|
|
2145
|
-
readonly fields: {
|
|
2146
|
-
readonly id: F.Id<'stock.reservation'>;
|
|
2147
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2148
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2149
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2150
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2151
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2152
|
-
readonly move: F.Many2one<'stock.move', { readonly required: true }>;
|
|
2153
|
-
readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
|
|
2154
|
-
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
2155
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2156
|
-
};
|
|
2157
|
-
readonly methods: StockReservationMethods;
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
/** Methods of `stock.reservation`: declared ones and transitions. */
|
|
2161
|
-
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
|
-
/** `stock.scrap` (owner: stock; extended by: mrp). */
|
|
2165
|
-
export interface StockScrap {
|
|
2166
|
-
readonly name: 'stock.scrap';
|
|
2167
|
-
readonly fields: {
|
|
2168
|
-
readonly id: F.Id<'stock.scrap'>;
|
|
2169
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2170
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2171
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2172
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2173
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2174
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2175
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2176
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2177
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2178
|
-
readonly location: F.Many2one<'stock.location'>;
|
|
2179
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
2180
|
-
readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
|
|
2181
|
-
readonly note: F.Text;
|
|
2182
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2183
|
-
readonly picking: F.Many2one<'stock.picking'>;
|
|
2184
|
-
readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2185
|
-
readonly production: F.Many2one<'mrp.production'>; // mrp
|
|
2186
|
-
};
|
|
2187
|
-
readonly methods: StockScrapMethods;
|
|
2188
|
-
}
|
|
2189
|
-
|
|
2190
|
-
/** Methods of `stock.scrap`: declared ones and transitions. */
|
|
2191
|
-
export interface StockScrapMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.scrap'>, F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'stock.scrap'> {
|
|
2192
|
-
readonly 'cancel': () => Promise<void>;
|
|
2193
|
-
readonly 'validate': () => Promise<void>;
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
/** `stock.valuation.layer` (owner: stock_account). */
|
|
2197
|
-
export interface StockValuationLayer {
|
|
2198
|
-
readonly name: 'stock.valuation.layer';
|
|
2199
|
-
readonly fields: {
|
|
2200
|
-
readonly id: F.Id<'stock.valuation.layer'>;
|
|
2201
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2202
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2203
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2204
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2205
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2206
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2207
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2208
|
-
readonly picking: F.Many2one<'stock.picking'>;
|
|
2209
|
-
readonly move: F.Many2one<'stock.move'>;
|
|
2210
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2211
|
-
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
2212
|
-
readonly unitCost: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2213
|
-
readonly value: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2214
|
-
readonly remainingQty: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2215
|
-
readonly remainingValue: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2216
|
-
readonly accountMove: F.Many2one<'account.move'>;
|
|
2217
|
-
};
|
|
2218
|
-
readonly methods: StockValuationLayerMethods;
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
|
-
/** Methods of `stock.valuation.layer`: declared ones and transitions. */
|
|
2222
|
-
export interface StockValuationLayerMethods extends F.Methods<typeof import('../../stock_account/index.js').stockAccountShutro, 'stock.valuation.layer'> {
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
|
-
/** `stock.warehouse` (owner: stock). */
|
|
2226
|
-
export interface StockWarehouse {
|
|
2227
|
-
readonly name: 'stock.warehouse';
|
|
2265
|
+
/** `res.users` (owner: base). */
|
|
2266
|
+
export interface ResUsers {
|
|
2267
|
+
readonly name: 'res.users';
|
|
2228
2268
|
readonly fields: {
|
|
2229
|
-
readonly id: F.Id<'
|
|
2269
|
+
readonly id: F.Id<'res.users'>;
|
|
2230
2270
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2231
2271
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2232
2272
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2233
2273
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2234
2274
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2235
2275
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2236
|
-
readonly
|
|
2276
|
+
readonly login: F.Char<{ readonly required: true }>;
|
|
2237
2277
|
readonly name: F.Char<{ readonly required: true }>;
|
|
2238
|
-
readonly
|
|
2239
|
-
readonly
|
|
2240
|
-
readonly
|
|
2241
|
-
readonly
|
|
2242
|
-
readonly
|
|
2278
|
+
readonly email: F.Char;
|
|
2279
|
+
readonly phone: F.Char;
|
|
2280
|
+
readonly company: F.Many2one<'res.company'>;
|
|
2281
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
2282
|
+
readonly lang: F.Char<{ readonly default: true }>;
|
|
2283
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
2284
|
+
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2243
2285
|
};
|
|
2244
|
-
readonly methods:
|
|
2286
|
+
readonly methods: ResUsersMethods;
|
|
2245
2287
|
}
|
|
2246
2288
|
|
|
2247
|
-
/** Methods of `
|
|
2248
|
-
export interface
|
|
2289
|
+
/** Methods of `res.users`: declared ones and transitions. */
|
|
2290
|
+
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
2249
2291
|
}
|
|
2250
2292
|
|
|
2251
2293
|
/** `storage.attachment` (owner: storage). */
|