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,9 +1,16 @@
|
|
|
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: 7dd656bef825e3a6
|
|
2
2
|
// Schema view of module `project_portal` (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
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
8
|
+
readonly 'approval.event': ApprovalEvent;
|
|
9
|
+
readonly 'approval.level': ApprovalLevel;
|
|
10
|
+
readonly 'approval.link': ApprovalLink;
|
|
11
|
+
readonly 'approval.policy': ApprovalPolicy;
|
|
12
|
+
readonly 'approval.request': ApprovalRequest;
|
|
13
|
+
readonly 'approval.vote': ApprovalVote;
|
|
7
14
|
readonly 'audit.event': AuditEvent;
|
|
8
15
|
readonly 'auth.api_key': AuthApiKey;
|
|
9
16
|
readonly 'auth.credential': AuthCredential;
|
|
@@ -28,18 +35,239 @@ export interface SchemaView {
|
|
|
28
35
|
readonly 'portal.announcement': PortalAnnouncement;
|
|
29
36
|
readonly 'portal.invitation': PortalInvitation;
|
|
30
37
|
readonly 'portal.signature': PortalSignature;
|
|
38
|
+
readonly 'project.budget.line': ProjectBudgetLine;
|
|
39
|
+
readonly 'project.change': ProjectChange;
|
|
40
|
+
readonly 'project.issue': ProjectIssue;
|
|
41
|
+
readonly 'project.member': ProjectMember;
|
|
42
|
+
readonly 'project.phase': ProjectPhase;
|
|
43
|
+
readonly 'project.plan': ProjectPlan;
|
|
31
44
|
readonly 'project.project': ProjectProject;
|
|
45
|
+
readonly 'project.risk': ProjectRisk;
|
|
46
|
+
readonly 'project.role': ProjectRole;
|
|
47
|
+
readonly 'project.status.report': ProjectStatusReport;
|
|
48
|
+
readonly 'project.tag': ProjectTag;
|
|
32
49
|
readonly 'project.task': ProjectTask;
|
|
50
|
+
readonly 'project.task.category': ProjectTaskCategory;
|
|
51
|
+
readonly 'project.task.link': ProjectTaskLink;
|
|
33
52
|
readonly 'project.task.stage': ProjectTaskStage;
|
|
34
53
|
readonly 'project.timesheet': ProjectTimesheet;
|
|
54
|
+
readonly 'project.type': ProjectType;
|
|
55
|
+
readonly 'project.work.package': ProjectWorkPackage;
|
|
35
56
|
readonly 'res.company': ResCompany;
|
|
36
57
|
readonly 'res.currency': ResCurrency;
|
|
37
58
|
readonly 'res.partner': ResPartner;
|
|
38
59
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
60
|
+
readonly 'res.segment': ResSegment;
|
|
39
61
|
readonly 'res.users': ResUsers;
|
|
40
62
|
readonly 'storage.attachment': StorageAttachment;
|
|
41
63
|
}
|
|
42
64
|
|
|
65
|
+
/** `approval.delegation` (owner: permissions). */
|
|
66
|
+
export interface ApprovalDelegation {
|
|
67
|
+
readonly name: 'approval.delegation';
|
|
68
|
+
readonly fields: {
|
|
69
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
70
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
71
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
72
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
73
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
74
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
75
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
76
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
77
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
78
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
79
|
+
readonly note: F.Char;
|
|
80
|
+
};
|
|
81
|
+
readonly methods: ApprovalDelegationMethods;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
85
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** `approval.event` (owner: permissions). */
|
|
89
|
+
export interface ApprovalEvent {
|
|
90
|
+
readonly name: 'approval.event';
|
|
91
|
+
readonly fields: {
|
|
92
|
+
readonly id: F.Id<'approval.event'>;
|
|
93
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
94
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
95
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
96
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
97
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
98
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
99
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
100
|
+
readonly user: F.Many2one<'res.users'>;
|
|
101
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
102
|
+
readonly note: F.Text;
|
|
103
|
+
};
|
|
104
|
+
readonly methods: ApprovalEventMethods;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
108
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** `approval.level` (owner: permissions). */
|
|
112
|
+
export interface ApprovalLevel {
|
|
113
|
+
readonly name: 'approval.level';
|
|
114
|
+
readonly fields: {
|
|
115
|
+
readonly id: F.Id<'approval.level'>;
|
|
116
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
117
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
118
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
119
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
120
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
121
|
+
readonly policy: F.Many2one<'approval.policy', { readonly required: true }>;
|
|
122
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
123
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
124
|
+
readonly condition: F.Json;
|
|
125
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
126
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
127
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
128
|
+
readonly approverRole: F.Char;
|
|
129
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
130
|
+
readonly approverField: F.Char;
|
|
131
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
132
|
+
readonly quorumCount: F.Integer;
|
|
133
|
+
readonly deadlineHours: F.Integer;
|
|
134
|
+
readonly escalateRole: F.Char;
|
|
135
|
+
};
|
|
136
|
+
readonly methods: ApprovalLevelMethods;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** Methods of `approval.level`: declared ones and transitions. */
|
|
140
|
+
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** `approval.link` (owner: permissions). */
|
|
144
|
+
export interface ApprovalLink {
|
|
145
|
+
readonly name: 'approval.link';
|
|
146
|
+
readonly fields: {
|
|
147
|
+
readonly id: F.Id<'approval.link'>;
|
|
148
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
149
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
150
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
151
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
152
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
153
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
154
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
155
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
156
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
157
|
+
readonly usedAt: F.Datetime;
|
|
158
|
+
};
|
|
159
|
+
readonly methods: ApprovalLinkMethods;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
163
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** `approval.policy` (owner: permissions). */
|
|
167
|
+
export interface ApprovalPolicy {
|
|
168
|
+
readonly name: 'approval.policy';
|
|
169
|
+
readonly fields: {
|
|
170
|
+
readonly id: F.Id<'approval.policy'>;
|
|
171
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
172
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
173
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
174
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
175
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
176
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
177
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
178
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
179
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
180
|
+
readonly company: F.Many2one<'res.company'>;
|
|
181
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
182
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
183
|
+
readonly onApproved: F.Char;
|
|
184
|
+
readonly onRejected: F.Char;
|
|
185
|
+
readonly onSentBack: F.Char;
|
|
186
|
+
readonly onWithdrawn: F.Char;
|
|
187
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
188
|
+
readonly condition: F.Json;
|
|
189
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
190
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
191
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
192
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
193
|
+
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
194
|
+
};
|
|
195
|
+
readonly methods: ApprovalPolicyMethods;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Methods of `approval.policy`: declared ones and transitions. */
|
|
199
|
+
export interface ApprovalPolicyMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.policy'> {
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/** `approval.request` (owner: permissions). */
|
|
203
|
+
export interface ApprovalRequest {
|
|
204
|
+
readonly name: 'approval.request';
|
|
205
|
+
readonly fields: {
|
|
206
|
+
readonly id: F.Id<'approval.request'>;
|
|
207
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
208
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
209
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
210
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
211
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
212
|
+
readonly policy: F.Many2one<'approval.policy'>;
|
|
213
|
+
readonly level: F.Many2one<'approval.level'>;
|
|
214
|
+
readonly levelName: F.Char<{ readonly required: true }>;
|
|
215
|
+
readonly sequence: F.Integer<{ readonly required: true }>;
|
|
216
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
217
|
+
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
218
|
+
readonly company: F.Many2one<'res.company'>;
|
|
219
|
+
readonly approverRole: F.Char;
|
|
220
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
221
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
222
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
223
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
224
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
225
|
+
readonly dueAt: F.Datetime;
|
|
226
|
+
readonly remindedAt: F.Datetime;
|
|
227
|
+
readonly escalatedTo: F.Char;
|
|
228
|
+
readonly escalatedAt: F.Datetime;
|
|
229
|
+
readonly startedAt: F.Datetime;
|
|
230
|
+
readonly explanation: F.Text;
|
|
231
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
232
|
+
readonly requestedBy: F.Many2one<'res.users'>;
|
|
233
|
+
readonly decidedBy: F.Many2one<'res.users'>;
|
|
234
|
+
readonly decidedAt: F.Datetime;
|
|
235
|
+
readonly comment: F.Text;
|
|
236
|
+
};
|
|
237
|
+
readonly methods: ApprovalRequestMethods;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Methods of `approval.request`: declared ones and transitions. */
|
|
241
|
+
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** `approval.vote` (owner: permissions). */
|
|
245
|
+
export interface ApprovalVote {
|
|
246
|
+
readonly name: 'approval.vote';
|
|
247
|
+
readonly fields: {
|
|
248
|
+
readonly id: F.Id<'approval.vote'>;
|
|
249
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
250
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
251
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
252
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
253
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
254
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
255
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
256
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
257
|
+
readonly comment: F.Text;
|
|
258
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
259
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
260
|
+
readonly ip: F.Char;
|
|
261
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
262
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
263
|
+
};
|
|
264
|
+
readonly methods: ApprovalVoteMethods;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
268
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
269
|
+
}
|
|
270
|
+
|
|
43
271
|
/** `audit.event` (owner: base). */
|
|
44
272
|
export interface AuditEvent {
|
|
45
273
|
readonly name: 'audit.event';
|
|
@@ -625,6 +853,214 @@ export interface PortalSignature {
|
|
|
625
853
|
export interface PortalSignatureMethods extends F.Methods<typeof import('../../portal/index.js').portalShutro, 'portal.signature'> {
|
|
626
854
|
}
|
|
627
855
|
|
|
856
|
+
/** `project.budget.line` (owner: project). */
|
|
857
|
+
export interface ProjectBudgetLine {
|
|
858
|
+
readonly name: 'project.budget.line';
|
|
859
|
+
readonly fields: {
|
|
860
|
+
readonly id: F.Id<'project.budget.line'>;
|
|
861
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
862
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
863
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
864
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
865
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
866
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
867
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
868
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
869
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
870
|
+
readonly category: F.Selection<'labour' | 'materials' | 'services' | 'equipment' | 'other', { readonly required: true; readonly default: true }>;
|
|
871
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
872
|
+
readonly workPackage: F.Many2one<'project.work.package'>;
|
|
873
|
+
readonly planned: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
874
|
+
};
|
|
875
|
+
readonly methods: ProjectBudgetLineMethods;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/** Methods of `project.budget.line`: declared ones and transitions. */
|
|
879
|
+
export interface ProjectBudgetLineMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.budget.line'> {
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/** `project.change` (owner: project). */
|
|
883
|
+
export interface ProjectChange {
|
|
884
|
+
readonly name: 'project.change';
|
|
885
|
+
readonly fields: {
|
|
886
|
+
readonly id: F.Id<'project.change'>;
|
|
887
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
888
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
889
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
890
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
891
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
892
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
893
|
+
readonly name: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
894
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
895
|
+
readonly title: F.Char<{ readonly required: true }>;
|
|
896
|
+
readonly requester: F.Many2one<'res.users', { readonly default: true }>;
|
|
897
|
+
readonly sponsor: F.Many2one<'res.users', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
898
|
+
readonly reason: F.Text<{ readonly required: true }>;
|
|
899
|
+
readonly impact: F.Text;
|
|
900
|
+
readonly newDateEnd: F.DateOnly;
|
|
901
|
+
readonly newBudget: F.Decimal;
|
|
902
|
+
readonly previousDateEnd: F.DateOnly;
|
|
903
|
+
readonly previousBaselineEnd: F.DateOnly;
|
|
904
|
+
readonly previousBudget: F.Decimal;
|
|
905
|
+
readonly appliedAt: F.Datetime;
|
|
906
|
+
readonly state: F.State<'draft' | 'submitted' | 'applied' | 'rejected' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
907
|
+
};
|
|
908
|
+
readonly methods: ProjectChangeMethods;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/** Methods of `project.change`: declared ones and transitions. */
|
|
912
|
+
export interface ProjectChangeMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.change'> {
|
|
913
|
+
readonly 'approve': () => Promise<void>;
|
|
914
|
+
readonly 'cancel': () => Promise<void>;
|
|
915
|
+
readonly 'redraft': () => Promise<void>;
|
|
916
|
+
readonly 'reject': () => Promise<void>;
|
|
917
|
+
readonly 'submit': () => Promise<void>;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/** `project.issue` (owner: project). */
|
|
921
|
+
export interface ProjectIssue {
|
|
922
|
+
readonly name: 'project.issue';
|
|
923
|
+
readonly fields: {
|
|
924
|
+
readonly id: F.Id<'project.issue'>;
|
|
925
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
926
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
927
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
928
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
929
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
930
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
931
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
932
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
933
|
+
readonly description: F.Text;
|
|
934
|
+
readonly severity: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
935
|
+
readonly raisedBy: F.Many2one<'res.users', { readonly default: true }>;
|
|
936
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
937
|
+
readonly dueDate: F.DateOnly;
|
|
938
|
+
readonly status: F.Selection<'open' | 'in_progress' | 'resolved' | 'closed', { readonly required: true; readonly default: true }>;
|
|
939
|
+
readonly resolution: F.Text;
|
|
940
|
+
readonly risk: F.Many2one<'project.risk'>;
|
|
941
|
+
};
|
|
942
|
+
readonly methods: ProjectIssueMethods;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/** Methods of `project.issue`: declared ones and transitions. */
|
|
946
|
+
export interface ProjectIssueMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.issue'> {
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** `project.member` (owner: project). */
|
|
950
|
+
export interface ProjectMember {
|
|
951
|
+
readonly name: 'project.member';
|
|
952
|
+
readonly fields: {
|
|
953
|
+
readonly id: F.Id<'project.member'>;
|
|
954
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
955
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
956
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
957
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
958
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
959
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
960
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
961
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
962
|
+
readonly role: F.Many2one<'project.role'>;
|
|
963
|
+
readonly allocation: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
964
|
+
readonly hourlyCost: F.Decimal;
|
|
965
|
+
readonly dateFrom: F.DateOnly;
|
|
966
|
+
readonly dateTo: F.DateOnly;
|
|
967
|
+
readonly notes: F.Text;
|
|
968
|
+
readonly overallocated: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true }>;
|
|
969
|
+
};
|
|
970
|
+
readonly methods: ProjectMemberMethods;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/** Methods of `project.member`: declared ones and transitions. */
|
|
974
|
+
export interface ProjectMemberMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.member'> {
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/** `project.phase` (owner: project). */
|
|
978
|
+
export interface ProjectPhase {
|
|
979
|
+
readonly name: 'project.phase';
|
|
980
|
+
readonly fields: {
|
|
981
|
+
readonly id: F.Id<'project.phase'>;
|
|
982
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
983
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
984
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
985
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
986
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
987
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
988
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
989
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
990
|
+
readonly code: F.Char;
|
|
991
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
992
|
+
readonly manager: F.Many2one<'res.users'>;
|
|
993
|
+
readonly dateStart: F.DateOnly;
|
|
994
|
+
readonly dateEnd: F.DateOnly;
|
|
995
|
+
readonly status: F.Selection<'draft' | 'in_progress' | 'on_hold' | 'done' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
996
|
+
readonly description: F.Text;
|
|
997
|
+
readonly progressOverride: F.Decimal;
|
|
998
|
+
readonly baselineStart: F.DateOnly;
|
|
999
|
+
readonly baselineEnd: F.DateOnly;
|
|
1000
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1001
|
+
readonly parentPhase: F.Many2one<'project.phase'>;
|
|
1002
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1003
|
+
readonly children: F.One2many<'project.phase', { readonly required: true }>;
|
|
1004
|
+
readonly responsible: F.Many2one<'res.users'>;
|
|
1005
|
+
readonly late: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1006
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1007
|
+
readonly workPackages: F.One2many<'project.work.package', { readonly required: true }>;
|
|
1008
|
+
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
1009
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1010
|
+
};
|
|
1011
|
+
readonly methods: ProjectPhaseMethods;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
/** Methods of `project.phase`: declared ones and transitions. */
|
|
1015
|
+
export interface ProjectPhaseMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.phase'> {
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/** `project.plan` (owner: project). */
|
|
1019
|
+
export interface ProjectPlan {
|
|
1020
|
+
readonly name: 'project.plan';
|
|
1021
|
+
readonly fields: {
|
|
1022
|
+
readonly id: F.Id<'project.plan'>;
|
|
1023
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1024
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1025
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1026
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1027
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1028
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1029
|
+
readonly name: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1030
|
+
readonly title: F.Char<{ readonly required: true }>;
|
|
1031
|
+
readonly type: F.Many2one<'project.type'>;
|
|
1032
|
+
readonly requester: F.Many2one<'res.users', { readonly default: true }>;
|
|
1033
|
+
readonly manager: F.Many2one<'res.users', { readonly default: true }>;
|
|
1034
|
+
readonly sponsor: F.Many2one<'res.users'>;
|
|
1035
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1036
|
+
readonly dateStart: F.DateOnly;
|
|
1037
|
+
readonly dateEnd: F.DateOnly;
|
|
1038
|
+
readonly description: F.Text;
|
|
1039
|
+
readonly objectives: F.Text;
|
|
1040
|
+
readonly expectedOutcome: F.Text;
|
|
1041
|
+
readonly strategicGoal: F.Text;
|
|
1042
|
+
readonly estimatedBudget: F.Decimal;
|
|
1043
|
+
readonly approvedBudget: F.Decimal;
|
|
1044
|
+
readonly approvedAt: F.Datetime;
|
|
1045
|
+
readonly projects: F.One2many<'project.project', { readonly required: true }>;
|
|
1046
|
+
readonly projectCount: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
1047
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'rejected' | 'in_progress' | 'completed' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1048
|
+
};
|
|
1049
|
+
readonly methods: ProjectPlanMethods;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/** Methods of `project.plan`: declared ones and transitions. */
|
|
1053
|
+
export interface ProjectPlanMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.plan'> {
|
|
1054
|
+
readonly 'approve': () => Promise<void>;
|
|
1055
|
+
readonly 'baseline': () => Promise<void>;
|
|
1056
|
+
readonly 'cancel': () => Promise<void>;
|
|
1057
|
+
readonly 'complete': () => Promise<void>;
|
|
1058
|
+
readonly 'redraft': () => Promise<void>;
|
|
1059
|
+
readonly 'reject': () => Promise<void>;
|
|
1060
|
+
readonly 'start': () => Promise<void>;
|
|
1061
|
+
readonly 'submit': () => Promise<void>;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
628
1064
|
/** `project.project` (owner: project; extended by: project_portal). */
|
|
629
1065
|
export interface ProjectProject {
|
|
630
1066
|
readonly name: 'project.project';
|
|
@@ -638,13 +1074,49 @@ export interface ProjectProject {
|
|
|
638
1074
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
639
1075
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
640
1076
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1077
|
+
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1078
|
+
readonly type: F.Many2one<'project.type'>;
|
|
1079
|
+
readonly parentProject: F.Many2one<'project.project'>;
|
|
1080
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1081
|
+
readonly children: F.One2many<'project.project', { readonly required: true }>;
|
|
1082
|
+
readonly plan: F.Many2one<'project.plan'>;
|
|
1083
|
+
readonly baselineStart: F.DateOnly;
|
|
1084
|
+
readonly baselineEnd: F.DateOnly;
|
|
1085
|
+
readonly baselineBudget: F.Decimal;
|
|
1086
|
+
readonly slipDays: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
641
1087
|
readonly partner: F.Many2one<'res.partner'>;
|
|
642
1088
|
readonly manager: F.Many2one<'res.users', { readonly default: true }>;
|
|
1089
|
+
readonly sponsor: F.Many2one<'res.users'>;
|
|
1090
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
1091
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1092
|
+
readonly riskLevel: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1093
|
+
readonly location: F.Char;
|
|
643
1094
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
644
1095
|
readonly dateStart: F.DateOnly;
|
|
645
1096
|
readonly dateEnd: F.DateOnly;
|
|
646
1097
|
readonly description: F.Text;
|
|
1098
|
+
readonly scope: F.Text;
|
|
1099
|
+
readonly assumptions: F.Text;
|
|
1100
|
+
readonly constraints: F.Text;
|
|
1101
|
+
readonly phases: F.One2many<'project.phase', { readonly required: true }>;
|
|
1102
|
+
readonly workPackages: F.One2many<'project.work.package', { readonly required: true }>;
|
|
1103
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
647
1104
|
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
1105
|
+
readonly members: F.One2many<'project.member', { readonly required: true }>;
|
|
1106
|
+
readonly timesheets: F.One2many<'project.timesheet', { readonly required: true }>;
|
|
1107
|
+
readonly budgetLines: F.One2many<'project.budget.line', { readonly required: true }>;
|
|
1108
|
+
readonly budget: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1109
|
+
readonly bookedCost: F.Decimal;
|
|
1110
|
+
readonly committedCost: F.Decimal;
|
|
1111
|
+
readonly actualCost: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
1112
|
+
readonly variance: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
1113
|
+
readonly healthComputed: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1114
|
+
readonly healthNotes: F.Text;
|
|
1115
|
+
readonly healthCheckedAt: F.Datetime;
|
|
1116
|
+
readonly healthOverride: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1117
|
+
readonly healthReason: F.Text;
|
|
1118
|
+
readonly health: F.Selection<'on_track' | 'at_risk' | 'off_track', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1119
|
+
readonly labourCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
648
1120
|
readonly taskCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
649
1121
|
readonly hours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
650
1122
|
};
|
|
@@ -655,6 +1127,114 @@ export interface ProjectProject {
|
|
|
655
1127
|
export interface ProjectProjectMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.project'>, F.Methods<typeof import('../module.js').projectPortalShutro, 'project.project'> {
|
|
656
1128
|
}
|
|
657
1129
|
|
|
1130
|
+
/** `project.risk` (owner: project). */
|
|
1131
|
+
export interface ProjectRisk {
|
|
1132
|
+
readonly name: 'project.risk';
|
|
1133
|
+
readonly fields: {
|
|
1134
|
+
readonly id: F.Id<'project.risk'>;
|
|
1135
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1136
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1137
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1138
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1139
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1140
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1141
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1142
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1143
|
+
readonly description: F.Text;
|
|
1144
|
+
readonly category: F.Selection<'schedule' | 'cost' | 'scope' | 'quality' | 'safety' | 'supply' | 'other', { readonly required: true; readonly default: true }>;
|
|
1145
|
+
readonly probability: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1146
|
+
readonly impact: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1147
|
+
readonly score: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1148
|
+
readonly level: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1149
|
+
readonly owner: F.Many2one<'res.users', { readonly default: true }>;
|
|
1150
|
+
readonly mitigation: F.Text;
|
|
1151
|
+
readonly contingency: F.Text;
|
|
1152
|
+
readonly dueDate: F.DateOnly;
|
|
1153
|
+
readonly status: F.Selection<'open' | 'mitigating' | 'occurred' | 'closed', { readonly required: true; readonly default: true }>;
|
|
1154
|
+
};
|
|
1155
|
+
readonly methods: ProjectRiskMethods;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/** Methods of `project.risk`: declared ones and transitions. */
|
|
1159
|
+
export interface ProjectRiskMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.risk'> {
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** `project.role` (owner: project). */
|
|
1163
|
+
export interface ProjectRole {
|
|
1164
|
+
readonly name: 'project.role';
|
|
1165
|
+
readonly fields: {
|
|
1166
|
+
readonly id: F.Id<'project.role'>;
|
|
1167
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1168
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1169
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1170
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1171
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1172
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1173
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1174
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1175
|
+
readonly code: F.Char;
|
|
1176
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1177
|
+
readonly defaultHourlyCost: F.Decimal;
|
|
1178
|
+
};
|
|
1179
|
+
readonly methods: ProjectRoleMethods;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/** Methods of `project.role`: declared ones and transitions. */
|
|
1183
|
+
export interface ProjectRoleMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.role'> {
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/** `project.status.report` (owner: project). */
|
|
1187
|
+
export interface ProjectStatusReport {
|
|
1188
|
+
readonly name: 'project.status.report';
|
|
1189
|
+
readonly fields: {
|
|
1190
|
+
readonly id: F.Id<'project.status.report'>;
|
|
1191
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1192
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1193
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1194
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1195
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1196
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1197
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1198
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1199
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1200
|
+
readonly author: F.Many2one<'res.users', { readonly default: true }>;
|
|
1201
|
+
readonly health: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1202
|
+
readonly progress: F.Decimal;
|
|
1203
|
+
readonly done: F.Text;
|
|
1204
|
+
readonly next: F.Text;
|
|
1205
|
+
readonly risks: F.Text;
|
|
1206
|
+
readonly sentAt: F.Datetime;
|
|
1207
|
+
readonly state: F.State<'draft' | 'sent', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1208
|
+
};
|
|
1209
|
+
readonly methods: ProjectStatusReportMethods;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/** Methods of `project.status.report`: declared ones and transitions. */
|
|
1213
|
+
export interface ProjectStatusReportMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.status.report'> {
|
|
1214
|
+
readonly 'send': () => Promise<void>;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/** `project.tag` (owner: project). */
|
|
1218
|
+
export interface ProjectTag {
|
|
1219
|
+
readonly name: 'project.tag';
|
|
1220
|
+
readonly fields: {
|
|
1221
|
+
readonly id: F.Id<'project.tag'>;
|
|
1222
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1223
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1224
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1225
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1226
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1227
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1228
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1229
|
+
readonly color: F.Char;
|
|
1230
|
+
};
|
|
1231
|
+
readonly methods: ProjectTagMethods;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/** Methods of `project.tag`: declared ones and transitions. */
|
|
1235
|
+
export interface ProjectTagMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.tag'> {
|
|
1236
|
+
}
|
|
1237
|
+
|
|
658
1238
|
/** `project.task` (owner: project; extended by: project_portal). */
|
|
659
1239
|
export interface ProjectTask {
|
|
660
1240
|
readonly name: 'project.task';
|
|
@@ -670,16 +1250,35 @@ export interface ProjectTask {
|
|
|
670
1250
|
readonly name: F.Char<{ readonly required: true }>;
|
|
671
1251
|
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
672
1252
|
readonly stage: F.Many2one<'project.task.stage'>;
|
|
1253
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
1254
|
+
readonly workPackage: F.Many2one<'project.work.package'>;
|
|
1255
|
+
readonly category: F.Many2one<'project.task.category'>;
|
|
1256
|
+
readonly parentTask: F.Many2one<'project.task'>;
|
|
1257
|
+
readonly subtasks: F.One2many<'project.task', { readonly required: true }>;
|
|
673
1258
|
readonly assignee: F.Many2one<'res.users'>;
|
|
1259
|
+
readonly assignees: F.Many2many<'res.users', { readonly required: true }>;
|
|
1260
|
+
readonly tags: F.Many2many<'project.tag', { readonly required: true }>;
|
|
1261
|
+
readonly milestone: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1262
|
+
readonly predecessors: F.One2many<'project.task.link', { readonly required: true }>;
|
|
1263
|
+
readonly successors: F.One2many<'project.task.link', { readonly required: true }>;
|
|
674
1264
|
readonly partner: F.Many2one<'res.partner'>;
|
|
675
1265
|
readonly priority: F.Selection<'normal' | 'high', { readonly required: true; readonly default: true }>;
|
|
676
1266
|
readonly deadline: F.DateOnly;
|
|
677
1267
|
readonly plannedHours: F.Decimal;
|
|
678
1268
|
readonly effectiveHours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
679
1269
|
readonly done: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
1270
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1271
|
+
readonly blocked: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
680
1272
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
681
1273
|
readonly description: F.Text;
|
|
682
1274
|
readonly timesheets: F.One2many<'project.timesheet', { readonly required: true }>;
|
|
1275
|
+
readonly dateStart: F.DateOnly;
|
|
1276
|
+
readonly baselineStart: F.DateOnly;
|
|
1277
|
+
readonly baselineEnd: F.DateOnly;
|
|
1278
|
+
readonly repeatEvery: F.Integer;
|
|
1279
|
+
readonly repeatUnit: F.Selection<'day' | 'week' | 'month', { readonly default: true }>;
|
|
1280
|
+
readonly repeatUntil: F.DateOnly;
|
|
1281
|
+
readonly nextTask: F.Many2one<'project.task'>;
|
|
683
1282
|
};
|
|
684
1283
|
readonly methods: ProjectTaskMethods;
|
|
685
1284
|
}
|
|
@@ -688,6 +1287,51 @@ export interface ProjectTask {
|
|
|
688
1287
|
export interface ProjectTaskMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.task'>, F.Methods<typeof import('../module.js').projectPortalShutro, 'project.task'> {
|
|
689
1288
|
}
|
|
690
1289
|
|
|
1290
|
+
/** `project.task.category` (owner: project). */
|
|
1291
|
+
export interface ProjectTaskCategory {
|
|
1292
|
+
readonly name: 'project.task.category';
|
|
1293
|
+
readonly fields: {
|
|
1294
|
+
readonly id: F.Id<'project.task.category'>;
|
|
1295
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1296
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1297
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1298
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1299
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1300
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1301
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1302
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1303
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1304
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1305
|
+
readonly type: F.Many2one<'project.type'>;
|
|
1306
|
+
};
|
|
1307
|
+
readonly methods: ProjectTaskCategoryMethods;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/** Methods of `project.task.category`: declared ones and transitions. */
|
|
1311
|
+
export interface ProjectTaskCategoryMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.task.category'> {
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/** `project.task.link` (owner: project). */
|
|
1315
|
+
export interface ProjectTaskLink {
|
|
1316
|
+
readonly name: 'project.task.link';
|
|
1317
|
+
readonly fields: {
|
|
1318
|
+
readonly id: F.Id<'project.task.link'>;
|
|
1319
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1320
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1321
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1322
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1323
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1324
|
+
readonly predecessor: F.Many2one<'project.task', { readonly required: true }>;
|
|
1325
|
+
readonly successor: F.Many2one<'project.task', { readonly required: true }>;
|
|
1326
|
+
readonly lag: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1327
|
+
};
|
|
1328
|
+
readonly methods: ProjectTaskLinkMethods;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/** Methods of `project.task.link`: declared ones and transitions. */
|
|
1332
|
+
export interface ProjectTaskLinkMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.task.link'> {
|
|
1333
|
+
}
|
|
1334
|
+
|
|
691
1335
|
/** `project.task.stage` (owner: project). */
|
|
692
1336
|
export interface ProjectTaskStage {
|
|
693
1337
|
readonly name: 'project.task.stage';
|
|
@@ -698,6 +1342,7 @@ export interface ProjectTaskStage {
|
|
|
698
1342
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
699
1343
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
700
1344
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1345
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
701
1346
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
702
1347
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
703
1348
|
readonly fold: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
@@ -727,6 +1372,7 @@ export interface ProjectTimesheet {
|
|
|
727
1372
|
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
728
1373
|
readonly hours: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
729
1374
|
readonly description: F.Char;
|
|
1375
|
+
readonly cost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
730
1376
|
};
|
|
731
1377
|
readonly methods: ProjectTimesheetMethods;
|
|
732
1378
|
}
|
|
@@ -735,6 +1381,66 @@ export interface ProjectTimesheet {
|
|
|
735
1381
|
export interface ProjectTimesheetMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.timesheet'> {
|
|
736
1382
|
}
|
|
737
1383
|
|
|
1384
|
+
/** `project.type` (owner: project). */
|
|
1385
|
+
export interface ProjectType {
|
|
1386
|
+
readonly name: 'project.type';
|
|
1387
|
+
readonly fields: {
|
|
1388
|
+
readonly id: F.Id<'project.type'>;
|
|
1389
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1390
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1391
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1392
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1393
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1394
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1395
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1396
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1397
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1398
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1399
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1400
|
+
};
|
|
1401
|
+
readonly methods: ProjectTypeMethods;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
/** Methods of `project.type`: declared ones and transitions. */
|
|
1405
|
+
export interface ProjectTypeMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.type'> {
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/** `project.work.package` (owner: project). */
|
|
1409
|
+
export interface ProjectWorkPackage {
|
|
1410
|
+
readonly name: 'project.work.package';
|
|
1411
|
+
readonly fields: {
|
|
1412
|
+
readonly id: F.Id<'project.work.package'>;
|
|
1413
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1414
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1415
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1416
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1417
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1418
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1419
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1420
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1421
|
+
readonly code: F.Char;
|
|
1422
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1423
|
+
readonly manager: F.Many2one<'res.users'>;
|
|
1424
|
+
readonly dateStart: F.DateOnly;
|
|
1425
|
+
readonly dateEnd: F.DateOnly;
|
|
1426
|
+
readonly status: F.Selection<'draft' | 'in_progress' | 'on_hold' | 'done' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
1427
|
+
readonly description: F.Text;
|
|
1428
|
+
readonly progressOverride: F.Decimal;
|
|
1429
|
+
readonly baselineStart: F.DateOnly;
|
|
1430
|
+
readonly baselineEnd: F.DateOnly;
|
|
1431
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1432
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
1433
|
+
readonly deliverables: F.Text;
|
|
1434
|
+
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
1435
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1436
|
+
};
|
|
1437
|
+
readonly methods: ProjectWorkPackageMethods;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
/** Methods of `project.work.package`: declared ones and transitions. */
|
|
1441
|
+
export interface ProjectWorkPackageMethods extends F.Methods<typeof import('../../project/index.js').projectShutro, 'project.work.package'> {
|
|
1442
|
+
}
|
|
1443
|
+
|
|
738
1444
|
/** `res.company` (owner: base; extended by: contacts, project). */
|
|
739
1445
|
export interface ResCompany {
|
|
740
1446
|
readonly name: 'res.company';
|
|
@@ -759,6 +1465,10 @@ export interface ResCompany {
|
|
|
759
1465
|
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
760
1466
|
readonly projectPlannedHoursDefault: F.Decimal; // project
|
|
761
1467
|
readonly projectTimesheetStep: F.Selection<'none' | 'quarter' | 'half' | 'whole', { readonly default: true }>; // project
|
|
1468
|
+
readonly projectRequirePlan: F.Bool<{ readonly required: true; readonly default: true }>; // project
|
|
1469
|
+
readonly projectHealthBehindRisk: F.Integer<{ readonly default: true }>; // project
|
|
1470
|
+
readonly projectHealthBehindOff: F.Integer<{ readonly default: true }>; // project
|
|
1471
|
+
readonly projectHealthCostRisk: F.Integer<{ readonly default: true }>; // project
|
|
762
1472
|
};
|
|
763
1473
|
readonly methods: ResCompanyMethods;
|
|
764
1474
|
}
|
|
@@ -809,6 +1519,7 @@ export interface ResPartner {
|
|
|
809
1519
|
readonly parent: F.Many2one<'res.partner'>;
|
|
810
1520
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
811
1521
|
readonly email: F.Char;
|
|
1522
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
812
1523
|
readonly phone: F.Char;
|
|
813
1524
|
readonly mobile: F.Char;
|
|
814
1525
|
readonly website: F.Char;
|
|
@@ -850,6 +1561,29 @@ export interface ResPartnerTag {
|
|
|
850
1561
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
851
1562
|
}
|
|
852
1563
|
|
|
1564
|
+
/** `res.segment` (owner: permissions). */
|
|
1565
|
+
export interface ResSegment {
|
|
1566
|
+
readonly name: 'res.segment';
|
|
1567
|
+
readonly fields: {
|
|
1568
|
+
readonly id: F.Id<'res.segment'>;
|
|
1569
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1570
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1571
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1572
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1573
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1574
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1575
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1576
|
+
readonly code: F.Char;
|
|
1577
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1578
|
+
readonly note: F.Text;
|
|
1579
|
+
};
|
|
1580
|
+
readonly methods: ResSegmentMethods;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
1584
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
853
1587
|
/** `res.users` (owner: base; extended by: portal). */
|
|
854
1588
|
export interface ResUsers {
|
|
855
1589
|
readonly name: 'res.users';
|