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,20 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: af4eb6b5269b81cc
|
|
2
2
|
// Schema view of module `pos_stock` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
3
|
import type { F } from '../../server/orm.js';
|
|
4
4
|
|
|
5
5
|
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
6
|
export interface SchemaView {
|
|
7
7
|
readonly 'account.account': AccountAccount;
|
|
8
|
+
readonly 'account.analytic': AccountAnalytic;
|
|
9
|
+
readonly 'account.bank.statement': AccountBankStatement;
|
|
10
|
+
readonly 'account.bank.statement.line': AccountBankStatementLine;
|
|
11
|
+
readonly 'account.fiscal.position': AccountFiscalPosition;
|
|
12
|
+
readonly 'account.fiscal.position.account': AccountFiscalPositionAccount;
|
|
13
|
+
readonly 'account.fiscal.position.tax': AccountFiscalPositionTax;
|
|
8
14
|
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
15
|
+
readonly 'account.followup': AccountFollowup;
|
|
16
|
+
readonly 'account.followup.level': AccountFollowupLevel;
|
|
17
|
+
readonly 'account.followup.sent': AccountFollowupSent;
|
|
9
18
|
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
10
19
|
readonly 'account.journal': AccountJournal;
|
|
11
20
|
readonly 'account.move': AccountMove;
|
|
@@ -15,12 +24,17 @@ export interface SchemaView {
|
|
|
15
24
|
readonly 'account.payment.term': AccountPaymentTerm;
|
|
16
25
|
readonly 'account.payment.term.line': AccountPaymentTermLine;
|
|
17
26
|
readonly 'account.payment.withholding': AccountPaymentWithholding;
|
|
27
|
+
readonly 'account.reconcile.rule': AccountReconcileRule;
|
|
18
28
|
readonly 'account.tax': AccountTax;
|
|
19
29
|
readonly 'account.tax.component': AccountTaxComponent;
|
|
20
30
|
readonly 'account.withholding': AccountWithholding;
|
|
31
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
32
|
+
readonly 'approval.event': ApprovalEvent;
|
|
21
33
|
readonly 'approval.level': ApprovalLevel;
|
|
34
|
+
readonly 'approval.link': ApprovalLink;
|
|
22
35
|
readonly 'approval.policy': ApprovalPolicy;
|
|
23
36
|
readonly 'approval.request': ApprovalRequest;
|
|
37
|
+
readonly 'approval.vote': ApprovalVote;
|
|
24
38
|
readonly 'audit.event': AuditEvent;
|
|
25
39
|
readonly 'auth.api_key': AuthApiKey;
|
|
26
40
|
readonly 'auth.credential': AuthCredential;
|
|
@@ -48,8 +62,15 @@ export interface SchemaView {
|
|
|
48
62
|
readonly 'pos.payment.method': PosPaymentMethod;
|
|
49
63
|
readonly 'pos.session': PosSession;
|
|
50
64
|
readonly 'pos.shop': PosShop;
|
|
65
|
+
readonly 'product.attribute': ProductAttribute;
|
|
66
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
51
67
|
readonly 'product.category': ProductCategory;
|
|
68
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
69
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
52
70
|
readonly 'product.product': ProductProduct;
|
|
71
|
+
readonly 'product.template': ProductTemplate;
|
|
72
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
73
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
53
74
|
readonly 'report.dashboard': ReportDashboard;
|
|
54
75
|
readonly 'report.output': ReportOutput;
|
|
55
76
|
readonly 'report.schedule': ReportSchedule;
|
|
@@ -61,6 +82,7 @@ export interface SchemaView {
|
|
|
61
82
|
readonly 'res.currency.rate': ResCurrencyRate;
|
|
62
83
|
readonly 'res.partner': ResPartner;
|
|
63
84
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
85
|
+
readonly 'res.segment': ResSegment;
|
|
64
86
|
readonly 'res.users': ResUsers;
|
|
65
87
|
readonly 'stock.count': StockCount;
|
|
66
88
|
readonly 'stock.count.line': StockCountLine;
|
|
@@ -69,8 +91,13 @@ export interface SchemaView {
|
|
|
69
91
|
readonly 'stock.lot.line': StockLotLine;
|
|
70
92
|
readonly 'stock.move': StockMove;
|
|
71
93
|
readonly 'stock.picking': StockPicking;
|
|
94
|
+
readonly 'stock.picking.charge': StockPickingCharge;
|
|
95
|
+
readonly 'stock.picking.extra': StockPickingExtra;
|
|
96
|
+
readonly 'stock.putaway': StockPutaway;
|
|
72
97
|
readonly 'stock.quant': StockQuant;
|
|
98
|
+
readonly 'stock.reorder': StockReorder;
|
|
73
99
|
readonly 'stock.reservation': StockReservation;
|
|
100
|
+
readonly 'stock.return.reason': StockReturnReason;
|
|
74
101
|
readonly 'stock.scrap': StockScrap;
|
|
75
102
|
readonly 'stock.warehouse': StockWarehouse;
|
|
76
103
|
readonly 'storage.attachment': StorageAttachment;
|
|
@@ -103,6 +130,158 @@ export interface AccountAccount {
|
|
|
103
130
|
export interface AccountAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.account'> {
|
|
104
131
|
}
|
|
105
132
|
|
|
133
|
+
/** `account.analytic` (owner: accounting). */
|
|
134
|
+
export interface AccountAnalytic {
|
|
135
|
+
readonly name: 'account.analytic';
|
|
136
|
+
readonly fields: {
|
|
137
|
+
readonly id: F.Id<'account.analytic'>;
|
|
138
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
139
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
140
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
141
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
142
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
143
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
144
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
145
|
+
readonly code: F.Char;
|
|
146
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
147
|
+
readonly parent: F.Many2one<'account.analytic'>;
|
|
148
|
+
readonly note: F.Text;
|
|
149
|
+
};
|
|
150
|
+
readonly methods: AccountAnalyticMethods;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** Methods of `account.analytic`: declared ones and transitions. */
|
|
154
|
+
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** `account.bank.statement` (owner: accounting). */
|
|
158
|
+
export interface AccountBankStatement {
|
|
159
|
+
readonly name: 'account.bank.statement';
|
|
160
|
+
readonly fields: {
|
|
161
|
+
readonly id: F.Id<'account.bank.statement'>;
|
|
162
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
163
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
164
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
165
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
166
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
167
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
168
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
169
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
170
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
171
|
+
readonly balanceStart: F.Decimal<{ readonly default: true }>;
|
|
172
|
+
readonly balanceEnd: F.Decimal<{ readonly default: true }>;
|
|
173
|
+
readonly lines: F.One2many<'account.bank.statement.line', { readonly required: true }>;
|
|
174
|
+
readonly state: F.State<'open' | 'done', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
175
|
+
};
|
|
176
|
+
readonly methods: AccountBankStatementMethods;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Methods of `account.bank.statement`: declared ones and transitions. */
|
|
180
|
+
export interface AccountBankStatementMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement'> {
|
|
181
|
+
readonly 'close': () => Promise<void>;
|
|
182
|
+
readonly 'reopen': () => Promise<void>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** `account.bank.statement.line` (owner: accounting). */
|
|
186
|
+
export interface AccountBankStatementLine {
|
|
187
|
+
readonly name: 'account.bank.statement.line';
|
|
188
|
+
readonly fields: {
|
|
189
|
+
readonly id: F.Id<'account.bank.statement.line'>;
|
|
190
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
191
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
192
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
193
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
194
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
195
|
+
readonly statement: F.Many2one<'account.bank.statement', { readonly required: true }>;
|
|
196
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
197
|
+
readonly label: F.Char<{ readonly required: true }>;
|
|
198
|
+
readonly reference: F.Char;
|
|
199
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
200
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
201
|
+
readonly uniqueKey: F.Char;
|
|
202
|
+
readonly payment: F.Many2one<'account.payment'>;
|
|
203
|
+
readonly move: F.Many2one<'account.move'>;
|
|
204
|
+
readonly rule: F.Many2one<'account.reconcile.rule'>;
|
|
205
|
+
readonly state: F.Selection<'open' | 'matched', { readonly required: true; readonly default: true }>;
|
|
206
|
+
};
|
|
207
|
+
readonly methods: AccountBankStatementLineMethods;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/** Methods of `account.bank.statement.line`: declared ones and transitions. */
|
|
211
|
+
export interface AccountBankStatementLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement.line'> {
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/** `account.fiscal.position` (owner: accounting). */
|
|
215
|
+
export interface AccountFiscalPosition {
|
|
216
|
+
readonly name: 'account.fiscal.position';
|
|
217
|
+
readonly fields: {
|
|
218
|
+
readonly id: F.Id<'account.fiscal.position'>;
|
|
219
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
220
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
221
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
222
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
223
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
224
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
225
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
226
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
227
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
228
|
+
readonly autoApply: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
229
|
+
readonly countries: F.Char;
|
|
230
|
+
readonly states: F.Char;
|
|
231
|
+
readonly vatRequired: F.Selection<'any' | 'with' | 'without', { readonly required: true; readonly default: true }>;
|
|
232
|
+
readonly note: F.Text<{ readonly translate: true }>;
|
|
233
|
+
readonly taxes: F.One2many<'account.fiscal.position.tax', { readonly required: true }>;
|
|
234
|
+
readonly accounts: F.One2many<'account.fiscal.position.account', { readonly required: true }>;
|
|
235
|
+
};
|
|
236
|
+
readonly methods: AccountFiscalPositionMethods;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/** Methods of `account.fiscal.position`: declared ones and transitions. */
|
|
240
|
+
export interface AccountFiscalPositionMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position'> {
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** `account.fiscal.position.account` (owner: accounting). */
|
|
244
|
+
export interface AccountFiscalPositionAccount {
|
|
245
|
+
readonly name: 'account.fiscal.position.account';
|
|
246
|
+
readonly fields: {
|
|
247
|
+
readonly id: F.Id<'account.fiscal.position.account'>;
|
|
248
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
249
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
250
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
251
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
252
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
253
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
254
|
+
readonly accountSrc: F.Many2one<'account.account', { readonly required: true }>;
|
|
255
|
+
readonly accountDest: F.Many2one<'account.account', { readonly required: true }>;
|
|
256
|
+
};
|
|
257
|
+
readonly methods: AccountFiscalPositionAccountMethods;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** Methods of `account.fiscal.position.account`: declared ones and transitions. */
|
|
261
|
+
export interface AccountFiscalPositionAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.account'> {
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/** `account.fiscal.position.tax` (owner: accounting). */
|
|
265
|
+
export interface AccountFiscalPositionTax {
|
|
266
|
+
readonly name: 'account.fiscal.position.tax';
|
|
267
|
+
readonly fields: {
|
|
268
|
+
readonly id: F.Id<'account.fiscal.position.tax'>;
|
|
269
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
270
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
271
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
272
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
273
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
274
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
275
|
+
readonly taxSrc: F.Many2one<'account.tax', { readonly required: true }>;
|
|
276
|
+
readonly taxDest: F.Many2one<'account.tax'>;
|
|
277
|
+
};
|
|
278
|
+
readonly methods: AccountFiscalPositionTaxMethods;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Methods of `account.fiscal.position.tax`: declared ones and transitions. */
|
|
282
|
+
export interface AccountFiscalPositionTaxMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.tax'> {
|
|
283
|
+
}
|
|
284
|
+
|
|
106
285
|
/** `account.fiscal.year` (owner: accounting). */
|
|
107
286
|
export interface AccountFiscalYear {
|
|
108
287
|
readonly name: 'account.fiscal.year';
|
|
@@ -129,6 +308,84 @@ export interface AccountFiscalYear {
|
|
|
129
308
|
export interface AccountFiscalYearMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.year'> {
|
|
130
309
|
}
|
|
131
310
|
|
|
311
|
+
/** `account.followup` (owner: accounting). */
|
|
312
|
+
export interface AccountFollowup {
|
|
313
|
+
readonly name: 'account.followup';
|
|
314
|
+
readonly fields: {
|
|
315
|
+
readonly id: F.Id<'account.followup'>;
|
|
316
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
317
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
318
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
319
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
320
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
321
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
322
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
323
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
324
|
+
readonly sentAt: F.Datetime;
|
|
325
|
+
readonly pausedUntil: F.DateOnly;
|
|
326
|
+
readonly pauseNote: F.Char;
|
|
327
|
+
};
|
|
328
|
+
readonly methods: AccountFollowupMethods;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** Methods of `account.followup`: declared ones and transitions. */
|
|
332
|
+
export interface AccountFollowupMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup'> {
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/** `account.followup.level` (owner: accounting). */
|
|
336
|
+
export interface AccountFollowupLevel {
|
|
337
|
+
readonly name: 'account.followup.level';
|
|
338
|
+
readonly fields: {
|
|
339
|
+
readonly id: F.Id<'account.followup.level'>;
|
|
340
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
341
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
342
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
343
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
344
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
345
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
346
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
347
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
348
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
349
|
+
readonly sendEmail: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
350
|
+
readonly sendSms: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
351
|
+
readonly sendWhatsapp: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
352
|
+
readonly subject: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
353
|
+
readonly body: F.Text<{ readonly required: true; readonly translate: true }>;
|
|
354
|
+
readonly shortText: F.Char<{ readonly translate: true }>;
|
|
355
|
+
readonly blockSales: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
356
|
+
};
|
|
357
|
+
readonly methods: AccountFollowupLevelMethods;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** Methods of `account.followup.level`: declared ones and transitions. */
|
|
361
|
+
export interface AccountFollowupLevelMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.level'> {
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** `account.followup.sent` (owner: accounting). */
|
|
365
|
+
export interface AccountFollowupSent {
|
|
366
|
+
readonly name: 'account.followup.sent';
|
|
367
|
+
readonly fields: {
|
|
368
|
+
readonly id: F.Id<'account.followup.sent'>;
|
|
369
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
370
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
371
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
372
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
373
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
374
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
375
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
376
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
377
|
+
readonly amount: F.Char;
|
|
378
|
+
readonly invoices: F.Many2many<'account.move', { readonly required: true }>;
|
|
379
|
+
readonly channels: F.Char;
|
|
380
|
+
readonly automatic: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
381
|
+
};
|
|
382
|
+
readonly methods: AccountFollowupSentMethods;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** Methods of `account.followup.sent`: declared ones and transitions. */
|
|
386
|
+
export interface AccountFollowupSentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.sent'> {
|
|
387
|
+
}
|
|
388
|
+
|
|
132
389
|
/** `account.full.reconcile` (owner: accounting). */
|
|
133
390
|
export interface AccountFullReconcile {
|
|
134
391
|
readonly name: 'account.full.reconcile';
|
|
@@ -166,6 +423,8 @@ export interface AccountJournal {
|
|
|
166
423
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
167
424
|
readonly type: F.Selection<'sale' | 'purchase' | 'cash' | 'bank' | 'general', { readonly required: true; readonly default: true }>;
|
|
168
425
|
readonly defaultAccount: F.Many2one<'account.account'>;
|
|
426
|
+
readonly bankFeed: F.Char;
|
|
427
|
+
readonly bankFeedCursor: F.Char;
|
|
169
428
|
};
|
|
170
429
|
readonly methods: AccountJournalMethods;
|
|
171
430
|
}
|
|
@@ -207,6 +466,7 @@ export interface AccountMove {
|
|
|
207
466
|
readonly dateDue: F.DateOnly;
|
|
208
467
|
readonly paymentDetails: F.Text<{ readonly readonly: true; readonly compute: true }>;
|
|
209
468
|
readonly paymentTerm: F.Many2one<'account.payment.term'>;
|
|
469
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>;
|
|
210
470
|
readonly invoiceOrigin: F.Char;
|
|
211
471
|
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
212
472
|
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
@@ -258,6 +518,7 @@ export interface AccountMoveLine {
|
|
|
258
518
|
readonly lineKind: F.Selection<'entry' | 'product' | 'tax' | 'counterpart', { readonly required: true; readonly default: true }>;
|
|
259
519
|
readonly invoice: F.Many2one<'account.move', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
260
520
|
readonly product: F.Many2one<'product.product'>;
|
|
521
|
+
readonly analytic: F.Many2one<'account.analytic'>;
|
|
261
522
|
readonly quantity: F.Decimal<{ readonly default: true }>;
|
|
262
523
|
readonly priceUnit: F.Decimal<{ readonly default: true }>;
|
|
263
524
|
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
@@ -413,6 +674,38 @@ export interface AccountPaymentWithholding {
|
|
|
413
674
|
export interface AccountPaymentWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.withholding'> {
|
|
414
675
|
}
|
|
415
676
|
|
|
677
|
+
/** `account.reconcile.rule` (owner: accounting). */
|
|
678
|
+
export interface AccountReconcileRule {
|
|
679
|
+
readonly name: 'account.reconcile.rule';
|
|
680
|
+
readonly fields: {
|
|
681
|
+
readonly id: F.Id<'account.reconcile.rule'>;
|
|
682
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
683
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
684
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
685
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
686
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
687
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
688
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
689
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
690
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
691
|
+
readonly journals: F.Many2many<'account.journal', { readonly required: true }>;
|
|
692
|
+
readonly labelContains: F.Char;
|
|
693
|
+
readonly direction: F.Selection<'both' | 'in' | 'out', { readonly required: true; readonly default: true }>;
|
|
694
|
+
readonly amountMin: F.Decimal;
|
|
695
|
+
readonly amountMax: F.Decimal;
|
|
696
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
697
|
+
readonly outcome: F.Selection<'match' | 'write_off' | 'suggest', { readonly required: true; readonly default: true }>;
|
|
698
|
+
readonly writeOffAccount: F.Many2one<'account.account'>;
|
|
699
|
+
readonly writeOffLabel: F.Char;
|
|
700
|
+
readonly hits: F.Integer<{ readonly default: true }>;
|
|
701
|
+
};
|
|
702
|
+
readonly methods: AccountReconcileRuleMethods;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/** Methods of `account.reconcile.rule`: declared ones and transitions. */
|
|
706
|
+
export interface AccountReconcileRuleMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.reconcile.rule'> {
|
|
707
|
+
}
|
|
708
|
+
|
|
416
709
|
/** `account.tax` (owner: product; extended by: accounting). */
|
|
417
710
|
export interface AccountTax {
|
|
418
711
|
readonly name: 'account.tax';
|
|
@@ -499,6 +792,52 @@ export interface AccountWithholding {
|
|
|
499
792
|
export interface AccountWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.withholding'> {
|
|
500
793
|
}
|
|
501
794
|
|
|
795
|
+
/** `approval.delegation` (owner: permissions). */
|
|
796
|
+
export interface ApprovalDelegation {
|
|
797
|
+
readonly name: 'approval.delegation';
|
|
798
|
+
readonly fields: {
|
|
799
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
800
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
801
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
802
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
803
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
804
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
805
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
806
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
807
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
808
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
809
|
+
readonly note: F.Char;
|
|
810
|
+
};
|
|
811
|
+
readonly methods: ApprovalDelegationMethods;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
815
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/** `approval.event` (owner: permissions). */
|
|
819
|
+
export interface ApprovalEvent {
|
|
820
|
+
readonly name: 'approval.event';
|
|
821
|
+
readonly fields: {
|
|
822
|
+
readonly id: F.Id<'approval.event'>;
|
|
823
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
824
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
825
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
826
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
827
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
828
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
829
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
830
|
+
readonly user: F.Many2one<'res.users'>;
|
|
831
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
832
|
+
readonly note: F.Text;
|
|
833
|
+
};
|
|
834
|
+
readonly methods: ApprovalEventMethods;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
838
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
839
|
+
}
|
|
840
|
+
|
|
502
841
|
/** `approval.level` (owner: permissions). */
|
|
503
842
|
export interface ApprovalLevel {
|
|
504
843
|
readonly name: 'approval.level';
|
|
@@ -513,7 +852,16 @@ export interface ApprovalLevel {
|
|
|
513
852
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
514
853
|
readonly name: F.Char<{ readonly required: true }>;
|
|
515
854
|
readonly condition: F.Json;
|
|
516
|
-
readonly
|
|
855
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
856
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
857
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
858
|
+
readonly approverRole: F.Char;
|
|
859
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
860
|
+
readonly approverField: F.Char;
|
|
861
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
862
|
+
readonly quorumCount: F.Integer;
|
|
863
|
+
readonly deadlineHours: F.Integer;
|
|
864
|
+
readonly escalateRole: F.Char;
|
|
517
865
|
};
|
|
518
866
|
readonly methods: ApprovalLevelMethods;
|
|
519
867
|
}
|
|
@@ -522,6 +870,29 @@ export interface ApprovalLevel {
|
|
|
522
870
|
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
523
871
|
}
|
|
524
872
|
|
|
873
|
+
/** `approval.link` (owner: permissions). */
|
|
874
|
+
export interface ApprovalLink {
|
|
875
|
+
readonly name: 'approval.link';
|
|
876
|
+
readonly fields: {
|
|
877
|
+
readonly id: F.Id<'approval.link'>;
|
|
878
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
879
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
880
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
881
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
882
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
883
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
884
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
885
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
886
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
887
|
+
readonly usedAt: F.Datetime;
|
|
888
|
+
};
|
|
889
|
+
readonly methods: ApprovalLinkMethods;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
893
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
894
|
+
}
|
|
895
|
+
|
|
525
896
|
/** `approval.policy` (owner: permissions). */
|
|
526
897
|
export interface ApprovalPolicy {
|
|
527
898
|
readonly name: 'approval.policy';
|
|
@@ -537,8 +908,18 @@ export interface ApprovalPolicy {
|
|
|
537
908
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
538
909
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
539
910
|
readonly company: F.Many2one<'res.company'>;
|
|
911
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
912
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
540
913
|
readonly onApproved: F.Char;
|
|
541
914
|
readonly onRejected: F.Char;
|
|
915
|
+
readonly onSentBack: F.Char;
|
|
916
|
+
readonly onWithdrawn: F.Char;
|
|
917
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
918
|
+
readonly condition: F.Json;
|
|
919
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
920
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
921
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
922
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
542
923
|
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
543
924
|
};
|
|
544
925
|
readonly methods: ApprovalPolicyMethods;
|
|
@@ -565,8 +946,19 @@ export interface ApprovalRequest {
|
|
|
565
946
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
566
947
|
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
567
948
|
readonly company: F.Many2one<'res.company'>;
|
|
568
|
-
readonly approverRole: F.Char
|
|
569
|
-
readonly
|
|
949
|
+
readonly approverRole: F.Char;
|
|
950
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
951
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
952
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
953
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
954
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
955
|
+
readonly dueAt: F.Datetime;
|
|
956
|
+
readonly remindedAt: F.Datetime;
|
|
957
|
+
readonly escalatedTo: F.Char;
|
|
958
|
+
readonly escalatedAt: F.Datetime;
|
|
959
|
+
readonly startedAt: F.Datetime;
|
|
960
|
+
readonly explanation: F.Text;
|
|
961
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
570
962
|
readonly requestedBy: F.Many2one<'res.users'>;
|
|
571
963
|
readonly decidedBy: F.Many2one<'res.users'>;
|
|
572
964
|
readonly decidedAt: F.Datetime;
|
|
@@ -579,6 +971,33 @@ export interface ApprovalRequest {
|
|
|
579
971
|
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
580
972
|
}
|
|
581
973
|
|
|
974
|
+
/** `approval.vote` (owner: permissions). */
|
|
975
|
+
export interface ApprovalVote {
|
|
976
|
+
readonly name: 'approval.vote';
|
|
977
|
+
readonly fields: {
|
|
978
|
+
readonly id: F.Id<'approval.vote'>;
|
|
979
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
980
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
981
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
982
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
983
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
984
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
985
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
986
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
987
|
+
readonly comment: F.Text;
|
|
988
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
989
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
990
|
+
readonly ip: F.Char;
|
|
991
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
992
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
993
|
+
};
|
|
994
|
+
readonly methods: ApprovalVoteMethods;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
998
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
999
|
+
}
|
|
1000
|
+
|
|
582
1001
|
/** `audit.event` (owner: base). */
|
|
583
1002
|
export interface AuditEvent {
|
|
584
1003
|
readonly name: 'audit.event';
|
|
@@ -1253,6 +1672,7 @@ export interface PosShop {
|
|
|
1253
1672
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1254
1673
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1255
1674
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1675
|
+
readonly pricelist: F.Many2one<'product.pricelist'>;
|
|
1256
1676
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1257
1677
|
readonly pricesIncludeTax: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1258
1678
|
readonly salesJournal: F.Many2one<'account.journal'>;
|
|
@@ -1269,7 +1689,54 @@ export interface PosShop {
|
|
|
1269
1689
|
export interface PosShopMethods extends F.Methods<typeof import('../../pos/index.js').posShutro, 'pos.shop'>, F.Methods<typeof import('../module.js').posStockShutro, 'pos.shop'> {
|
|
1270
1690
|
}
|
|
1271
1691
|
|
|
1272
|
-
/** `product.
|
|
1692
|
+
/** `product.attribute` (owner: product). */
|
|
1693
|
+
export interface ProductAttribute {
|
|
1694
|
+
readonly name: 'product.attribute';
|
|
1695
|
+
readonly fields: {
|
|
1696
|
+
readonly id: F.Id<'product.attribute'>;
|
|
1697
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1698
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1699
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1700
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1701
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1702
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1703
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1704
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
1705
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1706
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
1707
|
+
};
|
|
1708
|
+
readonly methods: ProductAttributeMethods;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
1712
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
/** `product.attribute.value` (owner: product). */
|
|
1716
|
+
export interface ProductAttributeValue {
|
|
1717
|
+
readonly name: 'product.attribute.value';
|
|
1718
|
+
readonly fields: {
|
|
1719
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
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 active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1726
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1727
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1728
|
+
readonly color: F.Char;
|
|
1729
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1730
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1731
|
+
};
|
|
1732
|
+
readonly methods: ProductAttributeValueMethods;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
1736
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/** `product.category` (owner: product; extended by: accounting). */
|
|
1273
1740
|
export interface ProductCategory {
|
|
1274
1741
|
readonly name: 'product.category';
|
|
1275
1742
|
readonly fields: {
|
|
@@ -1279,17 +1746,81 @@ export interface ProductCategory {
|
|
|
1279
1746
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1280
1747
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1281
1748
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1749
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1282
1750
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1283
1751
|
readonly parent: F.Many2one<'product.category'>;
|
|
1752
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1753
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1754
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1284
1755
|
};
|
|
1285
1756
|
readonly methods: ProductCategoryMethods;
|
|
1286
1757
|
}
|
|
1287
1758
|
|
|
1288
1759
|
/** Methods of `product.category`: declared ones and transitions. */
|
|
1289
|
-
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
1760
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.category'> {
|
|
1290
1761
|
}
|
|
1291
1762
|
|
|
1292
|
-
/** `product.
|
|
1763
|
+
/** `product.pricelist` (owner: product). */
|
|
1764
|
+
export interface ProductPricelist {
|
|
1765
|
+
readonly name: 'product.pricelist';
|
|
1766
|
+
readonly fields: {
|
|
1767
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
1768
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1769
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1770
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1771
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1772
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1773
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1774
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1775
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1776
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1777
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1778
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
1779
|
+
readonly note: F.Text;
|
|
1780
|
+
};
|
|
1781
|
+
readonly methods: ProductPricelistMethods;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
1785
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
1789
|
+
export interface ProductPricelistRule {
|
|
1790
|
+
readonly name: 'product.pricelist.rule';
|
|
1791
|
+
readonly fields: {
|
|
1792
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
1793
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1794
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1795
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1796
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1797
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1798
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
1799
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1800
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
1801
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1802
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1803
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
1804
|
+
readonly dateFrom: F.DateOnly;
|
|
1805
|
+
readonly dateTo: F.DateOnly;
|
|
1806
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
1807
|
+
readonly fixedPrice: F.Decimal;
|
|
1808
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
1809
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
1810
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
1811
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
1812
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
1813
|
+
readonly minMargin: F.Decimal;
|
|
1814
|
+
readonly maxMargin: F.Decimal;
|
|
1815
|
+
};
|
|
1816
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
1820
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/** `product.product` (owner: product; extended by: accounting, stock). */
|
|
1293
1824
|
export interface ProductProduct {
|
|
1294
1825
|
readonly name: 'product.product';
|
|
1295
1826
|
readonly fields: {
|
|
@@ -1304,8 +1835,11 @@ export interface ProductProduct {
|
|
|
1304
1835
|
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1305
1836
|
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1306
1837
|
readonly category: F.Many2one<'product.category'>;
|
|
1838
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
1307
1839
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1308
1840
|
readonly barcode: F.Char;
|
|
1841
|
+
readonly weight: F.Decimal;
|
|
1842
|
+
readonly volume: F.Decimal;
|
|
1309
1843
|
readonly image: F.Many2one<'storage.attachment'>;
|
|
1310
1844
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1311
1845
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
@@ -1316,6 +1850,11 @@ export interface ProductProduct {
|
|
|
1316
1850
|
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1317
1851
|
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1318
1852
|
readonly description: F.Text<{ readonly translate: true }>;
|
|
1853
|
+
readonly template: F.Many2one<'product.template'>;
|
|
1854
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1855
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1856
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1857
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1319
1858
|
readonly tracking: F.Selection<'none' | 'lot' | 'serial', { readonly required: true; readonly default: true }>; // stock
|
|
1320
1859
|
readonly lots: F.One2many<'stock.lot', { readonly required: true }>; // stock
|
|
1321
1860
|
readonly quants: F.One2many<'stock.quant', { readonly required: true }>; // stock
|
|
@@ -1327,7 +1866,87 @@ export interface ProductProduct {
|
|
|
1327
1866
|
}
|
|
1328
1867
|
|
|
1329
1868
|
/** Methods of `product.product`: declared ones and transitions. */
|
|
1330
|
-
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../stock/index.js').stockShutro, 'product.product'> {
|
|
1869
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.product'>, F.Methods<typeof import('../../stock/index.js').stockShutro, 'product.product'> {
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
/** `product.template` (owner: product). */
|
|
1873
|
+
export interface ProductTemplate {
|
|
1874
|
+
readonly name: 'product.template';
|
|
1875
|
+
readonly fields: {
|
|
1876
|
+
readonly id: F.Id<'product.template'>;
|
|
1877
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1878
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1879
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1880
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1881
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1882
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1883
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1884
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1885
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1886
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1887
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1888
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1889
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1890
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1891
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1892
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1893
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1894
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1895
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1896
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1897
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1898
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1899
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1900
|
+
};
|
|
1901
|
+
readonly methods: ProductTemplateMethods;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1905
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1906
|
+
readonly 'generate': () => Promise<void>;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1910
|
+
export interface ProductTemplateExclusion {
|
|
1911
|
+
readonly name: 'product.template.exclusion';
|
|
1912
|
+
readonly fields: {
|
|
1913
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1914
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1915
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1916
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1917
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1918
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1919
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1920
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1921
|
+
readonly note: F.Char;
|
|
1922
|
+
};
|
|
1923
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1927
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
/** `product.template.line` (owner: product). */
|
|
1931
|
+
export interface ProductTemplateLine {
|
|
1932
|
+
readonly name: 'product.template.line';
|
|
1933
|
+
readonly fields: {
|
|
1934
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1935
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1936
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1937
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1938
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1939
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1940
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1941
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1942
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1943
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1944
|
+
};
|
|
1945
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1949
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1331
1950
|
}
|
|
1332
1951
|
|
|
1333
1952
|
/** `report.dashboard` (owner: reporting). */
|
|
@@ -1568,7 +2187,7 @@ export interface ResCurrencyRate {
|
|
|
1568
2187
|
export interface ResCurrencyRateMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.currency.rate'> {
|
|
1569
2188
|
}
|
|
1570
2189
|
|
|
1571
|
-
/** `res.partner` (owner: contacts; extended by: accounting). */
|
|
2190
|
+
/** `res.partner` (owner: contacts; extended by: accounting, accounting). */
|
|
1572
2191
|
export interface ResPartner {
|
|
1573
2192
|
readonly name: 'res.partner';
|
|
1574
2193
|
readonly fields: {
|
|
@@ -1589,6 +2208,7 @@ export interface ResPartner {
|
|
|
1589
2208
|
readonly parent: F.Many2one<'res.partner'>;
|
|
1590
2209
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1591
2210
|
readonly email: F.Char;
|
|
2211
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1592
2212
|
readonly phone: F.Char;
|
|
1593
2213
|
readonly mobile: F.Char;
|
|
1594
2214
|
readonly website: F.Char;
|
|
@@ -1602,13 +2222,17 @@ export interface ResPartner {
|
|
|
1602
2222
|
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1603
2223
|
readonly currency: F.Many2one<'res.currency'>;
|
|
1604
2224
|
readonly notes: F.Text;
|
|
2225
|
+
readonly sendInvoicesByEmail: F.Bool<{ readonly required: true; readonly default: true }>; // accounting
|
|
1605
2226
|
readonly withholdings: F.Many2many<'account.withholding', { readonly required: true }>; // accounting
|
|
2227
|
+
readonly receivableAccount: F.Many2one<'account.account'>; // accounting
|
|
2228
|
+
readonly payableAccount: F.Many2one<'account.account'>; // accounting
|
|
2229
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>; // accounting
|
|
1606
2230
|
};
|
|
1607
2231
|
readonly methods: ResPartnerMethods;
|
|
1608
2232
|
}
|
|
1609
2233
|
|
|
1610
2234
|
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1611
|
-
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'> {
|
|
2235
|
+
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'> {
|
|
1612
2236
|
}
|
|
1613
2237
|
|
|
1614
2238
|
/** `res.partner.tag` (owner: contacts). */
|
|
@@ -1630,6 +2254,29 @@ export interface ResPartnerTag {
|
|
|
1630
2254
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1631
2255
|
}
|
|
1632
2256
|
|
|
2257
|
+
/** `res.segment` (owner: permissions). */
|
|
2258
|
+
export interface ResSegment {
|
|
2259
|
+
readonly name: 'res.segment';
|
|
2260
|
+
readonly fields: {
|
|
2261
|
+
readonly id: F.Id<'res.segment'>;
|
|
2262
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2263
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2264
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2265
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2266
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2267
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2268
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2269
|
+
readonly code: F.Char;
|
|
2270
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
2271
|
+
readonly note: F.Text;
|
|
2272
|
+
};
|
|
2273
|
+
readonly methods: ResSegmentMethods;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
2277
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
2278
|
+
}
|
|
2279
|
+
|
|
1633
2280
|
/** `res.users` (owner: base). */
|
|
1634
2281
|
export interface ResUsers {
|
|
1635
2282
|
readonly name: 'res.users';
|
|
@@ -1730,7 +2377,9 @@ export interface StockLocation {
|
|
|
1730
2377
|
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1731
2378
|
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1732
2379
|
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1733
|
-
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
|
|
2380
|
+
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit' | 'consumption', { readonly required: true; readonly default: true }>;
|
|
2381
|
+
readonly transit: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2382
|
+
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1734
2383
|
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1735
2384
|
};
|
|
1736
2385
|
readonly methods: StockLocationMethods;
|
|
@@ -1750,6 +2399,7 @@ export interface StockLot {
|
|
|
1750
2399
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1751
2400
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1752
2401
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2402
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1753
2403
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1754
2404
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1755
2405
|
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
@@ -1806,8 +2456,12 @@ export interface StockMove {
|
|
|
1806
2456
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1807
2457
|
readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1808
2458
|
readonly quantityDone: F.Decimal;
|
|
2459
|
+
readonly returnOf: F.Many2one<'stock.move'>;
|
|
2460
|
+
readonly returns: F.One2many<'stock.move', { readonly required: true }>;
|
|
1809
2461
|
readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1810
2462
|
readonly restrictLot: F.Many2one<'stock.lot'>;
|
|
2463
|
+
readonly procurement: F.Char;
|
|
2464
|
+
readonly destination: F.Many2one<'stock.location'>;
|
|
1811
2465
|
readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
|
|
1812
2466
|
readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1813
2467
|
};
|
|
@@ -1830,7 +2484,7 @@ export interface StockPicking {
|
|
|
1830
2484
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1831
2485
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1832
2486
|
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1833
|
-
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production', { readonly required: true; readonly default: true }>;
|
|
2487
|
+
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1834
2488
|
readonly partner: F.Many2one<'res.partner'>;
|
|
1835
2489
|
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1836
2490
|
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
@@ -1842,8 +2496,31 @@ export interface StockPicking {
|
|
|
1842
2496
|
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
1843
2497
|
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1844
2498
|
readonly count: F.Many2one<'stock.count'>;
|
|
2499
|
+
readonly responsible: F.Many2one<'res.users'>;
|
|
2500
|
+
readonly carrier: F.Char;
|
|
2501
|
+
readonly trackingRef: F.Char;
|
|
2502
|
+
readonly weight: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2503
|
+
readonly vehicleNumber: F.Char;
|
|
2504
|
+
readonly driverName: F.Char;
|
|
2505
|
+
readonly driverMobile: F.Char;
|
|
2506
|
+
readonly transporter: F.Many2one<'res.partner'>;
|
|
2507
|
+
readonly transportDate: F.DateOnly;
|
|
2508
|
+
readonly gateIn: F.Datetime;
|
|
2509
|
+
readonly gateOut: F.Datetime;
|
|
2510
|
+
readonly freightAmount: F.Decimal;
|
|
2511
|
+
readonly deductFromSupplier: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2512
|
+
readonly supplierDeduction: F.Decimal;
|
|
2513
|
+
readonly charges: F.One2many<'stock.picking.charge', { readonly required: true }>;
|
|
2514
|
+
readonly extras: F.One2many<'stock.picking.extra', { readonly required: true }>;
|
|
2515
|
+
readonly gateNote: F.Text;
|
|
2516
|
+
readonly remarks: F.Text;
|
|
1845
2517
|
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
1846
2518
|
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2519
|
+
readonly returnOf: F.Many2one<'stock.picking'>;
|
|
2520
|
+
readonly returns: F.One2many<'stock.picking', { readonly required: true }>;
|
|
2521
|
+
readonly returnReason: F.Many2one<'stock.return.reason'>;
|
|
2522
|
+
readonly next: F.Many2one<'stock.picking'>;
|
|
2523
|
+
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1847
2524
|
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1848
2525
|
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1849
2526
|
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
@@ -1861,6 +2538,76 @@ export interface StockPickingMethods extends F.Methods<typeof import('../../stoc
|
|
|
1861
2538
|
readonly 'validate': () => Promise<void>;
|
|
1862
2539
|
}
|
|
1863
2540
|
|
|
2541
|
+
/** `stock.picking.charge` (owner: stock). */
|
|
2542
|
+
export interface StockPickingCharge {
|
|
2543
|
+
readonly name: 'stock.picking.charge';
|
|
2544
|
+
readonly fields: {
|
|
2545
|
+
readonly id: F.Id<'stock.picking.charge'>;
|
|
2546
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2547
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2548
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2549
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2550
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2551
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
2552
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2553
|
+
readonly kind: F.Selection<'addition' | 'deduction', { readonly required: true; readonly default: true }>;
|
|
2554
|
+
readonly amount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2555
|
+
};
|
|
2556
|
+
readonly methods: StockPickingChargeMethods;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
/** Methods of `stock.picking.charge`: declared ones and transitions. */
|
|
2560
|
+
export interface StockPickingChargeMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.charge'> {
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
/** `stock.picking.extra` (owner: stock). */
|
|
2564
|
+
export interface StockPickingExtra {
|
|
2565
|
+
readonly name: 'stock.picking.extra';
|
|
2566
|
+
readonly fields: {
|
|
2567
|
+
readonly id: F.Id<'stock.picking.extra'>;
|
|
2568
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2569
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2570
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2571
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2572
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2573
|
+
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
2574
|
+
readonly product: F.Many2one<'product.product'>;
|
|
2575
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2576
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2577
|
+
readonly note: F.Char;
|
|
2578
|
+
};
|
|
2579
|
+
readonly methods: StockPickingExtraMethods;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
/** Methods of `stock.picking.extra`: declared ones and transitions. */
|
|
2583
|
+
export interface StockPickingExtraMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking.extra'> {
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
/** `stock.putaway` (owner: stock). */
|
|
2587
|
+
export interface StockPutaway {
|
|
2588
|
+
readonly name: 'stock.putaway';
|
|
2589
|
+
readonly fields: {
|
|
2590
|
+
readonly id: F.Id<'stock.putaway'>;
|
|
2591
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2592
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2593
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2594
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2595
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2596
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2597
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2598
|
+
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2599
|
+
readonly product: F.Many2one<'product.product'>;
|
|
2600
|
+
readonly category: F.Many2one<'product.category'>;
|
|
2601
|
+
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
2602
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2603
|
+
};
|
|
2604
|
+
readonly methods: StockPutawayMethods;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
/** Methods of `stock.putaway`: declared ones and transitions. */
|
|
2608
|
+
export interface StockPutawayMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.putaway'> {
|
|
2609
|
+
}
|
|
2610
|
+
|
|
1864
2611
|
/** `stock.quant` (owner: stock). */
|
|
1865
2612
|
export interface StockQuant {
|
|
1866
2613
|
readonly name: 'stock.quant';
|
|
@@ -1887,6 +2634,45 @@ export interface StockQuant {
|
|
|
1887
2634
|
export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
|
|
1888
2635
|
}
|
|
1889
2636
|
|
|
2637
|
+
/** `stock.reorder` (owner: stock). */
|
|
2638
|
+
export interface StockReorder {
|
|
2639
|
+
readonly name: 'stock.reorder';
|
|
2640
|
+
readonly fields: {
|
|
2641
|
+
readonly id: F.Id<'stock.reorder'>;
|
|
2642
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2643
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2644
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2645
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2646
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2647
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2648
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2649
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2650
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2651
|
+
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
2652
|
+
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2653
|
+
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2654
|
+
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2655
|
+
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2656
|
+
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
2657
|
+
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
2658
|
+
readonly vendor: F.Many2one<'res.partner'>;
|
|
2659
|
+
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
2660
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2661
|
+
readonly snoozedUntil: F.DateOnly;
|
|
2662
|
+
readonly onHand: F.Decimal;
|
|
2663
|
+
readonly forecast: F.Decimal;
|
|
2664
|
+
readonly proposed: F.Decimal;
|
|
2665
|
+
readonly explanation: F.Text;
|
|
2666
|
+
readonly refreshedAt: F.Datetime;
|
|
2667
|
+
readonly lastOrder: F.Char;
|
|
2668
|
+
};
|
|
2669
|
+
readonly methods: StockReorderMethods;
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
2673
|
+
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'> {
|
|
2674
|
+
}
|
|
2675
|
+
|
|
1890
2676
|
/** `stock.reservation` (owner: stock). */
|
|
1891
2677
|
export interface StockReservation {
|
|
1892
2678
|
readonly name: 'stock.reservation';
|
|
@@ -1909,6 +2695,28 @@ export interface StockReservation {
|
|
|
1909
2695
|
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
1910
2696
|
}
|
|
1911
2697
|
|
|
2698
|
+
/** `stock.return.reason` (owner: stock). */
|
|
2699
|
+
export interface StockReturnReason {
|
|
2700
|
+
readonly name: 'stock.return.reason';
|
|
2701
|
+
readonly fields: {
|
|
2702
|
+
readonly id: F.Id<'stock.return.reason'>;
|
|
2703
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2704
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2705
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2706
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2707
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2708
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2709
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
2710
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
2711
|
+
readonly code: F.Char;
|
|
2712
|
+
};
|
|
2713
|
+
readonly methods: StockReturnReasonMethods;
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
/** Methods of `stock.return.reason`: declared ones and transitions. */
|
|
2717
|
+
export interface StockReturnReasonMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.return.reason'> {
|
|
2718
|
+
}
|
|
2719
|
+
|
|
1912
2720
|
/** `stock.scrap` (owner: stock). */
|
|
1913
2721
|
export interface StockScrap {
|
|
1914
2722
|
readonly name: 'stock.scrap';
|
|
@@ -1956,6 +2764,8 @@ export interface StockWarehouse {
|
|
|
1956
2764
|
readonly code: F.Char<{ readonly required: true }>;
|
|
1957
2765
|
readonly locations: F.One2many<'stock.location', { readonly required: true }>;
|
|
1958
2766
|
readonly address: F.Many2one<'res.partner'>;
|
|
2767
|
+
readonly receptionSteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
2768
|
+
readonly deliverySteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
1959
2769
|
};
|
|
1960
2770
|
readonly methods: StockWarehouseMethods;
|
|
1961
2771
|
}
|