shutro-erp 0.3.5 → 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 +15 -0
- package/dist/{mrp_account → account_asset}/.kosh/schema.d.ts +785 -614
- package/dist/account_asset/board.d.ts +61 -0
- package/dist/account_asset/board.js +86 -0
- package/dist/account_asset/books.d.ts +42 -0
- package/dist/account_asset/books.js +398 -0
- package/dist/account_asset/demo.d.ts +7 -0
- package/dist/account_asset/demo.js +72 -0
- package/dist/account_asset/i18n/bn.d.ts +2 -0
- package/dist/account_asset/i18n/bn.js +97 -0
- package/dist/account_asset/index.d.ts +9 -0
- package/dist/account_asset/index.js +337 -0
- package/dist/account_asset/module.d.ts +11076 -0
- package/dist/account_asset/module.js +230 -0
- package/dist/account_budget/.kosh/bindings.js +15 -0
- package/dist/account_budget/.kosh/schema.d.ts +2841 -0
- package/dist/account_budget/budget.d.ts +5 -0
- package/dist/account_budget/budget.js +142 -0
- package/dist/account_budget/demo.d.ts +6 -0
- package/dist/account_budget/demo.js +30 -0
- package/dist/account_budget/i18n/bn.d.ts +2 -0
- package/dist/account_budget/i18n/bn.js +63 -0
- package/dist/account_budget/index.d.ts +4 -0
- package/dist/account_budget/index.js +237 -0
- package/dist/account_budget/module.d.ts +27289 -0
- package/dist/account_budget/module.js +182 -0
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +651 -10
- 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 +5212 -1592
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +651 -10
- 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 +3 -1
- package/dist/accounting/index.js +780 -5
- package/dist/accounting/module.d.ts +5386 -1543
- package/dist/accounting/module.js +155 -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.d.ts +22 -0
- package/dist/approvals/.kosh/bindings.js +15 -0
- package/dist/approvals/.kosh/schema.d.ts +879 -0
- 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 +36 -0
- package/dist/approvals/index.js +772 -0
- package/dist/approvals/mails.d.ts +30 -0
- package/dist/approvals/mails.js +87 -0
- package/dist/approvals/module.d.ts +2930 -0
- package/dist/approvals/module.js +473 -0
- package/dist/approvals/web/Config.d.ts +12 -0
- package/dist/approvals/web/Config.js +60 -0
- package/dist/approvals/web/History.d.ts +4 -0
- package/dist/approvals/web/History.js +13 -0
- package/dist/approvals/web/Inbox.d.ts +9 -0
- package/dist/approvals/web/Inbox.js +114 -0
- package/dist/approvals/web/Matrix.d.ts +9 -0
- package/dist/approvals/web/Matrix.js +26 -0
- package/dist/approvals/web/Mine.d.ts +7 -0
- package/dist/approvals/web/Mine.js +27 -0
- package/dist/approvals/web/index.d.ts +15 -0
- package/dist/approvals/web/index.js +29 -0
- package/dist/approvals/web/messages.d.ts +2 -0
- package/dist/approvals/web/messages.js +211 -0
- package/dist/approvals/web/shared.d.ts +59 -0
- package/dist/approvals/web/shared.js +46 -0
- package/dist/approvals_purchase/.kosh/bindings.d.ts +22 -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.d.ts +22 -0
- package/dist/attendance/.kosh/bindings.js +15 -0
- package/dist/attendance/.kosh/schema.d.ts +1106 -0
- package/dist/attendance/days.d.ts +96 -0
- package/dist/attendance/days.js +430 -0
- package/dist/attendance/demo.d.ts +7 -0
- package/dist/attendance/demo.js +58 -0
- package/dist/attendance/i18n/bn.d.ts +2 -0
- package/dist/attendance/i18n/bn.js +147 -0
- package/dist/attendance/index.d.ts +4 -0
- package/dist/attendance/index.js +515 -0
- package/dist/attendance/module.d.ts +4413 -0
- package/dist/attendance/module.js +412 -0
- package/dist/attendance/routes.d.ts +16 -0
- package/dist/attendance/routes.js +266 -0
- package/dist/attendance/web/Check.d.ts +8 -0
- package/dist/attendance/web/Check.js +40 -0
- package/dist/attendance/web/Kiosk.d.ts +8 -0
- package/dist/attendance/web/Kiosk.js +62 -0
- package/dist/attendance/web/PinButton.d.ts +7 -0
- package/dist/attendance/web/PinButton.js +29 -0
- package/dist/attendance/web/index.d.ts +13 -0
- package/dist/attendance/web/index.js +22 -0
- package/dist/attendance/web/messages.d.ts +2 -0
- package/dist/attendance/web/messages.js +61 -0
- package/dist/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 +46 -4
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +123 -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 +19 -3
- package/dist/crm/.kosh/bindings.js +1 -1
- package/dist/crm/.kosh/schema.d.ts +3 -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 +22 -0
- package/dist/crm/module.js +6 -3
- package/dist/documents/.kosh/bindings.d.ts +22 -0
- package/dist/documents/.kosh/bindings.js +15 -0
- package/dist/documents/.kosh/schema.d.ts +863 -0
- package/dist/documents/demo.d.ts +6 -0
- package/dist/documents/demo.js +22 -0
- package/dist/documents/documents.d.ts +98 -0
- package/dist/documents/documents.js +318 -0
- package/dist/documents/i18n/bn.d.ts +2 -0
- package/dist/documents/i18n/bn.js +83 -0
- package/dist/documents/index.d.ts +30 -0
- package/dist/documents/index.js +569 -0
- package/dist/documents/module.d.ts +2801 -0
- package/dist/documents/module.js +215 -0
- package/dist/documents/web/Versions.d.ts +7 -0
- package/dist/documents/web/Versions.js +45 -0
- package/dist/documents/web/index.d.ts +11 -0
- package/dist/documents/web/index.js +16 -0
- package/dist/documents/web/messages.d.ts +2 -0
- package/dist/documents/web/messages.js +21 -0
- package/dist/event/.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 +651 -10
- 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 +5133 -1513
- package/dist/expense/.kosh/bindings.d.ts +22 -0
- package/dist/expense/.kosh/bindings.js +15 -0
- package/dist/expense/.kosh/schema.d.ts +1620 -0
- package/dist/expense/demo.d.ts +7 -0
- package/dist/expense/demo.js +69 -0
- package/dist/expense/i18n/bn.d.ts +2 -0
- package/dist/expense/i18n/bn.js +155 -0
- package/dist/expense/index.d.ts +3 -0
- package/dist/expense/index.js +502 -0
- package/dist/expense/module.d.ts +6768 -0
- package/dist/expense/module.js +649 -0
- package/dist/expense_account/.kosh/bindings.d.ts +22 -0
- package/dist/expense_account/.kosh/bindings.js +15 -0
- package/dist/expense_account/.kosh/schema.d.ts +2515 -0
- package/dist/expense_account/i18n/bn.d.ts +2 -0
- package/dist/expense_account/i18n/bn.js +15 -0
- package/dist/expense_account/index.d.ts +3 -0
- package/dist/expense_account/index.js +76 -0
- package/dist/expense_account/module.d.ts +14628 -0
- package/dist/expense_account/module.js +318 -0
- package/dist/helpdesk/.kosh/bindings.d.ts +22 -0
- package/dist/helpdesk/.kosh/bindings.js +15 -0
- package/dist/helpdesk/.kosh/schema.d.ts +886 -0
- package/dist/helpdesk/demo.d.ts +7 -0
- package/dist/helpdesk/demo.js +65 -0
- package/dist/helpdesk/hours.d.ts +17 -0
- package/dist/helpdesk/hours.js +94 -0
- package/dist/helpdesk/i18n/bn.d.ts +2 -0
- package/dist/helpdesk/i18n/bn.js +127 -0
- package/dist/helpdesk/index.d.ts +10 -0
- package/dist/helpdesk/index.js +463 -0
- package/dist/helpdesk/module.d.ts +2960 -0
- package/dist/helpdesk/module.js +326 -0
- package/dist/helpdesk/routes.d.ts +12 -0
- package/dist/helpdesk/routes.js +132 -0
- package/dist/helpdesk/sla.d.ts +37 -0
- package/dist/helpdesk/sla.js +226 -0
- package/dist/hr/.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/indent/.kosh/bindings.d.ts +22 -0
- package/dist/indent/.kosh/bindings.js +15 -0
- 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/indent/module.d.ts +13424 -0
- 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 +651 -10
- 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 +5212 -1592
- package/dist/l10n_bd_payroll/.kosh/bindings.d.ts +22 -0
- package/dist/l10n_bd_payroll/.kosh/bindings.js +15 -0
- package/dist/l10n_bd_payroll/.kosh/schema.d.ts +2891 -0
- package/dist/l10n_bd_payroll/data.d.ts +47 -0
- package/dist/l10n_bd_payroll/data.js +347 -0
- package/dist/l10n_bd_payroll/i18n/bn.d.ts +2 -0
- package/dist/l10n_bd_payroll/i18n/bn.js +4 -0
- package/dist/l10n_bd_payroll/index.d.ts +4 -0
- package/dist/l10n_bd_payroll/index.js +26 -0
- package/dist/l10n_bd_payroll/module.d.ts +17294 -0
- package/dist/l10n_bd_payroll/module.js +86 -0
- 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/l10n_bd_pos/.kosh/schema.d.ts +2341 -0
- 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 +9047 -6981
- 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 +651 -10
- 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 +6778 -1580
- package/dist/l10n_in/module.js +25 -5
- package/dist/l10n_in/web/GstSettings.js +2 -2
- package/dist/mail/inbound/handle.js +8 -5
- 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 +374 -3
- 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 +6095 -1327
- 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 +105 -2
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +653 -11
- package/dist/payment/i18n/bn.d.ts +2 -0
- package/dist/payment/i18n/bn.js +59 -0
- package/dist/payment/index.d.ts +41 -0
- package/dist/payment/index.js +216 -74
- package/dist/payment/module.d.ts +5353 -1675
- package/dist/payment/module.js +36 -6
- package/dist/payment/settle.js +11 -1
- package/dist/payroll/.kosh/bindings.d.ts +22 -0
- package/dist/payroll/.kosh/bindings.js +15 -0
- package/dist/payroll/.kosh/schema.d.ts +1448 -0
- package/dist/payroll/compute.d.ts +35 -0
- package/dist/payroll/compute.js +398 -0
- package/dist/payroll/demo.d.ts +55 -0
- package/dist/payroll/demo.js +121 -0
- package/dist/payroll/formula.d.ts +62 -0
- package/dist/payroll/formula.js +320 -0
- package/dist/payroll/i18n/bn.d.ts +2 -0
- package/dist/payroll/i18n/bn.js +206 -0
- package/dist/payroll/index.d.ts +230 -0
- package/dist/payroll/index.js +715 -0
- package/dist/{mrp → payroll}/module.d.ts +4294 -2624
- package/dist/payroll/module.js +606 -0
- package/dist/payroll/routes.d.ts +10 -0
- package/dist/payroll/routes.js +112 -0
- package/dist/payroll_account/.kosh/bindings.d.ts +22 -0
- package/dist/payroll_account/.kosh/bindings.js +15 -0
- package/dist/payroll_account/.kosh/schema.d.ts +2887 -0
- package/dist/payroll_account/i18n/bn.d.ts +2 -0
- package/dist/payroll_account/i18n/bn.js +10 -0
- package/dist/payroll_account/index.d.ts +3 -0
- package/dist/payroll_account/index.js +42 -0
- package/dist/payroll_account/module.d.ts +16738 -0
- package/dist/payroll_account/module.js +256 -0
- package/dist/permissions/approvals.d.ts +227 -12
- package/dist/permissions/approvals.js +1421 -67
- package/dist/permissions/index.d.ts +1 -1
- package/dist/permissions/index.js +2 -2
- package/dist/permissions/models.js +364 -13
- package/dist/permissions/routes.d.ts +9 -1
- package/dist/permissions/routes.js +72 -5
- package/dist/permissions/web/ApprovalPanel.d.ts +5 -4
- package/dist/permissions/web/ApprovalPanel.js +75 -11
- package/dist/permissions/web/index.d.ts +6 -4
- package/dist/permissions/web/index.js +13 -4
- package/dist/permissions/web/messages.d.ts +2 -0
- package/dist/permissions/web/messages.js +95 -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 +3 -1
- 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 +652 -10
- package/dist/pos/i18n/bn.d.ts +2 -0
- package/dist/pos/i18n/bn.js +133 -0
- package/dist/pos/index.js +87 -1
- package/dist/pos/module.d.ts +6967 -1709
- 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 +822 -12
- 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 +11241 -2851
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +203 -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 +301 -1
- package/dist/product/module.d.ts +1727 -0
- package/dist/product/module.js +67 -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 +735 -1
- package/dist/project/i18n/bn.d.ts +2 -0
- package/dist/project/i18n/bn.js +383 -0
- package/dist/project/index.d.ts +3 -1
- package/dist/project/index.js +1024 -14
- package/dist/project/module.d.ts +9912 -390
- package/dist/project/module.js +1590 -14
- package/dist/project/routes.d.ts +44 -0
- package/dist/project/routes.js +314 -0
- package/dist/project/schedule.d.ts +72 -0
- package/dist/project/schedule.js +192 -0
- package/dist/project/web/Refresh.d.ts +8 -0
- package/dist/project/web/Refresh.js +29 -0
- package/dist/project/web/Schedule.d.ts +9 -0
- package/dist/project/web/Schedule.js +93 -0
- package/dist/project/web/Structure.d.ts +8 -0
- package/dist/project/web/Structure.js +86 -0
- package/dist/project/web/Workload.d.ts +8 -0
- package/dist/project/web/Workload.js +43 -0
- package/dist/project/web/index.d.ts +14 -0
- package/dist/project/web/index.js +25 -0
- package/dist/project/web/messages.d.ts +2 -0
- package/dist/project/web/messages.js +85 -0
- package/dist/project_account/.kosh/bindings.d.ts +22 -0
- package/dist/project_account/.kosh/bindings.js +15 -0
- package/dist/project_account/.kosh/schema.d.ts +2763 -0
- package/dist/project_account/i18n/bn.d.ts +2 -0
- package/dist/project_account/i18n/bn.js +6 -0
- package/dist/project_account/index.d.ts +3 -0
- package/dist/project_account/index.js +29 -0
- package/dist/project_account/module.d.ts +15013 -0
- package/dist/project_account/module.js +76 -0
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +735 -1
- 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 +4796 -87
- package/dist/project_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/project_purchase/.kosh/bindings.js +15 -0
- package/dist/project_purchase/.kosh/schema.d.ts +3393 -0
- package/dist/project_purchase/i18n/bn.d.ts +2 -0
- package/dist/project_purchase/i18n/bn.js +4 -0
- package/dist/project_purchase/index.d.ts +9 -0
- package/dist/project_purchase/index.js +24 -0
- package/dist/project_purchase/module.d.ts +38613 -0
- package/dist/project_purchase/module.js +56 -0
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +908 -5
- 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 +7147 -395
- package/dist/purchase/module.js +303 -10
- 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 +1209 -16
- 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 +20 -0
- package/dist/purchase_account/module.d.ts +12232 -2028
- package/dist/purchase_account/module.js +252 -9
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +908 -5
- 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 +6853 -352
- package/dist/purchase_stock/.kosh/bindings.js +1 -1
- package/dist/purchase_stock/.kosh/schema.d.ts +1096 -21
- 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 +2 -2
- package/dist/purchase_stock/index.js +38 -2
- package/dist/purchase_stock/module.d.ts +12930 -1612
- package/dist/purchase_stock/module.js +317 -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 +1444 -20
- 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 -35346
- package/dist/purchase_stock_account/module.js +35 -8
- package/dist/recruitment/.kosh/bindings.js +1 -1
- package/dist/recruitment/.kosh/schema.d.ts +60 -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 +460 -8
- package/dist/recruitment/module.js +13 -4
- 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 +763 -18
- 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 +8241 -2052
- 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 +391 -494
- 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 +292 -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 +2563 -292
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +1025 -4
- 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 +9280 -762
- package/dist/sale_project/module.js +17 -1
- package/dist/sale_stock/.kosh/bindings.js +1 -1
- package/dist/sale_stock/.kosh/schema.d.ts +463 -6
- 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 +8355 -1334
- package/dist/sale_stock/module.js +20 -3
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +292 -4
- package/dist/sales/i18n/bn.d.ts +2 -0
- package/dist/sales/i18n/bn.js +128 -0
- package/dist/sales/index.js +124 -5
- package/dist/sales/module.d.ts +3568 -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.d.ts +22 -0
- package/dist/{mrp → sign}/.kosh/bindings.js +2 -2
- package/dist/sign/.kosh/schema.d.ts +991 -0
- package/dist/sign/i18n/bn.d.ts +2 -0
- package/dist/sign/i18n/bn.js +97 -0
- package/dist/sign/index.d.ts +29 -0
- package/dist/sign/index.js +478 -0
- package/dist/sign/module.d.ts +4518 -0
- package/dist/sign/module.js +167 -0
- package/dist/sign/sign.d.ts +82 -0
- package/dist/sign/sign.js +474 -0
- package/dist/stock/.kosh/bindings.js +1 -1
- package/dist/stock/.kosh/schema.d.ts +374 -3
- package/dist/stock/demo.d.ts +2 -1
- package/dist/stock/demo.js +28 -1
- package/dist/stock/i18n/bn.d.ts +2 -0
- package/dist/stock/i18n/bn.js +311 -0
- package/dist/stock/index.d.ts +4 -1
- package/dist/stock/index.js +674 -6
- package/dist/stock/ledger.d.ts +78 -0
- package/dist/stock/ledger.js +582 -0
- package/dist/stock/module.d.ts +6142 -1380
- package/dist/stock/module.js +780 -26
- package/dist/stock/replenish.d.ts +38 -0
- package/dist/stock/replenish.js +191 -0
- 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/Replenishment.d.ts +8 -0
- package/dist/stock/web/Replenishment.js +84 -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 +7 -2
- package/dist/stock/web/index.js +15 -2
- package/dist/stock/web/messages.js +206 -0
- package/dist/stock_account/.kosh/bindings.js +1 -1
- package/dist/stock_account/.kosh/schema.d.ts +878 -12
- 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 +141 -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 +12143 -3391
- 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 +95 -0
- package/dist/trade_finance/module.d.ts +26 -0
- package/dist/trade_finance/module.js +29 -8
- package/dist/trade_finance_account/.kosh/bindings.js +1 -1
- package/dist/trade_finance_account/.kosh/schema.d.ts +651 -10
- 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 +3 -0
- package/dist/trade_finance_account/module.d.ts +5129 -1509
- package/dist/trade_finance_account/module.js +2 -0
- package/dist/trade_finance_purchase/.kosh/bindings.js +1 -1
- package/dist/trade_finance_purchase/.kosh/schema.d.ts +908 -5
- 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 -408
- package/dist/trade_finance_sale/.kosh/bindings.js +1 -1
- package/dist/trade_finance_sale/.kosh/schema.d.ts +292 -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 +2602 -331
- package/dist/ui/api.d.ts +2 -0
- package/dist/ui/app.d.ts +9 -0
- package/dist/ui/app.js +47 -15
- package/dist/ui/components/AppIcon.js +9 -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 +40 -0
- package/dist/ui/i18n/messages.js +80 -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 +51 -12
- package/dist/ui/views/KanbanView.js +9 -1
- package/dist/ui/views/ListView.d.ts +8 -0
- package/dist/ui/views/ListView.js +14 -5
- package/dist/ui/views/StatsRow.js +2 -1
- package/dist/ui/views/widgets.js +7 -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 +37 -0
- package/dist/website/module.d.ts +20 -0
- package/dist/website/module.js +30 -5
- package/dist/website_crm/.kosh/bindings.js +1 -1
- package/dist/website_crm/.kosh/schema.d.ts +3 -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 +41 -0
- package/dist/website_sale/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale/.kosh/bindings.js +15 -0
- package/dist/website_sale/.kosh/schema.d.ts +2909 -0
- package/dist/website_sale/couriers.d.ts +50 -0
- package/dist/website_sale/couriers.js +59 -0
- package/dist/website_sale/demo.d.ts +7 -0
- package/dist/website_sale/demo.js +90 -0
- package/dist/website_sale/growth.d.ts +31 -0
- package/dist/website_sale/growth.js +163 -0
- package/dist/website_sale/i18n/bn.d.ts +2 -0
- package/dist/website_sale/i18n/bn.js +132 -0
- package/dist/website_sale/index.d.ts +49 -0
- package/dist/website_sale/index.js +620 -0
- package/dist/website_sale/module.d.ts +35182 -0
- package/dist/website_sale/module.js +419 -0
- package/dist/website_sale/shipments.d.ts +16 -0
- package/dist/website_sale/shipments.js +113 -0
- package/dist/website_sale/shop.d.ts +81 -0
- package/dist/website_sale/shop.js +662 -0
- package/dist/website_sale_stock/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale_stock/.kosh/bindings.js +15 -0
- package/dist/website_sale_stock/.kosh/schema.d.ts +3400 -0
- 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.d.ts +9 -0
- package/dist/website_sale_stock/index.js +22 -0
- package/dist/website_sale_stock/module.d.ts +11 -0
- package/dist/website_sale_stock/module.js +32 -0
- package/package.json +117 -8
- package/dist/mrp/index.d.ts +0 -3
- package/dist/mrp/index.js +0 -392
- package/dist/mrp/module.js +0 -695
- package/dist/mrp_account/index.d.ts +0 -3
- package/dist/mrp_account/index.js +0 -22
- /package/dist/{mrp → account_asset}/.kosh/bindings.d.ts +0 -0
- /package/dist/{mrp_account → account_budget}/.kosh/bindings.d.ts +0 -0
|
@@ -1,11 +1,24 @@
|
|
|
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: 7409f435909c6a38
|
|
2
|
+
// Schema view of module `account_asset` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
3
|
import type { F } from '../../server/orm.js';
|
|
4
4
|
|
|
5
5
|
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
6
|
export interface SchemaView {
|
|
7
7
|
readonly 'account.account': AccountAccount;
|
|
8
|
+
readonly 'account.analytic': AccountAnalytic;
|
|
9
|
+
readonly 'account.asset': AccountAsset;
|
|
10
|
+
readonly 'account.asset.category': AccountAssetCategory;
|
|
11
|
+
readonly 'account.asset.line': AccountAssetLine;
|
|
12
|
+
readonly 'account.asset.usage': AccountAssetUsage;
|
|
13
|
+
readonly 'account.bank.statement': AccountBankStatement;
|
|
14
|
+
readonly 'account.bank.statement.line': AccountBankStatementLine;
|
|
15
|
+
readonly 'account.fiscal.position': AccountFiscalPosition;
|
|
16
|
+
readonly 'account.fiscal.position.account': AccountFiscalPositionAccount;
|
|
17
|
+
readonly 'account.fiscal.position.tax': AccountFiscalPositionTax;
|
|
8
18
|
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
19
|
+
readonly 'account.followup': AccountFollowup;
|
|
20
|
+
readonly 'account.followup.level': AccountFollowupLevel;
|
|
21
|
+
readonly 'account.followup.sent': AccountFollowupSent;
|
|
9
22
|
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
10
23
|
readonly 'account.journal': AccountJournal;
|
|
11
24
|
readonly 'account.move': AccountMove;
|
|
@@ -15,12 +28,17 @@ export interface SchemaView {
|
|
|
15
28
|
readonly 'account.payment.term': AccountPaymentTerm;
|
|
16
29
|
readonly 'account.payment.term.line': AccountPaymentTermLine;
|
|
17
30
|
readonly 'account.payment.withholding': AccountPaymentWithholding;
|
|
31
|
+
readonly 'account.reconcile.rule': AccountReconcileRule;
|
|
18
32
|
readonly 'account.tax': AccountTax;
|
|
19
33
|
readonly 'account.tax.component': AccountTaxComponent;
|
|
20
34
|
readonly 'account.withholding': AccountWithholding;
|
|
35
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
36
|
+
readonly 'approval.event': ApprovalEvent;
|
|
21
37
|
readonly 'approval.level': ApprovalLevel;
|
|
38
|
+
readonly 'approval.link': ApprovalLink;
|
|
22
39
|
readonly 'approval.policy': ApprovalPolicy;
|
|
23
40
|
readonly 'approval.request': ApprovalRequest;
|
|
41
|
+
readonly 'approval.vote': ApprovalVote;
|
|
24
42
|
readonly 'audit.event': AuditEvent;
|
|
25
43
|
readonly 'auth.api_key': AuthApiKey;
|
|
26
44
|
readonly 'auth.credential': AuthCredential;
|
|
@@ -38,20 +56,19 @@ export interface SchemaView {
|
|
|
38
56
|
readonly 'mail.follower': MailFollower;
|
|
39
57
|
readonly 'mail.message': MailMessage;
|
|
40
58
|
readonly 'mail.message.reaction': MailMessageReaction;
|
|
41
|
-
readonly 'mrp.bom': MrpBom;
|
|
42
|
-
readonly 'mrp.bom.byproduct': MrpBomByproduct;
|
|
43
|
-
readonly 'mrp.bom.line': MrpBomLine;
|
|
44
|
-
readonly 'mrp.bom.operation': MrpBomOperation;
|
|
45
|
-
readonly 'mrp.production': MrpProduction;
|
|
46
|
-
readonly 'mrp.production.component': MrpProductionComponent;
|
|
47
|
-
readonly 'mrp.workcenter': MrpWorkcenter;
|
|
48
|
-
readonly 'mrp.workorder': MrpWorkorder;
|
|
49
59
|
readonly 'oauth.app': OauthApp;
|
|
50
60
|
readonly 'oauth.code': OauthCode;
|
|
51
61
|
readonly 'oauth.grant': OauthGrant;
|
|
52
62
|
readonly 'oauth.token': OauthToken;
|
|
63
|
+
readonly 'product.attribute': ProductAttribute;
|
|
64
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
53
65
|
readonly 'product.category': ProductCategory;
|
|
66
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
67
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
54
68
|
readonly 'product.product': ProductProduct;
|
|
69
|
+
readonly 'product.template': ProductTemplate;
|
|
70
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
71
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
55
72
|
readonly 'report.dashboard': ReportDashboard;
|
|
56
73
|
readonly 'report.output': ReportOutput;
|
|
57
74
|
readonly 'report.schedule': ReportSchedule;
|
|
@@ -63,19 +80,8 @@ export interface SchemaView {
|
|
|
63
80
|
readonly 'res.currency.rate': ResCurrencyRate;
|
|
64
81
|
readonly 'res.partner': ResPartner;
|
|
65
82
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
83
|
+
readonly 'res.segment': ResSegment;
|
|
66
84
|
readonly 'res.users': ResUsers;
|
|
67
|
-
readonly 'stock.count': StockCount;
|
|
68
|
-
readonly 'stock.count.line': StockCountLine;
|
|
69
|
-
readonly 'stock.location': StockLocation;
|
|
70
|
-
readonly 'stock.lot': StockLot;
|
|
71
|
-
readonly 'stock.lot.line': StockLotLine;
|
|
72
|
-
readonly 'stock.move': StockMove;
|
|
73
|
-
readonly 'stock.picking': StockPicking;
|
|
74
|
-
readonly 'stock.quant': StockQuant;
|
|
75
|
-
readonly 'stock.reservation': StockReservation;
|
|
76
|
-
readonly 'stock.scrap': StockScrap;
|
|
77
|
-
readonly 'stock.valuation.layer': StockValuationLayer;
|
|
78
|
-
readonly 'stock.warehouse': StockWarehouse;
|
|
79
85
|
readonly 'storage.attachment': StorageAttachment;
|
|
80
86
|
readonly 'uom.uom': UomUom;
|
|
81
87
|
}
|
|
@@ -106,6 +112,281 @@ export interface AccountAccount {
|
|
|
106
112
|
export interface AccountAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.account'> {
|
|
107
113
|
}
|
|
108
114
|
|
|
115
|
+
/** `account.analytic` (owner: accounting). */
|
|
116
|
+
export interface AccountAnalytic {
|
|
117
|
+
readonly name: 'account.analytic';
|
|
118
|
+
readonly fields: {
|
|
119
|
+
readonly id: F.Id<'account.analytic'>;
|
|
120
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
121
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
122
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
123
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
124
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
125
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
126
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
127
|
+
readonly code: F.Char;
|
|
128
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
129
|
+
readonly parent: F.Many2one<'account.analytic'>;
|
|
130
|
+
readonly note: F.Text;
|
|
131
|
+
};
|
|
132
|
+
readonly methods: AccountAnalyticMethods;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/** Methods of `account.analytic`: declared ones and transitions. */
|
|
136
|
+
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** `account.asset` (owner: account_asset). */
|
|
140
|
+
export interface AccountAsset {
|
|
141
|
+
readonly name: 'account.asset';
|
|
142
|
+
readonly fields: {
|
|
143
|
+
readonly id: F.Id<'account.asset'>;
|
|
144
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
145
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
146
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
147
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
148
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
149
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
150
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
151
|
+
readonly code: F.Char;
|
|
152
|
+
readonly category: F.Many2one<'account.asset.category', { readonly required: true }>;
|
|
153
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
154
|
+
readonly bill: F.Many2one<'account.move'>;
|
|
155
|
+
readonly billLine: F.Many2one<'account.move.line'>;
|
|
156
|
+
readonly analytic: F.Many2one<'account.analytic'>;
|
|
157
|
+
readonly value: F.Decimal<{ readonly required: true }>;
|
|
158
|
+
readonly salvage: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
159
|
+
readonly dateAcquired: F.DateOnly<{ readonly required: true }>;
|
|
160
|
+
readonly dateInUse: F.DateOnly<{ readonly required: true }>;
|
|
161
|
+
readonly method: F.Selection<'linear' | 'degressive' | 'units', { readonly required: true; readonly default: true }>;
|
|
162
|
+
readonly lifeMonths: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
163
|
+
readonly rate: F.Decimal<{ readonly default: true }>;
|
|
164
|
+
readonly prorata: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
165
|
+
readonly totalUnits: F.Decimal;
|
|
166
|
+
readonly lines: F.One2many<'account.asset.line', { readonly required: true }>;
|
|
167
|
+
readonly usage: F.One2many<'account.asset.usage', { readonly required: true }>;
|
|
168
|
+
readonly depreciated: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
169
|
+
readonly bookValue: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
170
|
+
readonly disposedOn: F.DateOnly;
|
|
171
|
+
readonly proceeds: F.Decimal;
|
|
172
|
+
readonly state: F.State<'draft' | 'running' | 'disposed' | 'closed', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
173
|
+
};
|
|
174
|
+
readonly methods: AccountAssetMethods;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Methods of `account.asset`: declared ones and transitions. */
|
|
178
|
+
export interface AccountAssetMethods extends F.Methods<typeof import('../module.js').accountAssetShutro, 'account.asset'> {
|
|
179
|
+
readonly 'close': () => Promise<void>;
|
|
180
|
+
readonly 'confirm': () => Promise<void>;
|
|
181
|
+
readonly 'dispose': () => Promise<void>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** `account.asset.category` (owner: account_asset). */
|
|
185
|
+
export interface AccountAssetCategory {
|
|
186
|
+
readonly name: 'account.asset.category';
|
|
187
|
+
readonly fields: {
|
|
188
|
+
readonly id: F.Id<'account.asset.category'>;
|
|
189
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
190
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
191
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
192
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
193
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
194
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
195
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
196
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
197
|
+
readonly assetAccount: F.Many2one<'account.account', { readonly required: true }>;
|
|
198
|
+
readonly accumulatedAccount: F.Many2one<'account.account', { readonly required: true }>;
|
|
199
|
+
readonly expenseAccount: F.Many2one<'account.account', { readonly required: true }>;
|
|
200
|
+
readonly gainAccount: F.Many2one<'account.account'>;
|
|
201
|
+
readonly lossAccount: F.Many2one<'account.account'>;
|
|
202
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
203
|
+
readonly method: F.Selection<'linear' | 'degressive' | 'units', { readonly required: true; readonly default: true }>;
|
|
204
|
+
readonly lifeMonths: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
205
|
+
readonly rate: F.Decimal<{ readonly default: true }>;
|
|
206
|
+
readonly prorata: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
207
|
+
readonly taxRate: F.Decimal;
|
|
208
|
+
};
|
|
209
|
+
readonly methods: AccountAssetCategoryMethods;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** Methods of `account.asset.category`: declared ones and transitions. */
|
|
213
|
+
export interface AccountAssetCategoryMethods extends F.Methods<typeof import('../module.js').accountAssetShutro, 'account.asset.category'> {
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** `account.asset.line` (owner: account_asset). */
|
|
217
|
+
export interface AccountAssetLine {
|
|
218
|
+
readonly name: 'account.asset.line';
|
|
219
|
+
readonly fields: {
|
|
220
|
+
readonly id: F.Id<'account.asset.line'>;
|
|
221
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
222
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
223
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
224
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
225
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
226
|
+
readonly asset: F.Many2one<'account.asset', { readonly required: true }>;
|
|
227
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
228
|
+
readonly kind: F.Selection<'depreciation' | 'impairment' | 'revaluation' | 'disposal', { readonly required: true; readonly default: true }>;
|
|
229
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
230
|
+
readonly posted: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
231
|
+
readonly move: F.Many2one<'account.move'>;
|
|
232
|
+
};
|
|
233
|
+
readonly methods: AccountAssetLineMethods;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Methods of `account.asset.line`: declared ones and transitions. */
|
|
237
|
+
export interface AccountAssetLineMethods extends F.Methods<typeof import('../module.js').accountAssetShutro, 'account.asset.line'> {
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** `account.asset.usage` (owner: account_asset). */
|
|
241
|
+
export interface AccountAssetUsage {
|
|
242
|
+
readonly name: 'account.asset.usage';
|
|
243
|
+
readonly fields: {
|
|
244
|
+
readonly id: F.Id<'account.asset.usage'>;
|
|
245
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
246
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
247
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
248
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
249
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
250
|
+
readonly asset: F.Many2one<'account.asset', { readonly required: true }>;
|
|
251
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
252
|
+
readonly units: F.Decimal<{ readonly required: true }>;
|
|
253
|
+
readonly line: F.Many2one<'account.asset.line'>;
|
|
254
|
+
};
|
|
255
|
+
readonly methods: AccountAssetUsageMethods;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/** Methods of `account.asset.usage`: declared ones and transitions. */
|
|
259
|
+
export interface AccountAssetUsageMethods extends F.Methods<typeof import('../module.js').accountAssetShutro, 'account.asset.usage'> {
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/** `account.bank.statement` (owner: accounting). */
|
|
263
|
+
export interface AccountBankStatement {
|
|
264
|
+
readonly name: 'account.bank.statement';
|
|
265
|
+
readonly fields: {
|
|
266
|
+
readonly id: F.Id<'account.bank.statement'>;
|
|
267
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
268
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
269
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
270
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
271
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
272
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
273
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
274
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
275
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
276
|
+
readonly balanceStart: F.Decimal<{ readonly default: true }>;
|
|
277
|
+
readonly balanceEnd: F.Decimal<{ readonly default: true }>;
|
|
278
|
+
readonly lines: F.One2many<'account.bank.statement.line', { readonly required: true }>;
|
|
279
|
+
readonly state: F.State<'open' | 'done', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
280
|
+
};
|
|
281
|
+
readonly methods: AccountBankStatementMethods;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Methods of `account.bank.statement`: declared ones and transitions. */
|
|
285
|
+
export interface AccountBankStatementMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement'> {
|
|
286
|
+
readonly 'close': () => Promise<void>;
|
|
287
|
+
readonly 'reopen': () => Promise<void>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** `account.bank.statement.line` (owner: accounting). */
|
|
291
|
+
export interface AccountBankStatementLine {
|
|
292
|
+
readonly name: 'account.bank.statement.line';
|
|
293
|
+
readonly fields: {
|
|
294
|
+
readonly id: F.Id<'account.bank.statement.line'>;
|
|
295
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
296
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
297
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
298
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
299
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
300
|
+
readonly statement: F.Many2one<'account.bank.statement', { readonly required: true }>;
|
|
301
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
302
|
+
readonly label: F.Char<{ readonly required: true }>;
|
|
303
|
+
readonly reference: F.Char;
|
|
304
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
305
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
306
|
+
readonly uniqueKey: F.Char;
|
|
307
|
+
readonly payment: F.Many2one<'account.payment'>;
|
|
308
|
+
readonly move: F.Many2one<'account.move'>;
|
|
309
|
+
readonly rule: F.Many2one<'account.reconcile.rule'>;
|
|
310
|
+
readonly state: F.Selection<'open' | 'matched', { readonly required: true; readonly default: true }>;
|
|
311
|
+
};
|
|
312
|
+
readonly methods: AccountBankStatementLineMethods;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** Methods of `account.bank.statement.line`: declared ones and transitions. */
|
|
316
|
+
export interface AccountBankStatementLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement.line'> {
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/** `account.fiscal.position` (owner: accounting). */
|
|
320
|
+
export interface AccountFiscalPosition {
|
|
321
|
+
readonly name: 'account.fiscal.position';
|
|
322
|
+
readonly fields: {
|
|
323
|
+
readonly id: F.Id<'account.fiscal.position'>;
|
|
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 sequence: F.Integer<{ readonly default: true }>;
|
|
333
|
+
readonly autoApply: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
334
|
+
readonly countries: F.Char;
|
|
335
|
+
readonly states: F.Char;
|
|
336
|
+
readonly vatRequired: F.Selection<'any' | 'with' | 'without', { readonly required: true; readonly default: true }>;
|
|
337
|
+
readonly note: F.Text<{ readonly translate: true }>;
|
|
338
|
+
readonly taxes: F.One2many<'account.fiscal.position.tax', { readonly required: true }>;
|
|
339
|
+
readonly accounts: F.One2many<'account.fiscal.position.account', { readonly required: true }>;
|
|
340
|
+
};
|
|
341
|
+
readonly methods: AccountFiscalPositionMethods;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/** Methods of `account.fiscal.position`: declared ones and transitions. */
|
|
345
|
+
export interface AccountFiscalPositionMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position'> {
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** `account.fiscal.position.account` (owner: accounting). */
|
|
349
|
+
export interface AccountFiscalPositionAccount {
|
|
350
|
+
readonly name: 'account.fiscal.position.account';
|
|
351
|
+
readonly fields: {
|
|
352
|
+
readonly id: F.Id<'account.fiscal.position.account'>;
|
|
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 position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
359
|
+
readonly accountSrc: F.Many2one<'account.account', { readonly required: true }>;
|
|
360
|
+
readonly accountDest: F.Many2one<'account.account', { readonly required: true }>;
|
|
361
|
+
};
|
|
362
|
+
readonly methods: AccountFiscalPositionAccountMethods;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/** Methods of `account.fiscal.position.account`: declared ones and transitions. */
|
|
366
|
+
export interface AccountFiscalPositionAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.account'> {
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** `account.fiscal.position.tax` (owner: accounting). */
|
|
370
|
+
export interface AccountFiscalPositionTax {
|
|
371
|
+
readonly name: 'account.fiscal.position.tax';
|
|
372
|
+
readonly fields: {
|
|
373
|
+
readonly id: F.Id<'account.fiscal.position.tax'>;
|
|
374
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
375
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
376
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
377
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
378
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
379
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
380
|
+
readonly taxSrc: F.Many2one<'account.tax', { readonly required: true }>;
|
|
381
|
+
readonly taxDest: F.Many2one<'account.tax'>;
|
|
382
|
+
};
|
|
383
|
+
readonly methods: AccountFiscalPositionTaxMethods;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/** Methods of `account.fiscal.position.tax`: declared ones and transitions. */
|
|
387
|
+
export interface AccountFiscalPositionTaxMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.tax'> {
|
|
388
|
+
}
|
|
389
|
+
|
|
109
390
|
/** `account.fiscal.year` (owner: accounting). */
|
|
110
391
|
export interface AccountFiscalYear {
|
|
111
392
|
readonly name: 'account.fiscal.year';
|
|
@@ -132,6 +413,84 @@ export interface AccountFiscalYear {
|
|
|
132
413
|
export interface AccountFiscalYearMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.year'> {
|
|
133
414
|
}
|
|
134
415
|
|
|
416
|
+
/** `account.followup` (owner: accounting). */
|
|
417
|
+
export interface AccountFollowup {
|
|
418
|
+
readonly name: 'account.followup';
|
|
419
|
+
readonly fields: {
|
|
420
|
+
readonly id: F.Id<'account.followup'>;
|
|
421
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
422
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
423
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
424
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
425
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
426
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
427
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
428
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
429
|
+
readonly sentAt: F.Datetime;
|
|
430
|
+
readonly pausedUntil: F.DateOnly;
|
|
431
|
+
readonly pauseNote: F.Char;
|
|
432
|
+
};
|
|
433
|
+
readonly methods: AccountFollowupMethods;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/** Methods of `account.followup`: declared ones and transitions. */
|
|
437
|
+
export interface AccountFollowupMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup'> {
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/** `account.followup.level` (owner: accounting). */
|
|
441
|
+
export interface AccountFollowupLevel {
|
|
442
|
+
readonly name: 'account.followup.level';
|
|
443
|
+
readonly fields: {
|
|
444
|
+
readonly id: F.Id<'account.followup.level'>;
|
|
445
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
446
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
447
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
448
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
449
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
450
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
451
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
452
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
453
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
454
|
+
readonly sendEmail: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
455
|
+
readonly sendSms: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
456
|
+
readonly sendWhatsapp: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
457
|
+
readonly subject: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
458
|
+
readonly body: F.Text<{ readonly required: true; readonly translate: true }>;
|
|
459
|
+
readonly shortText: F.Char<{ readonly translate: true }>;
|
|
460
|
+
readonly blockSales: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
461
|
+
};
|
|
462
|
+
readonly methods: AccountFollowupLevelMethods;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/** Methods of `account.followup.level`: declared ones and transitions. */
|
|
466
|
+
export interface AccountFollowupLevelMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.level'> {
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/** `account.followup.sent` (owner: accounting). */
|
|
470
|
+
export interface AccountFollowupSent {
|
|
471
|
+
readonly name: 'account.followup.sent';
|
|
472
|
+
readonly fields: {
|
|
473
|
+
readonly id: F.Id<'account.followup.sent'>;
|
|
474
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
475
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
476
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
477
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
478
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
479
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
480
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
481
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
482
|
+
readonly amount: F.Char;
|
|
483
|
+
readonly invoices: F.Many2many<'account.move', { readonly required: true }>;
|
|
484
|
+
readonly channels: F.Char;
|
|
485
|
+
readonly automatic: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
486
|
+
};
|
|
487
|
+
readonly methods: AccountFollowupSentMethods;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/** Methods of `account.followup.sent`: declared ones and transitions. */
|
|
491
|
+
export interface AccountFollowupSentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.sent'> {
|
|
492
|
+
}
|
|
493
|
+
|
|
135
494
|
/** `account.full.reconcile` (owner: accounting). */
|
|
136
495
|
export interface AccountFullReconcile {
|
|
137
496
|
readonly name: 'account.full.reconcile';
|
|
@@ -169,6 +528,8 @@ export interface AccountJournal {
|
|
|
169
528
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
170
529
|
readonly type: F.Selection<'sale' | 'purchase' | 'cash' | 'bank' | 'general', { readonly required: true; readonly default: true }>;
|
|
171
530
|
readonly defaultAccount: F.Many2one<'account.account'>;
|
|
531
|
+
readonly bankFeed: F.Char;
|
|
532
|
+
readonly bankFeedCursor: F.Char;
|
|
172
533
|
};
|
|
173
534
|
readonly methods: AccountJournalMethods;
|
|
174
535
|
}
|
|
@@ -210,6 +571,7 @@ export interface AccountMove {
|
|
|
210
571
|
readonly dateDue: F.DateOnly;
|
|
211
572
|
readonly paymentDetails: F.Text<{ readonly readonly: true; readonly compute: true }>;
|
|
212
573
|
readonly paymentTerm: F.Many2one<'account.payment.term'>;
|
|
574
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>;
|
|
213
575
|
readonly invoiceOrigin: F.Char;
|
|
214
576
|
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
215
577
|
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
@@ -261,6 +623,7 @@ export interface AccountMoveLine {
|
|
|
261
623
|
readonly lineKind: F.Selection<'entry' | 'product' | 'tax' | 'counterpart', { readonly required: true; readonly default: true }>;
|
|
262
624
|
readonly invoice: F.Many2one<'account.move', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
263
625
|
readonly product: F.Many2one<'product.product'>;
|
|
626
|
+
readonly analytic: F.Many2one<'account.analytic'>;
|
|
264
627
|
readonly quantity: F.Decimal<{ readonly default: true }>;
|
|
265
628
|
readonly priceUnit: F.Decimal<{ readonly default: true }>;
|
|
266
629
|
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
@@ -416,6 +779,38 @@ export interface AccountPaymentWithholding {
|
|
|
416
779
|
export interface AccountPaymentWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.withholding'> {
|
|
417
780
|
}
|
|
418
781
|
|
|
782
|
+
/** `account.reconcile.rule` (owner: accounting). */
|
|
783
|
+
export interface AccountReconcileRule {
|
|
784
|
+
readonly name: 'account.reconcile.rule';
|
|
785
|
+
readonly fields: {
|
|
786
|
+
readonly id: F.Id<'account.reconcile.rule'>;
|
|
787
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
788
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
789
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
790
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
791
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
792
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
793
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
794
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
795
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
796
|
+
readonly journals: F.Many2many<'account.journal', { readonly required: true }>;
|
|
797
|
+
readonly labelContains: F.Char;
|
|
798
|
+
readonly direction: F.Selection<'both' | 'in' | 'out', { readonly required: true; readonly default: true }>;
|
|
799
|
+
readonly amountMin: F.Decimal;
|
|
800
|
+
readonly amountMax: F.Decimal;
|
|
801
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
802
|
+
readonly outcome: F.Selection<'match' | 'write_off' | 'suggest', { readonly required: true; readonly default: true }>;
|
|
803
|
+
readonly writeOffAccount: F.Many2one<'account.account'>;
|
|
804
|
+
readonly writeOffLabel: F.Char;
|
|
805
|
+
readonly hits: F.Integer<{ readonly default: true }>;
|
|
806
|
+
};
|
|
807
|
+
readonly methods: AccountReconcileRuleMethods;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/** Methods of `account.reconcile.rule`: declared ones and transitions. */
|
|
811
|
+
export interface AccountReconcileRuleMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.reconcile.rule'> {
|
|
812
|
+
}
|
|
813
|
+
|
|
419
814
|
/** `account.tax` (owner: product; extended by: accounting). */
|
|
420
815
|
export interface AccountTax {
|
|
421
816
|
readonly name: 'account.tax';
|
|
@@ -502,6 +897,52 @@ export interface AccountWithholding {
|
|
|
502
897
|
export interface AccountWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.withholding'> {
|
|
503
898
|
}
|
|
504
899
|
|
|
900
|
+
/** `approval.delegation` (owner: permissions). */
|
|
901
|
+
export interface ApprovalDelegation {
|
|
902
|
+
readonly name: 'approval.delegation';
|
|
903
|
+
readonly fields: {
|
|
904
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
905
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
906
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
907
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
908
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
909
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
910
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
911
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
912
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
913
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
914
|
+
readonly note: F.Char;
|
|
915
|
+
};
|
|
916
|
+
readonly methods: ApprovalDelegationMethods;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
920
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
/** `approval.event` (owner: permissions). */
|
|
924
|
+
export interface ApprovalEvent {
|
|
925
|
+
readonly name: 'approval.event';
|
|
926
|
+
readonly fields: {
|
|
927
|
+
readonly id: F.Id<'approval.event'>;
|
|
928
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
929
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
930
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
931
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
932
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
933
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
934
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
935
|
+
readonly user: F.Many2one<'res.users'>;
|
|
936
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
937
|
+
readonly note: F.Text;
|
|
938
|
+
};
|
|
939
|
+
readonly methods: ApprovalEventMethods;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
943
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
944
|
+
}
|
|
945
|
+
|
|
505
946
|
/** `approval.level` (owner: permissions). */
|
|
506
947
|
export interface ApprovalLevel {
|
|
507
948
|
readonly name: 'approval.level';
|
|
@@ -516,7 +957,16 @@ export interface ApprovalLevel {
|
|
|
516
957
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
517
958
|
readonly name: F.Char<{ readonly required: true }>;
|
|
518
959
|
readonly condition: F.Json;
|
|
519
|
-
readonly
|
|
960
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
961
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
962
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
963
|
+
readonly approverRole: F.Char;
|
|
964
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
965
|
+
readonly approverField: F.Char;
|
|
966
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
967
|
+
readonly quorumCount: F.Integer;
|
|
968
|
+
readonly deadlineHours: F.Integer;
|
|
969
|
+
readonly escalateRole: F.Char;
|
|
520
970
|
};
|
|
521
971
|
readonly methods: ApprovalLevelMethods;
|
|
522
972
|
}
|
|
@@ -525,6 +975,29 @@ export interface ApprovalLevel {
|
|
|
525
975
|
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
526
976
|
}
|
|
527
977
|
|
|
978
|
+
/** `approval.link` (owner: permissions). */
|
|
979
|
+
export interface ApprovalLink {
|
|
980
|
+
readonly name: 'approval.link';
|
|
981
|
+
readonly fields: {
|
|
982
|
+
readonly id: F.Id<'approval.link'>;
|
|
983
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
984
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
985
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
986
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
987
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
988
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
989
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
990
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
991
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
992
|
+
readonly usedAt: F.Datetime;
|
|
993
|
+
};
|
|
994
|
+
readonly methods: ApprovalLinkMethods;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
998
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
999
|
+
}
|
|
1000
|
+
|
|
528
1001
|
/** `approval.policy` (owner: permissions). */
|
|
529
1002
|
export interface ApprovalPolicy {
|
|
530
1003
|
readonly name: 'approval.policy';
|
|
@@ -540,8 +1013,18 @@ export interface ApprovalPolicy {
|
|
|
540
1013
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
541
1014
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
542
1015
|
readonly company: F.Many2one<'res.company'>;
|
|
1016
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1017
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
543
1018
|
readonly onApproved: F.Char;
|
|
544
1019
|
readonly onRejected: F.Char;
|
|
1020
|
+
readonly onSentBack: F.Char;
|
|
1021
|
+
readonly onWithdrawn: F.Char;
|
|
1022
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1023
|
+
readonly condition: F.Json;
|
|
1024
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
1025
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1026
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
1027
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
545
1028
|
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
546
1029
|
};
|
|
547
1030
|
readonly methods: ApprovalPolicyMethods;
|
|
@@ -568,8 +1051,19 @@ export interface ApprovalRequest {
|
|
|
568
1051
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
569
1052
|
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
570
1053
|
readonly company: F.Many2one<'res.company'>;
|
|
571
|
-
readonly approverRole: F.Char
|
|
572
|
-
readonly
|
|
1054
|
+
readonly approverRole: F.Char;
|
|
1055
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1056
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
1057
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1058
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1059
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
1060
|
+
readonly dueAt: F.Datetime;
|
|
1061
|
+
readonly remindedAt: F.Datetime;
|
|
1062
|
+
readonly escalatedTo: F.Char;
|
|
1063
|
+
readonly escalatedAt: F.Datetime;
|
|
1064
|
+
readonly startedAt: F.Datetime;
|
|
1065
|
+
readonly explanation: F.Text;
|
|
1066
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
573
1067
|
readonly requestedBy: F.Many2one<'res.users'>;
|
|
574
1068
|
readonly decidedBy: F.Many2one<'res.users'>;
|
|
575
1069
|
readonly decidedAt: F.Datetime;
|
|
@@ -582,6 +1076,33 @@ export interface ApprovalRequest {
|
|
|
582
1076
|
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
583
1077
|
}
|
|
584
1078
|
|
|
1079
|
+
/** `approval.vote` (owner: permissions). */
|
|
1080
|
+
export interface ApprovalVote {
|
|
1081
|
+
readonly name: 'approval.vote';
|
|
1082
|
+
readonly fields: {
|
|
1083
|
+
readonly id: F.Id<'approval.vote'>;
|
|
1084
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1085
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1086
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1087
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1088
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1089
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
1090
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1091
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
1092
|
+
readonly comment: F.Text;
|
|
1093
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
1094
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
1095
|
+
readonly ip: F.Char;
|
|
1096
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1097
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1098
|
+
};
|
|
1099
|
+
readonly methods: ApprovalVoteMethods;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
1103
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
1104
|
+
}
|
|
1105
|
+
|
|
585
1106
|
/** `audit.event` (owner: base). */
|
|
586
1107
|
export interface AuditEvent {
|
|
587
1108
|
readonly name: 'audit.event';
|
|
@@ -996,233 +1517,11 @@ export interface MailMessageReaction {
|
|
|
996
1517
|
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
997
1518
|
}
|
|
998
1519
|
|
|
999
|
-
/** `
|
|
1000
|
-
export interface
|
|
1001
|
-
readonly name: '
|
|
1520
|
+
/** `oauth.app` (owner: base). */
|
|
1521
|
+
export interface OauthApp {
|
|
1522
|
+
readonly name: 'oauth.app';
|
|
1002
1523
|
readonly fields: {
|
|
1003
|
-
readonly id: F.Id<'
|
|
1004
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1005
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1006
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1007
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1008
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1009
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1010
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1011
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1012
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1013
|
-
readonly version: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1014
|
-
readonly validFrom: F.DateOnly;
|
|
1015
|
-
readonly validTo: F.DateOnly;
|
|
1016
|
-
readonly lines: F.One2many<'mrp.bom.line', { readonly required: true }>;
|
|
1017
|
-
readonly operations: F.One2many<'mrp.bom.operation', { readonly required: true }>;
|
|
1018
|
-
readonly byproducts: F.One2many<'mrp.bom.byproduct', { readonly required: true }>;
|
|
1019
|
-
readonly note: F.Text;
|
|
1020
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1021
|
-
};
|
|
1022
|
-
readonly methods: MrpBomMethods;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
/** Methods of `mrp.bom`: declared ones and transitions. */
|
|
1026
|
-
export interface MrpBomMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.bom'> {
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
/** `mrp.bom.byproduct` (owner: mrp). */
|
|
1030
|
-
export interface MrpBomByproduct {
|
|
1031
|
-
readonly name: 'mrp.bom.byproduct';
|
|
1032
|
-
readonly fields: {
|
|
1033
|
-
readonly id: F.Id<'mrp.bom.byproduct'>;
|
|
1034
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1035
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1036
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1037
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1038
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1039
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
1040
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1041
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1042
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
1043
|
-
readonly costShare: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1044
|
-
};
|
|
1045
|
-
readonly methods: MrpBomByproductMethods;
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
/** Methods of `mrp.bom.byproduct`: declared ones and transitions. */
|
|
1049
|
-
export interface MrpBomByproductMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.bom.byproduct'> {
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/** `mrp.bom.line` (owner: mrp). */
|
|
1053
|
-
export interface MrpBomLine {
|
|
1054
|
-
readonly name: 'mrp.bom.line';
|
|
1055
|
-
readonly fields: {
|
|
1056
|
-
readonly id: F.Id<'mrp.bom.line'>;
|
|
1057
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1058
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1059
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1060
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1061
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1062
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
1063
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1064
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1065
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
1066
|
-
};
|
|
1067
|
-
readonly methods: MrpBomLineMethods;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
/** Methods of `mrp.bom.line`: declared ones and transitions. */
|
|
1071
|
-
export interface MrpBomLineMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.bom.line'> {
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
/** `mrp.bom.operation` (owner: mrp). */
|
|
1075
|
-
export interface MrpBomOperation {
|
|
1076
|
-
readonly name: 'mrp.bom.operation';
|
|
1077
|
-
readonly fields: {
|
|
1078
|
-
readonly id: F.Id<'mrp.bom.operation'>;
|
|
1079
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1080
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1081
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1082
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1083
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1084
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
1085
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
1086
|
-
readonly workcenter: F.Many2one<'mrp.workcenter', { readonly required: true }>;
|
|
1087
|
-
readonly minutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1088
|
-
};
|
|
1089
|
-
readonly methods: MrpBomOperationMethods;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
/** Methods of `mrp.bom.operation`: declared ones and transitions. */
|
|
1093
|
-
export interface MrpBomOperationMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.bom.operation'> {
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
/** `mrp.production` (owner: mrp). */
|
|
1097
|
-
export interface MrpProduction {
|
|
1098
|
-
readonly name: 'mrp.production';
|
|
1099
|
-
readonly fields: {
|
|
1100
|
-
readonly id: F.Id<'mrp.production'>;
|
|
1101
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1102
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1103
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1104
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1105
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1106
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1107
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1108
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1109
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1110
|
-
readonly bom: F.Many2one<'mrp.bom'>;
|
|
1111
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1112
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1113
|
-
readonly components: F.One2many<'mrp.production.component', { readonly required: true }>;
|
|
1114
|
-
readonly scraps: F.One2many<'stock.scrap', { readonly required: true }>;
|
|
1115
|
-
readonly workorders: F.One2many<'mrp.workorder', { readonly required: true }>;
|
|
1116
|
-
readonly consumption: F.Many2one<'stock.picking'>;
|
|
1117
|
-
readonly output: F.Many2one<'stock.picking'>;
|
|
1118
|
-
readonly materialCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1119
|
-
readonly operationCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1120
|
-
readonly totalCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1121
|
-
readonly unitCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1122
|
-
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1123
|
-
readonly note: F.Text;
|
|
1124
|
-
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1125
|
-
};
|
|
1126
|
-
readonly methods: MrpProductionMethods;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
/** Methods of `mrp.production`: declared ones and transitions. */
|
|
1130
|
-
export interface MrpProductionMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.production'> {
|
|
1131
|
-
readonly 'cancel': () => Promise<void>;
|
|
1132
|
-
readonly 'check': () => Promise<void>;
|
|
1133
|
-
readonly 'confirm': () => Promise<void>;
|
|
1134
|
-
readonly 'produce': () => Promise<void>;
|
|
1135
|
-
readonly 'redraft': () => Promise<void>;
|
|
1136
|
-
readonly 'reserve': () => Promise<void>;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
/** `mrp.production.component` (owner: mrp). */
|
|
1140
|
-
export interface MrpProductionComponent {
|
|
1141
|
-
readonly name: 'mrp.production.component';
|
|
1142
|
-
readonly fields: {
|
|
1143
|
-
readonly id: F.Id<'mrp.production.component'>;
|
|
1144
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1145
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1146
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1147
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1148
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1149
|
-
readonly production: F.Many2one<'mrp.production', { readonly required: true }>;
|
|
1150
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1151
|
-
readonly required: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1152
|
-
readonly available: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1153
|
-
readonly short: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1154
|
-
readonly cost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1155
|
-
};
|
|
1156
|
-
readonly methods: MrpProductionComponentMethods;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/** Methods of `mrp.production.component`: declared ones and transitions. */
|
|
1160
|
-
export interface MrpProductionComponentMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.production.component'> {
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
/** `mrp.workcenter` (owner: mrp). */
|
|
1164
|
-
export interface MrpWorkcenter {
|
|
1165
|
-
readonly name: 'mrp.workcenter';
|
|
1166
|
-
readonly fields: {
|
|
1167
|
-
readonly id: F.Id<'mrp.workcenter'>;
|
|
1168
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1169
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1170
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1171
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1172
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1173
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1174
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1175
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
1176
|
-
readonly code: F.Char;
|
|
1177
|
-
readonly hoursPerDay: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1178
|
-
readonly costPerHour: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1179
|
-
readonly note: F.Text;
|
|
1180
|
-
};
|
|
1181
|
-
readonly methods: MrpWorkcenterMethods;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
/** Methods of `mrp.workcenter`: declared ones and transitions. */
|
|
1185
|
-
export interface MrpWorkcenterMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.workcenter'> {
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
/** `mrp.workorder` (owner: mrp). */
|
|
1189
|
-
export interface MrpWorkorder {
|
|
1190
|
-
readonly name: 'mrp.workorder';
|
|
1191
|
-
readonly fields: {
|
|
1192
|
-
readonly id: F.Id<'mrp.workorder'>;
|
|
1193
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1194
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1195
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1196
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1197
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1198
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1199
|
-
readonly production: F.Many2one<'mrp.production', { readonly required: true }>;
|
|
1200
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
1201
|
-
readonly workcenter: F.Many2one<'mrp.workcenter', { readonly required: true }>;
|
|
1202
|
-
readonly plannedMinutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1203
|
-
readonly plannedStart: F.Datetime;
|
|
1204
|
-
readonly plannedStop: F.Datetime;
|
|
1205
|
-
readonly startedAt: F.Datetime;
|
|
1206
|
-
readonly finishedAt: F.Datetime;
|
|
1207
|
-
readonly actualMinutes: F.Decimal;
|
|
1208
|
-
readonly state: F.State<'ready' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1209
|
-
};
|
|
1210
|
-
readonly methods: MrpWorkorderMethods;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
/** Methods of `mrp.workorder`: declared ones and transitions. */
|
|
1214
|
-
export interface MrpWorkorderMethods extends F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'mrp.workorder'> {
|
|
1215
|
-
readonly 'cancel': () => Promise<void>;
|
|
1216
|
-
readonly 'close': () => Promise<void>;
|
|
1217
|
-
readonly 'finish': () => Promise<void>;
|
|
1218
|
-
readonly 'start': () => Promise<void>;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
/** `oauth.app` (owner: base). */
|
|
1222
|
-
export interface OauthApp {
|
|
1223
|
-
readonly name: 'oauth.app';
|
|
1224
|
-
readonly fields: {
|
|
1225
|
-
readonly id: F.Id<'oauth.app'>;
|
|
1524
|
+
readonly id: F.Id<'oauth.app'>;
|
|
1226
1525
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1227
1526
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1228
1527
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
@@ -1317,7 +1616,54 @@ export interface OauthToken {
|
|
|
1317
1616
|
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
1318
1617
|
}
|
|
1319
1618
|
|
|
1320
|
-
/** `product.
|
|
1619
|
+
/** `product.attribute` (owner: product). */
|
|
1620
|
+
export interface ProductAttribute {
|
|
1621
|
+
readonly name: 'product.attribute';
|
|
1622
|
+
readonly fields: {
|
|
1623
|
+
readonly id: F.Id<'product.attribute'>;
|
|
1624
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1625
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1626
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1627
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1628
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1629
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1630
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1631
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
1632
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1633
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
1634
|
+
};
|
|
1635
|
+
readonly methods: ProductAttributeMethods;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
1639
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
/** `product.attribute.value` (owner: product). */
|
|
1643
|
+
export interface ProductAttributeValue {
|
|
1644
|
+
readonly name: 'product.attribute.value';
|
|
1645
|
+
readonly fields: {
|
|
1646
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
1647
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1648
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1649
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1650
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1651
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1652
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1653
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1654
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1655
|
+
readonly color: F.Char;
|
|
1656
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1657
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1658
|
+
};
|
|
1659
|
+
readonly methods: ProductAttributeValueMethods;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
1663
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/** `product.category` (owner: product; extended by: accounting). */
|
|
1321
1667
|
export interface ProductCategory {
|
|
1322
1668
|
readonly name: 'product.category';
|
|
1323
1669
|
readonly fields: {
|
|
@@ -1327,20 +1673,81 @@ export interface ProductCategory {
|
|
|
1327
1673
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1328
1674
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1329
1675
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1676
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1330
1677
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1331
1678
|
readonly parent: F.Many2one<'product.category'>;
|
|
1332
|
-
readonly
|
|
1333
|
-
readonly
|
|
1334
|
-
readonly
|
|
1679
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1680
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1681
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1335
1682
|
};
|
|
1336
1683
|
readonly methods: ProductCategoryMethods;
|
|
1337
1684
|
}
|
|
1338
1685
|
|
|
1339
1686
|
/** Methods of `product.category`: declared ones and transitions. */
|
|
1340
|
-
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../
|
|
1687
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.category'> {
|
|
1341
1688
|
}
|
|
1342
1689
|
|
|
1343
|
-
/** `product.
|
|
1690
|
+
/** `product.pricelist` (owner: product). */
|
|
1691
|
+
export interface ProductPricelist {
|
|
1692
|
+
readonly name: 'product.pricelist';
|
|
1693
|
+
readonly fields: {
|
|
1694
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
1695
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1696
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1697
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1698
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1699
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1700
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1701
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1702
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1703
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1704
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1705
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
1706
|
+
readonly note: F.Text;
|
|
1707
|
+
};
|
|
1708
|
+
readonly methods: ProductPricelistMethods;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
1712
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
1716
|
+
export interface ProductPricelistRule {
|
|
1717
|
+
readonly name: 'product.pricelist.rule';
|
|
1718
|
+
readonly fields: {
|
|
1719
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
1720
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1721
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1722
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1723
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1724
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1725
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
1726
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1727
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
1728
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1729
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1730
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
1731
|
+
readonly dateFrom: F.DateOnly;
|
|
1732
|
+
readonly dateTo: F.DateOnly;
|
|
1733
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
1734
|
+
readonly fixedPrice: F.Decimal;
|
|
1735
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
1736
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
1737
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
1738
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
1739
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
1740
|
+
readonly minMargin: F.Decimal;
|
|
1741
|
+
readonly maxMargin: F.Decimal;
|
|
1742
|
+
};
|
|
1743
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
1747
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
/** `product.product` (owner: product; extended by: accounting). */
|
|
1344
1751
|
export interface ProductProduct {
|
|
1345
1752
|
readonly name: 'product.product';
|
|
1346
1753
|
readonly fields: {
|
|
@@ -1355,8 +1762,11 @@ export interface ProductProduct {
|
|
|
1355
1762
|
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1356
1763
|
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1357
1764
|
readonly category: F.Many2one<'product.category'>;
|
|
1765
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
1358
1766
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1359
1767
|
readonly barcode: F.Char;
|
|
1768
|
+
readonly weight: F.Decimal;
|
|
1769
|
+
readonly volume: F.Decimal;
|
|
1360
1770
|
readonly image: F.Many2one<'storage.attachment'>;
|
|
1361
1771
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1362
1772
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
@@ -1367,20 +1777,97 @@ export interface ProductProduct {
|
|
|
1367
1777
|
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1368
1778
|
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1369
1779
|
readonly description: F.Text<{ readonly translate: true }>;
|
|
1370
|
-
readonly
|
|
1371
|
-
readonly
|
|
1372
|
-
readonly
|
|
1373
|
-
readonly
|
|
1374
|
-
readonly
|
|
1375
|
-
readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
1376
|
-
readonly costMethod: F.Selection<'average' | 'fifo'>; // stock_account
|
|
1377
|
-
readonly valuationLayers: F.One2many<'stock.valuation.layer', { readonly required: true }>; // stock_account
|
|
1780
|
+
readonly template: F.Many2one<'product.template'>;
|
|
1781
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1782
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1783
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1784
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1378
1785
|
};
|
|
1379
1786
|
readonly methods: ProductProductMethods;
|
|
1380
1787
|
}
|
|
1381
1788
|
|
|
1382
1789
|
/** Methods of `product.product`: declared ones and transitions. */
|
|
1383
|
-
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../
|
|
1790
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.product'> {
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/** `product.template` (owner: product). */
|
|
1794
|
+
export interface ProductTemplate {
|
|
1795
|
+
readonly name: 'product.template';
|
|
1796
|
+
readonly fields: {
|
|
1797
|
+
readonly id: F.Id<'product.template'>;
|
|
1798
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1799
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1800
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1801
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1802
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1803
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1804
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1805
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1806
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1807
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1808
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1809
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1810
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1811
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1812
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1813
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1814
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1815
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1816
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1817
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1818
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1819
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1820
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1821
|
+
};
|
|
1822
|
+
readonly methods: ProductTemplateMethods;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1826
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1827
|
+
readonly 'generate': () => Promise<void>;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1831
|
+
export interface ProductTemplateExclusion {
|
|
1832
|
+
readonly name: 'product.template.exclusion';
|
|
1833
|
+
readonly fields: {
|
|
1834
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1835
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1836
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1837
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1838
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1839
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1840
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1841
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1842
|
+
readonly note: F.Char;
|
|
1843
|
+
};
|
|
1844
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1848
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/** `product.template.line` (owner: product). */
|
|
1852
|
+
export interface ProductTemplateLine {
|
|
1853
|
+
readonly name: 'product.template.line';
|
|
1854
|
+
readonly fields: {
|
|
1855
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1856
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1857
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1858
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1859
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1860
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1861
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1862
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1863
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1864
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1865
|
+
};
|
|
1866
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1870
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1384
1871
|
}
|
|
1385
1872
|
|
|
1386
1873
|
/** `report.dashboard` (owner: reporting). */
|
|
@@ -1537,7 +2024,7 @@ export interface ResBankAccount {
|
|
|
1537
2024
|
export interface ResBankAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.bank.account'> {
|
|
1538
2025
|
}
|
|
1539
2026
|
|
|
1540
|
-
/** `res.company` (owner: base; extended by: contacts, accounting
|
|
2027
|
+
/** `res.company` (owner: base; extended by: contacts, accounting). */
|
|
1541
2028
|
export interface ResCompany {
|
|
1542
2029
|
readonly name: 'res.company';
|
|
1543
2030
|
readonly fields: {
|
|
@@ -1570,19 +2057,12 @@ export interface ResCompany {
|
|
|
1570
2057
|
readonly accountExchangeGain: F.Many2one<'account.account'>; // accounting
|
|
1571
2058
|
readonly accountExchangeLoss: F.Many2one<'account.account'>; // accounting
|
|
1572
2059
|
readonly accountRetainedEarnings: F.Many2one<'account.account'>; // accounting
|
|
1573
|
-
readonly stockJournal: F.Many2one<'account.journal'>; // stock_account
|
|
1574
|
-
readonly stockValuationAccount: F.Many2one<'account.account'>; // stock_account
|
|
1575
|
-
readonly stockInterimAccount: F.Many2one<'account.account'>; // stock_account
|
|
1576
|
-
readonly stockCogsAccount: F.Many2one<'account.account'>; // stock_account
|
|
1577
|
-
readonly stockAdjustmentAccount: F.Many2one<'account.account'>; // stock_account
|
|
1578
|
-
readonly stockPriceDiffAccount: F.Many2one<'account.account'>; // stock_account
|
|
1579
|
-
readonly stockProductionAccount: F.Many2one<'account.account'>; // stock_account
|
|
1580
2060
|
};
|
|
1581
2061
|
readonly methods: ResCompanyMethods;
|
|
1582
2062
|
}
|
|
1583
2063
|
|
|
1584
2064
|
/** Methods of `res.company`: declared ones and transitions. */
|
|
1585
|
-
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'
|
|
2065
|
+
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'> {
|
|
1586
2066
|
}
|
|
1587
2067
|
|
|
1588
2068
|
/** `res.currency` (owner: base). */
|
|
@@ -1628,7 +2108,7 @@ export interface ResCurrencyRate {
|
|
|
1628
2108
|
export interface ResCurrencyRateMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.currency.rate'> {
|
|
1629
2109
|
}
|
|
1630
2110
|
|
|
1631
|
-
/** `res.partner` (owner: contacts; extended by: accounting). */
|
|
2111
|
+
/** `res.partner` (owner: contacts; extended by: accounting, accounting). */
|
|
1632
2112
|
export interface ResPartner {
|
|
1633
2113
|
readonly name: 'res.partner';
|
|
1634
2114
|
readonly fields: {
|
|
@@ -1649,6 +2129,7 @@ export interface ResPartner {
|
|
|
1649
2129
|
readonly parent: F.Many2one<'res.partner'>;
|
|
1650
2130
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1651
2131
|
readonly email: F.Char;
|
|
2132
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1652
2133
|
readonly phone: F.Char;
|
|
1653
2134
|
readonly mobile: F.Char;
|
|
1654
2135
|
readonly website: F.Char;
|
|
@@ -1662,13 +2143,17 @@ export interface ResPartner {
|
|
|
1662
2143
|
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1663
2144
|
readonly currency: F.Many2one<'res.currency'>;
|
|
1664
2145
|
readonly notes: F.Text;
|
|
2146
|
+
readonly sendInvoicesByEmail: F.Bool<{ readonly required: true; readonly default: true }>; // accounting
|
|
1665
2147
|
readonly withholdings: F.Many2many<'account.withholding', { readonly required: true }>; // accounting
|
|
2148
|
+
readonly receivableAccount: F.Many2one<'account.account'>; // accounting
|
|
2149
|
+
readonly payableAccount: F.Many2one<'account.account'>; // accounting
|
|
2150
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>; // accounting
|
|
1666
2151
|
};
|
|
1667
2152
|
readonly methods: ResPartnerMethods;
|
|
1668
2153
|
}
|
|
1669
2154
|
|
|
1670
2155
|
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1671
|
-
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'> {
|
|
2156
|
+
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'> {
|
|
1672
2157
|
}
|
|
1673
2158
|
|
|
1674
2159
|
/** `res.partner.tag` (owner: contacts). */
|
|
@@ -1690,369 +2175,55 @@ export interface ResPartnerTag {
|
|
|
1690
2175
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1691
2176
|
}
|
|
1692
2177
|
|
|
1693
|
-
/** `res.
|
|
1694
|
-
export interface
|
|
1695
|
-
readonly name: 'res.
|
|
2178
|
+
/** `res.segment` (owner: permissions). */
|
|
2179
|
+
export interface ResSegment {
|
|
2180
|
+
readonly name: 'res.segment';
|
|
1696
2181
|
readonly fields: {
|
|
1697
|
-
readonly id: F.Id<'res.
|
|
2182
|
+
readonly id: F.Id<'res.segment'>;
|
|
1698
2183
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1699
2184
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1700
2185
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1701
2186
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1702
2187
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1703
2188
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1704
|
-
readonly login: F.Char<{ readonly required: true }>;
|
|
1705
2189
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1706
|
-
readonly
|
|
1707
|
-
readonly phone: F.Char;
|
|
1708
|
-
readonly company: F.Many2one<'res.company'>;
|
|
2190
|
+
readonly code: F.Char;
|
|
1709
2191
|
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1710
|
-
readonly lang: F.Char<{ readonly default: true }>;
|
|
1711
|
-
readonly tz: F.Char<{ readonly default: true }>;
|
|
1712
|
-
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1713
|
-
};
|
|
1714
|
-
readonly methods: ResUsersMethods;
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
/** Methods of `res.users`: declared ones and transitions. */
|
|
1718
|
-
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
/** `stock.count` (owner: stock). */
|
|
1722
|
-
export interface StockCount {
|
|
1723
|
-
readonly name: 'stock.count';
|
|
1724
|
-
readonly fields: {
|
|
1725
|
-
readonly id: F.Id<'stock.count'>;
|
|
1726
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1727
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1728
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1729
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1730
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1731
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1732
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1733
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1734
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1735
|
-
readonly user: F.Many2one<'res.users', { readonly default: true }>;
|
|
1736
|
-
readonly lines: F.One2many<'stock.count.line', { readonly required: true }>;
|
|
1737
|
-
readonly adjustments: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1738
|
-
readonly note: F.Text;
|
|
1739
|
-
readonly state: F.State<'draft' | 'counting' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1740
|
-
};
|
|
1741
|
-
readonly methods: StockCountMethods;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
/** Methods of `stock.count`: declared ones and transitions. */
|
|
1745
|
-
export interface StockCountMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count'> {
|
|
1746
|
-
readonly 'apply': () => Promise<void>;
|
|
1747
|
-
readonly 'cancel': () => Promise<void>;
|
|
1748
|
-
readonly 'redraft': () => Promise<void>;
|
|
1749
|
-
readonly 'start': () => Promise<void>;
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
/** `stock.count.line` (owner: stock). */
|
|
1753
|
-
export interface StockCountLine {
|
|
1754
|
-
readonly name: 'stock.count.line';
|
|
1755
|
-
readonly fields: {
|
|
1756
|
-
readonly id: F.Id<'stock.count.line'>;
|
|
1757
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1758
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1759
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1760
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1761
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1762
|
-
readonly count: F.Many2one<'stock.count', { readonly required: true }>;
|
|
1763
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1764
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1765
|
-
readonly expected: F.Decimal;
|
|
1766
|
-
readonly counted: F.Decimal;
|
|
1767
|
-
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1768
|
-
};
|
|
1769
|
-
readonly methods: StockCountLineMethods;
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
/** Methods of `stock.count.line`: declared ones and transitions. */
|
|
1773
|
-
export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
/** `stock.location` (owner: stock). */
|
|
1777
|
-
export interface StockLocation {
|
|
1778
|
-
readonly name: 'stock.location';
|
|
1779
|
-
readonly fields: {
|
|
1780
|
-
readonly id: F.Id<'stock.location'>;
|
|
1781
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1782
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1783
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1784
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1785
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1786
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1787
|
-
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1788
|
-
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1789
|
-
readonly parent: F.Many2one<'stock.location'>;
|
|
1790
|
-
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1791
|
-
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1792
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1793
|
-
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
|
|
1794
|
-
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1795
|
-
};
|
|
1796
|
-
readonly methods: StockLocationMethods;
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
/** Methods of `stock.location`: declared ones and transitions. */
|
|
1800
|
-
export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'> {
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
/** `stock.lot` (owner: stock). */
|
|
1804
|
-
export interface StockLot {
|
|
1805
|
-
readonly name: 'stock.lot';
|
|
1806
|
-
readonly fields: {
|
|
1807
|
-
readonly id: F.Id<'stock.lot'>;
|
|
1808
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1809
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1810
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1811
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1812
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1813
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1814
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
1815
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1816
|
-
readonly expiryDate: F.DateOnly;
|
|
1817
|
-
readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
|
|
1818
|
-
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1819
|
-
readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1820
|
-
readonly note: F.Text;
|
|
1821
|
-
};
|
|
1822
|
-
readonly methods: StockLotMethods;
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
/** Methods of `stock.lot`: declared ones and transitions. */
|
|
1826
|
-
export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
/** `stock.lot.line` (owner: stock). */
|
|
1830
|
-
export interface StockLotLine {
|
|
1831
|
-
readonly name: 'stock.lot.line';
|
|
1832
|
-
readonly fields: {
|
|
1833
|
-
readonly id: F.Id<'stock.lot.line'>;
|
|
1834
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1835
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1836
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1837
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1838
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1839
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1840
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1841
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1842
|
-
readonly lotName: F.Char;
|
|
1843
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1844
|
-
};
|
|
1845
|
-
readonly methods: StockLotLineMethods;
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
/** Methods of `stock.lot.line`: declared ones and transitions. */
|
|
1849
|
-
export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
/** `stock.move` (owner: stock; extended by: stock_account, mrp_account). */
|
|
1853
|
-
export interface StockMove {
|
|
1854
|
-
readonly name: 'stock.move';
|
|
1855
|
-
readonly fields: {
|
|
1856
|
-
readonly id: F.Id<'stock.move'>;
|
|
1857
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1858
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1859
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1860
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1861
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1862
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1863
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1864
|
-
readonly name: F.Char;
|
|
1865
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1866
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
1867
|
-
readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1868
|
-
readonly quantityDone: F.Decimal;
|
|
1869
|
-
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1870
|
-
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
1871
|
-
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1872
|
-
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1873
|
-
};
|
|
1874
|
-
readonly methods: StockMoveMethods;
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
/** Methods of `stock.move`: declared ones and transitions. */
|
|
1878
|
-
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'> {
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
/** `stock.picking` (owner: stock; extended by: stock_account, stock_account, mrp_account). */
|
|
1882
|
-
export interface StockPicking {
|
|
1883
|
-
readonly name: 'stock.picking';
|
|
1884
|
-
readonly fields: {
|
|
1885
|
-
readonly id: F.Id<'stock.picking'>;
|
|
1886
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1887
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1888
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1889
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1890
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1891
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1892
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1893
|
-
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production', { readonly required: true; readonly default: true }>;
|
|
1894
|
-
readonly partner: F.Many2one<'res.partner'>;
|
|
1895
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1896
|
-
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1897
|
-
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1898
|
-
readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1899
|
-
readonly doneDate: F.DateOnly;
|
|
1900
|
-
readonly origin: F.Char;
|
|
1901
2192
|
readonly note: F.Text;
|
|
1902
|
-
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
1903
|
-
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1904
|
-
readonly count: F.Many2one<'stock.count'>;
|
|
1905
|
-
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
1906
|
-
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1907
|
-
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1908
|
-
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1909
|
-
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1910
|
-
readonly valuationLayers: F.One2many<'stock.valuation.layer', { readonly required: true }>; // stock_account
|
|
1911
2193
|
};
|
|
1912
|
-
readonly methods:
|
|
2194
|
+
readonly methods: ResSegmentMethods;
|
|
1913
2195
|
}
|
|
1914
2196
|
|
|
1915
|
-
/** Methods of `
|
|
1916
|
-
export interface
|
|
1917
|
-
readonly 'cancel': () => Promise<void>;
|
|
1918
|
-
readonly 'confirm': () => Promise<void>;
|
|
1919
|
-
readonly 'redraft': () => Promise<void>;
|
|
1920
|
-
readonly 'reserve': () => Promise<void>;
|
|
1921
|
-
readonly 'unreserve': () => Promise<void>;
|
|
1922
|
-
readonly 'validate': () => Promise<void>;
|
|
2197
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
2198
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1923
2199
|
}
|
|
1924
2200
|
|
|
1925
|
-
/** `
|
|
1926
|
-
export interface
|
|
1927
|
-
readonly name: '
|
|
1928
|
-
readonly fields: {
|
|
1929
|
-
readonly id: F.Id<'stock.quant'>;
|
|
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 company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1936
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1937
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1938
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1939
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1940
|
-
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1941
|
-
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1942
|
-
readonly available: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1943
|
-
};
|
|
1944
|
-
readonly methods: StockQuantMethods;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
/** Methods of `stock.quant`: declared ones and transitions. */
|
|
1948
|
-
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
/** `stock.reservation` (owner: stock). */
|
|
1952
|
-
export interface StockReservation {
|
|
1953
|
-
readonly name: 'stock.reservation';
|
|
1954
|
-
readonly fields: {
|
|
1955
|
-
readonly id: F.Id<'stock.reservation'>;
|
|
1956
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1957
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1958
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1959
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1960
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1961
|
-
readonly move: F.Many2one<'stock.move', { readonly required: true }>;
|
|
1962
|
-
readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
|
|
1963
|
-
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
1964
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1965
|
-
};
|
|
1966
|
-
readonly methods: StockReservationMethods;
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
/** Methods of `stock.reservation`: declared ones and transitions. */
|
|
1970
|
-
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
/** `stock.scrap` (owner: stock; extended by: mrp). */
|
|
1974
|
-
export interface StockScrap {
|
|
1975
|
-
readonly name: 'stock.scrap';
|
|
1976
|
-
readonly fields: {
|
|
1977
|
-
readonly id: F.Id<'stock.scrap'>;
|
|
1978
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1979
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1980
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1981
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1982
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1983
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1984
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1985
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1986
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1987
|
-
readonly location: F.Many2one<'stock.location'>;
|
|
1988
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1989
|
-
readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
|
|
1990
|
-
readonly note: F.Text;
|
|
1991
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1992
|
-
readonly picking: F.Many2one<'stock.picking'>;
|
|
1993
|
-
readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1994
|
-
readonly production: F.Many2one<'mrp.production'>; // mrp
|
|
1995
|
-
};
|
|
1996
|
-
readonly methods: StockScrapMethods;
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
/** Methods of `stock.scrap`: declared ones and transitions. */
|
|
2000
|
-
export interface StockScrapMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.scrap'>, F.Methods<typeof import('../../mrp/index.js').mrpShutro, 'stock.scrap'> {
|
|
2001
|
-
readonly 'cancel': () => Promise<void>;
|
|
2002
|
-
readonly 'validate': () => Promise<void>;
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
/** `stock.valuation.layer` (owner: stock_account). */
|
|
2006
|
-
export interface StockValuationLayer {
|
|
2007
|
-
readonly name: 'stock.valuation.layer';
|
|
2008
|
-
readonly fields: {
|
|
2009
|
-
readonly id: F.Id<'stock.valuation.layer'>;
|
|
2010
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2011
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2012
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2013
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2014
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2015
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2016
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2017
|
-
readonly picking: F.Many2one<'stock.picking'>;
|
|
2018
|
-
readonly move: F.Many2one<'stock.move'>;
|
|
2019
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2020
|
-
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
2021
|
-
readonly unitCost: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2022
|
-
readonly value: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2023
|
-
readonly remainingQty: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2024
|
-
readonly remainingValue: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2025
|
-
readonly accountMove: F.Many2one<'account.move'>;
|
|
2026
|
-
};
|
|
2027
|
-
readonly methods: StockValuationLayerMethods;
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
/** Methods of `stock.valuation.layer`: declared ones and transitions. */
|
|
2031
|
-
export interface StockValuationLayerMethods extends F.Methods<typeof import('../../stock_account/index.js').stockAccountShutro, 'stock.valuation.layer'> {
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
/** `stock.warehouse` (owner: stock). */
|
|
2035
|
-
export interface StockWarehouse {
|
|
2036
|
-
readonly name: 'stock.warehouse';
|
|
2201
|
+
/** `res.users` (owner: base). */
|
|
2202
|
+
export interface ResUsers {
|
|
2203
|
+
readonly name: 'res.users';
|
|
2037
2204
|
readonly fields: {
|
|
2038
|
-
readonly id: F.Id<'
|
|
2205
|
+
readonly id: F.Id<'res.users'>;
|
|
2039
2206
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2040
2207
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2041
2208
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2042
2209
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2043
2210
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2044
2211
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2045
|
-
readonly
|
|
2212
|
+
readonly login: F.Char<{ readonly required: true }>;
|
|
2046
2213
|
readonly name: F.Char<{ readonly required: true }>;
|
|
2047
|
-
readonly
|
|
2048
|
-
readonly
|
|
2049
|
-
readonly
|
|
2214
|
+
readonly email: F.Char;
|
|
2215
|
+
readonly phone: F.Char;
|
|
2216
|
+
readonly company: F.Many2one<'res.company'>;
|
|
2217
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
2218
|
+
readonly lang: F.Char<{ readonly default: true }>;
|
|
2219
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
2220
|
+
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2050
2221
|
};
|
|
2051
|
-
readonly methods:
|
|
2222
|
+
readonly methods: ResUsersMethods;
|
|
2052
2223
|
}
|
|
2053
2224
|
|
|
2054
|
-
/** Methods of `
|
|
2055
|
-
export interface
|
|
2225
|
+
/** Methods of `res.users`: declared ones and transitions. */
|
|
2226
|
+
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
2056
2227
|
}
|
|
2057
2228
|
|
|
2058
2229
|
/** `storage.attachment` (owner: storage). */
|