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: 8f72ca757b9b8450
|
|
2
2
|
// Schema view of module `project` (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;
|
|
@@ -25,18 +32,239 @@ export interface SchemaView {
|
|
|
25
32
|
readonly 'oauth.code': OauthCode;
|
|
26
33
|
readonly 'oauth.grant': OauthGrant;
|
|
27
34
|
readonly 'oauth.token': OauthToken;
|
|
35
|
+
readonly 'project.budget.line': ProjectBudgetLine;
|
|
36
|
+
readonly 'project.change': ProjectChange;
|
|
37
|
+
readonly 'project.issue': ProjectIssue;
|
|
38
|
+
readonly 'project.member': ProjectMember;
|
|
39
|
+
readonly 'project.phase': ProjectPhase;
|
|
40
|
+
readonly 'project.plan': ProjectPlan;
|
|
28
41
|
readonly 'project.project': ProjectProject;
|
|
42
|
+
readonly 'project.risk': ProjectRisk;
|
|
43
|
+
readonly 'project.role': ProjectRole;
|
|
44
|
+
readonly 'project.status.report': ProjectStatusReport;
|
|
45
|
+
readonly 'project.tag': ProjectTag;
|
|
29
46
|
readonly 'project.task': ProjectTask;
|
|
47
|
+
readonly 'project.task.category': ProjectTaskCategory;
|
|
48
|
+
readonly 'project.task.link': ProjectTaskLink;
|
|
30
49
|
readonly 'project.task.stage': ProjectTaskStage;
|
|
31
50
|
readonly 'project.timesheet': ProjectTimesheet;
|
|
51
|
+
readonly 'project.type': ProjectType;
|
|
52
|
+
readonly 'project.work.package': ProjectWorkPackage;
|
|
32
53
|
readonly 'res.company': ResCompany;
|
|
33
54
|
readonly 'res.currency': ResCurrency;
|
|
34
55
|
readonly 'res.partner': ResPartner;
|
|
35
56
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
57
|
+
readonly 'res.segment': ResSegment;
|
|
36
58
|
readonly 'res.users': ResUsers;
|
|
37
59
|
readonly 'storage.attachment': StorageAttachment;
|
|
38
60
|
}
|
|
39
61
|
|
|
62
|
+
/** `approval.delegation` (owner: permissions). */
|
|
63
|
+
export interface ApprovalDelegation {
|
|
64
|
+
readonly name: 'approval.delegation';
|
|
65
|
+
readonly fields: {
|
|
66
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
67
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
68
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
69
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
70
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
71
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
72
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
73
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
74
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
75
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
76
|
+
readonly note: F.Char;
|
|
77
|
+
};
|
|
78
|
+
readonly methods: ApprovalDelegationMethods;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
82
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** `approval.event` (owner: permissions). */
|
|
86
|
+
export interface ApprovalEvent {
|
|
87
|
+
readonly name: 'approval.event';
|
|
88
|
+
readonly fields: {
|
|
89
|
+
readonly id: F.Id<'approval.event'>;
|
|
90
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
91
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
92
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
93
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
94
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
95
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
96
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
97
|
+
readonly user: F.Many2one<'res.users'>;
|
|
98
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
99
|
+
readonly note: F.Text;
|
|
100
|
+
};
|
|
101
|
+
readonly methods: ApprovalEventMethods;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
105
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** `approval.level` (owner: permissions). */
|
|
109
|
+
export interface ApprovalLevel {
|
|
110
|
+
readonly name: 'approval.level';
|
|
111
|
+
readonly fields: {
|
|
112
|
+
readonly id: F.Id<'approval.level'>;
|
|
113
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
114
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
115
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
116
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
117
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
118
|
+
readonly policy: F.Many2one<'approval.policy', { readonly required: true }>;
|
|
119
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
120
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
121
|
+
readonly condition: F.Json;
|
|
122
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
123
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
124
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
125
|
+
readonly approverRole: F.Char;
|
|
126
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
127
|
+
readonly approverField: F.Char;
|
|
128
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
129
|
+
readonly quorumCount: F.Integer;
|
|
130
|
+
readonly deadlineHours: F.Integer;
|
|
131
|
+
readonly escalateRole: F.Char;
|
|
132
|
+
};
|
|
133
|
+
readonly methods: ApprovalLevelMethods;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** Methods of `approval.level`: declared ones and transitions. */
|
|
137
|
+
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** `approval.link` (owner: permissions). */
|
|
141
|
+
export interface ApprovalLink {
|
|
142
|
+
readonly name: 'approval.link';
|
|
143
|
+
readonly fields: {
|
|
144
|
+
readonly id: F.Id<'approval.link'>;
|
|
145
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
146
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
147
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
148
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
149
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
150
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
151
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
152
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
153
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
154
|
+
readonly usedAt: F.Datetime;
|
|
155
|
+
};
|
|
156
|
+
readonly methods: ApprovalLinkMethods;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
160
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** `approval.policy` (owner: permissions). */
|
|
164
|
+
export interface ApprovalPolicy {
|
|
165
|
+
readonly name: 'approval.policy';
|
|
166
|
+
readonly fields: {
|
|
167
|
+
readonly id: F.Id<'approval.policy'>;
|
|
168
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
169
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
170
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
171
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
172
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
173
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
174
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
175
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
176
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
177
|
+
readonly company: F.Many2one<'res.company'>;
|
|
178
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
179
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
180
|
+
readonly onApproved: F.Char;
|
|
181
|
+
readonly onRejected: F.Char;
|
|
182
|
+
readonly onSentBack: F.Char;
|
|
183
|
+
readonly onWithdrawn: F.Char;
|
|
184
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
185
|
+
readonly condition: F.Json;
|
|
186
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
187
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
188
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
189
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
190
|
+
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
191
|
+
};
|
|
192
|
+
readonly methods: ApprovalPolicyMethods;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/** Methods of `approval.policy`: declared ones and transitions. */
|
|
196
|
+
export interface ApprovalPolicyMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.policy'> {
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** `approval.request` (owner: permissions). */
|
|
200
|
+
export interface ApprovalRequest {
|
|
201
|
+
readonly name: 'approval.request';
|
|
202
|
+
readonly fields: {
|
|
203
|
+
readonly id: F.Id<'approval.request'>;
|
|
204
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
205
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
206
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
207
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
208
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
209
|
+
readonly policy: F.Many2one<'approval.policy'>;
|
|
210
|
+
readonly level: F.Many2one<'approval.level'>;
|
|
211
|
+
readonly levelName: F.Char<{ readonly required: true }>;
|
|
212
|
+
readonly sequence: F.Integer<{ readonly required: true }>;
|
|
213
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
214
|
+
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
215
|
+
readonly company: F.Many2one<'res.company'>;
|
|
216
|
+
readonly approverRole: F.Char;
|
|
217
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
218
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
219
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
220
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
221
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
222
|
+
readonly dueAt: F.Datetime;
|
|
223
|
+
readonly remindedAt: F.Datetime;
|
|
224
|
+
readonly escalatedTo: F.Char;
|
|
225
|
+
readonly escalatedAt: F.Datetime;
|
|
226
|
+
readonly startedAt: F.Datetime;
|
|
227
|
+
readonly explanation: F.Text;
|
|
228
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
229
|
+
readonly requestedBy: F.Many2one<'res.users'>;
|
|
230
|
+
readonly decidedBy: F.Many2one<'res.users'>;
|
|
231
|
+
readonly decidedAt: F.Datetime;
|
|
232
|
+
readonly comment: F.Text;
|
|
233
|
+
};
|
|
234
|
+
readonly methods: ApprovalRequestMethods;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** Methods of `approval.request`: declared ones and transitions. */
|
|
238
|
+
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/** `approval.vote` (owner: permissions). */
|
|
242
|
+
export interface ApprovalVote {
|
|
243
|
+
readonly name: 'approval.vote';
|
|
244
|
+
readonly fields: {
|
|
245
|
+
readonly id: F.Id<'approval.vote'>;
|
|
246
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
247
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
248
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
249
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
250
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
251
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
252
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
253
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
254
|
+
readonly comment: F.Text;
|
|
255
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
256
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
257
|
+
readonly ip: F.Char;
|
|
258
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
259
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
260
|
+
};
|
|
261
|
+
readonly methods: ApprovalVoteMethods;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
265
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
266
|
+
}
|
|
267
|
+
|
|
40
268
|
/** `audit.event` (owner: base). */
|
|
41
269
|
export interface AuditEvent {
|
|
42
270
|
readonly name: 'audit.event';
|
|
@@ -550,6 +778,214 @@ export interface OauthToken {
|
|
|
550
778
|
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
551
779
|
}
|
|
552
780
|
|
|
781
|
+
/** `project.budget.line` (owner: project). */
|
|
782
|
+
export interface ProjectBudgetLine {
|
|
783
|
+
readonly name: 'project.budget.line';
|
|
784
|
+
readonly fields: {
|
|
785
|
+
readonly id: F.Id<'project.budget.line'>;
|
|
786
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
787
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
788
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
789
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
790
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
791
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
792
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
793
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
794
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
795
|
+
readonly category: F.Selection<'labour' | 'materials' | 'services' | 'equipment' | 'other', { readonly required: true; readonly default: true }>;
|
|
796
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
797
|
+
readonly workPackage: F.Many2one<'project.work.package'>;
|
|
798
|
+
readonly planned: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
799
|
+
};
|
|
800
|
+
readonly methods: ProjectBudgetLineMethods;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/** Methods of `project.budget.line`: declared ones and transitions. */
|
|
804
|
+
export interface ProjectBudgetLineMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.budget.line'> {
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/** `project.change` (owner: project). */
|
|
808
|
+
export interface ProjectChange {
|
|
809
|
+
readonly name: 'project.change';
|
|
810
|
+
readonly fields: {
|
|
811
|
+
readonly id: F.Id<'project.change'>;
|
|
812
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
813
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
814
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
815
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
816
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
817
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
818
|
+
readonly name: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
819
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
820
|
+
readonly title: F.Char<{ readonly required: true }>;
|
|
821
|
+
readonly requester: F.Many2one<'res.users', { readonly default: true }>;
|
|
822
|
+
readonly sponsor: F.Many2one<'res.users', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
823
|
+
readonly reason: F.Text<{ readonly required: true }>;
|
|
824
|
+
readonly impact: F.Text;
|
|
825
|
+
readonly newDateEnd: F.DateOnly;
|
|
826
|
+
readonly newBudget: F.Decimal;
|
|
827
|
+
readonly previousDateEnd: F.DateOnly;
|
|
828
|
+
readonly previousBaselineEnd: F.DateOnly;
|
|
829
|
+
readonly previousBudget: F.Decimal;
|
|
830
|
+
readonly appliedAt: F.Datetime;
|
|
831
|
+
readonly state: F.State<'draft' | 'submitted' | 'applied' | 'rejected' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
832
|
+
};
|
|
833
|
+
readonly methods: ProjectChangeMethods;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/** Methods of `project.change`: declared ones and transitions. */
|
|
837
|
+
export interface ProjectChangeMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.change'> {
|
|
838
|
+
readonly 'approve': () => Promise<void>;
|
|
839
|
+
readonly 'cancel': () => Promise<void>;
|
|
840
|
+
readonly 'redraft': () => Promise<void>;
|
|
841
|
+
readonly 'reject': () => Promise<void>;
|
|
842
|
+
readonly 'submit': () => Promise<void>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/** `project.issue` (owner: project). */
|
|
846
|
+
export interface ProjectIssue {
|
|
847
|
+
readonly name: 'project.issue';
|
|
848
|
+
readonly fields: {
|
|
849
|
+
readonly id: F.Id<'project.issue'>;
|
|
850
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
851
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
852
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
853
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
854
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
855
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
856
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
857
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
858
|
+
readonly description: F.Text;
|
|
859
|
+
readonly severity: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
860
|
+
readonly raisedBy: F.Many2one<'res.users', { readonly default: true }>;
|
|
861
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
862
|
+
readonly dueDate: F.DateOnly;
|
|
863
|
+
readonly status: F.Selection<'open' | 'in_progress' | 'resolved' | 'closed', { readonly required: true; readonly default: true }>;
|
|
864
|
+
readonly resolution: F.Text;
|
|
865
|
+
readonly risk: F.Many2one<'project.risk'>;
|
|
866
|
+
};
|
|
867
|
+
readonly methods: ProjectIssueMethods;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/** Methods of `project.issue`: declared ones and transitions. */
|
|
871
|
+
export interface ProjectIssueMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.issue'> {
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/** `project.member` (owner: project). */
|
|
875
|
+
export interface ProjectMember {
|
|
876
|
+
readonly name: 'project.member';
|
|
877
|
+
readonly fields: {
|
|
878
|
+
readonly id: F.Id<'project.member'>;
|
|
879
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
880
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
881
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
882
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
883
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
884
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
885
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
886
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
887
|
+
readonly role: F.Many2one<'project.role'>;
|
|
888
|
+
readonly allocation: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
889
|
+
readonly hourlyCost: F.Decimal;
|
|
890
|
+
readonly dateFrom: F.DateOnly;
|
|
891
|
+
readonly dateTo: F.DateOnly;
|
|
892
|
+
readonly notes: F.Text;
|
|
893
|
+
readonly overallocated: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true }>;
|
|
894
|
+
};
|
|
895
|
+
readonly methods: ProjectMemberMethods;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
/** Methods of `project.member`: declared ones and transitions. */
|
|
899
|
+
export interface ProjectMemberMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.member'> {
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/** `project.phase` (owner: project). */
|
|
903
|
+
export interface ProjectPhase {
|
|
904
|
+
readonly name: 'project.phase';
|
|
905
|
+
readonly fields: {
|
|
906
|
+
readonly id: F.Id<'project.phase'>;
|
|
907
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
908
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
909
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
910
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
911
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
912
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
913
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
914
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
915
|
+
readonly code: F.Char;
|
|
916
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
917
|
+
readonly manager: F.Many2one<'res.users'>;
|
|
918
|
+
readonly dateStart: F.DateOnly;
|
|
919
|
+
readonly dateEnd: F.DateOnly;
|
|
920
|
+
readonly status: F.Selection<'draft' | 'in_progress' | 'on_hold' | 'done' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
921
|
+
readonly description: F.Text;
|
|
922
|
+
readonly progressOverride: F.Decimal;
|
|
923
|
+
readonly baselineStart: F.DateOnly;
|
|
924
|
+
readonly baselineEnd: F.DateOnly;
|
|
925
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
926
|
+
readonly parentPhase: F.Many2one<'project.phase'>;
|
|
927
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
928
|
+
readonly children: F.One2many<'project.phase', { readonly required: true }>;
|
|
929
|
+
readonly responsible: F.Many2one<'res.users'>;
|
|
930
|
+
readonly late: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
931
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
932
|
+
readonly workPackages: F.One2many<'project.work.package', { readonly required: true }>;
|
|
933
|
+
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
934
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
935
|
+
};
|
|
936
|
+
readonly methods: ProjectPhaseMethods;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/** Methods of `project.phase`: declared ones and transitions. */
|
|
940
|
+
export interface ProjectPhaseMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.phase'> {
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/** `project.plan` (owner: project). */
|
|
944
|
+
export interface ProjectPlan {
|
|
945
|
+
readonly name: 'project.plan';
|
|
946
|
+
readonly fields: {
|
|
947
|
+
readonly id: F.Id<'project.plan'>;
|
|
948
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
949
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
950
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
951
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
952
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
953
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
954
|
+
readonly name: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
955
|
+
readonly title: F.Char<{ readonly required: true }>;
|
|
956
|
+
readonly type: F.Many2one<'project.type'>;
|
|
957
|
+
readonly requester: F.Many2one<'res.users', { readonly default: true }>;
|
|
958
|
+
readonly manager: F.Many2one<'res.users', { readonly default: true }>;
|
|
959
|
+
readonly sponsor: F.Many2one<'res.users'>;
|
|
960
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
961
|
+
readonly dateStart: F.DateOnly;
|
|
962
|
+
readonly dateEnd: F.DateOnly;
|
|
963
|
+
readonly description: F.Text;
|
|
964
|
+
readonly objectives: F.Text;
|
|
965
|
+
readonly expectedOutcome: F.Text;
|
|
966
|
+
readonly strategicGoal: F.Text;
|
|
967
|
+
readonly estimatedBudget: F.Decimal;
|
|
968
|
+
readonly approvedBudget: F.Decimal;
|
|
969
|
+
readonly approvedAt: F.Datetime;
|
|
970
|
+
readonly projects: F.One2many<'project.project', { readonly required: true }>;
|
|
971
|
+
readonly projectCount: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
972
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'rejected' | 'in_progress' | 'completed' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
973
|
+
};
|
|
974
|
+
readonly methods: ProjectPlanMethods;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/** Methods of `project.plan`: declared ones and transitions. */
|
|
978
|
+
export interface ProjectPlanMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.plan'> {
|
|
979
|
+
readonly 'approve': () => Promise<void>;
|
|
980
|
+
readonly 'baseline': () => Promise<void>;
|
|
981
|
+
readonly 'cancel': () => Promise<void>;
|
|
982
|
+
readonly 'complete': () => Promise<void>;
|
|
983
|
+
readonly 'redraft': () => Promise<void>;
|
|
984
|
+
readonly 'reject': () => Promise<void>;
|
|
985
|
+
readonly 'start': () => Promise<void>;
|
|
986
|
+
readonly 'submit': () => Promise<void>;
|
|
987
|
+
}
|
|
988
|
+
|
|
553
989
|
/** `project.project` (owner: project). */
|
|
554
990
|
export interface ProjectProject {
|
|
555
991
|
readonly name: 'project.project';
|
|
@@ -563,13 +999,49 @@ export interface ProjectProject {
|
|
|
563
999
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
564
1000
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
565
1001
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1002
|
+
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1003
|
+
readonly type: F.Many2one<'project.type'>;
|
|
1004
|
+
readonly parentProject: F.Many2one<'project.project'>;
|
|
1005
|
+
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1006
|
+
readonly children: F.One2many<'project.project', { readonly required: true }>;
|
|
1007
|
+
readonly plan: F.Many2one<'project.plan'>;
|
|
1008
|
+
readonly baselineStart: F.DateOnly;
|
|
1009
|
+
readonly baselineEnd: F.DateOnly;
|
|
1010
|
+
readonly baselineBudget: F.Decimal;
|
|
1011
|
+
readonly slipDays: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
566
1012
|
readonly partner: F.Many2one<'res.partner'>;
|
|
567
1013
|
readonly manager: F.Many2one<'res.users', { readonly default: true }>;
|
|
1014
|
+
readonly sponsor: F.Many2one<'res.users'>;
|
|
1015
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
1016
|
+
readonly priority: F.Selection<'low' | 'normal' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1017
|
+
readonly riskLevel: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly required: true; readonly default: true }>;
|
|
1018
|
+
readonly location: F.Char;
|
|
568
1019
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
569
1020
|
readonly dateStart: F.DateOnly;
|
|
570
1021
|
readonly dateEnd: F.DateOnly;
|
|
571
1022
|
readonly description: F.Text;
|
|
1023
|
+
readonly scope: F.Text;
|
|
1024
|
+
readonly assumptions: F.Text;
|
|
1025
|
+
readonly constraints: F.Text;
|
|
1026
|
+
readonly phases: F.One2many<'project.phase', { readonly required: true }>;
|
|
1027
|
+
readonly workPackages: F.One2many<'project.work.package', { readonly required: true }>;
|
|
1028
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
572
1029
|
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
1030
|
+
readonly members: F.One2many<'project.member', { readonly required: true }>;
|
|
1031
|
+
readonly timesheets: F.One2many<'project.timesheet', { readonly required: true }>;
|
|
1032
|
+
readonly budgetLines: F.One2many<'project.budget.line', { readonly required: true }>;
|
|
1033
|
+
readonly budget: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1034
|
+
readonly bookedCost: F.Decimal;
|
|
1035
|
+
readonly committedCost: F.Decimal;
|
|
1036
|
+
readonly actualCost: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
1037
|
+
readonly variance: F.Decimal<{ readonly readonly: true; readonly compute: true }>;
|
|
1038
|
+
readonly healthComputed: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1039
|
+
readonly healthNotes: F.Text;
|
|
1040
|
+
readonly healthCheckedAt: F.Datetime;
|
|
1041
|
+
readonly healthOverride: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1042
|
+
readonly healthReason: F.Text;
|
|
1043
|
+
readonly health: F.Selection<'on_track' | 'at_risk' | 'off_track', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1044
|
+
readonly labourCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
573
1045
|
readonly taskCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
574
1046
|
readonly hours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
575
1047
|
};
|
|
@@ -580,6 +1052,114 @@ export interface ProjectProject {
|
|
|
580
1052
|
export interface ProjectProjectMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.project'> {
|
|
581
1053
|
}
|
|
582
1054
|
|
|
1055
|
+
/** `project.risk` (owner: project). */
|
|
1056
|
+
export interface ProjectRisk {
|
|
1057
|
+
readonly name: 'project.risk';
|
|
1058
|
+
readonly fields: {
|
|
1059
|
+
readonly id: F.Id<'project.risk'>;
|
|
1060
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1061
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1062
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1063
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1064
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1065
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1066
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1067
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1068
|
+
readonly description: F.Text;
|
|
1069
|
+
readonly category: F.Selection<'schedule' | 'cost' | 'scope' | 'quality' | 'safety' | 'supply' | 'other', { readonly required: true; readonly default: true }>;
|
|
1070
|
+
readonly probability: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1071
|
+
readonly impact: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1072
|
+
readonly score: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1073
|
+
readonly level: F.Selection<'low' | 'medium' | 'high' | 'critical', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1074
|
+
readonly owner: F.Many2one<'res.users', { readonly default: true }>;
|
|
1075
|
+
readonly mitigation: F.Text;
|
|
1076
|
+
readonly contingency: F.Text;
|
|
1077
|
+
readonly dueDate: F.DateOnly;
|
|
1078
|
+
readonly status: F.Selection<'open' | 'mitigating' | 'occurred' | 'closed', { readonly required: true; readonly default: true }>;
|
|
1079
|
+
};
|
|
1080
|
+
readonly methods: ProjectRiskMethods;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/** Methods of `project.risk`: declared ones and transitions. */
|
|
1084
|
+
export interface ProjectRiskMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.risk'> {
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/** `project.role` (owner: project). */
|
|
1088
|
+
export interface ProjectRole {
|
|
1089
|
+
readonly name: 'project.role';
|
|
1090
|
+
readonly fields: {
|
|
1091
|
+
readonly id: F.Id<'project.role'>;
|
|
1092
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1093
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1094
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1095
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1096
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1097
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1098
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1099
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1100
|
+
readonly code: F.Char;
|
|
1101
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1102
|
+
readonly defaultHourlyCost: F.Decimal;
|
|
1103
|
+
};
|
|
1104
|
+
readonly methods: ProjectRoleMethods;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/** Methods of `project.role`: declared ones and transitions. */
|
|
1108
|
+
export interface ProjectRoleMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.role'> {
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
/** `project.status.report` (owner: project). */
|
|
1112
|
+
export interface ProjectStatusReport {
|
|
1113
|
+
readonly name: 'project.status.report';
|
|
1114
|
+
readonly fields: {
|
|
1115
|
+
readonly id: F.Id<'project.status.report'>;
|
|
1116
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1117
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1118
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1119
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1120
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1121
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1122
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1123
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1124
|
+
readonly name: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1125
|
+
readonly author: F.Many2one<'res.users', { readonly default: true }>;
|
|
1126
|
+
readonly health: F.Selection<'on_track' | 'at_risk' | 'off_track'>;
|
|
1127
|
+
readonly progress: F.Decimal;
|
|
1128
|
+
readonly done: F.Text;
|
|
1129
|
+
readonly next: F.Text;
|
|
1130
|
+
readonly risks: F.Text;
|
|
1131
|
+
readonly sentAt: F.Datetime;
|
|
1132
|
+
readonly state: F.State<'draft' | 'sent', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1133
|
+
};
|
|
1134
|
+
readonly methods: ProjectStatusReportMethods;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/** Methods of `project.status.report`: declared ones and transitions. */
|
|
1138
|
+
export interface ProjectStatusReportMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.status.report'> {
|
|
1139
|
+
readonly 'send': () => Promise<void>;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
/** `project.tag` (owner: project). */
|
|
1143
|
+
export interface ProjectTag {
|
|
1144
|
+
readonly name: 'project.tag';
|
|
1145
|
+
readonly fields: {
|
|
1146
|
+
readonly id: F.Id<'project.tag'>;
|
|
1147
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1148
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1149
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1150
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1151
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1152
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1153
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1154
|
+
readonly color: F.Char;
|
|
1155
|
+
};
|
|
1156
|
+
readonly methods: ProjectTagMethods;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/** Methods of `project.tag`: declared ones and transitions. */
|
|
1160
|
+
export interface ProjectTagMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.tag'> {
|
|
1161
|
+
}
|
|
1162
|
+
|
|
583
1163
|
/** `project.task` (owner: project). */
|
|
584
1164
|
export interface ProjectTask {
|
|
585
1165
|
readonly name: 'project.task';
|
|
@@ -595,16 +1175,35 @@ export interface ProjectTask {
|
|
|
595
1175
|
readonly name: F.Char<{ readonly required: true }>;
|
|
596
1176
|
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
597
1177
|
readonly stage: F.Many2one<'project.task.stage'>;
|
|
1178
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
1179
|
+
readonly workPackage: F.Many2one<'project.work.package'>;
|
|
1180
|
+
readonly category: F.Many2one<'project.task.category'>;
|
|
1181
|
+
readonly parentTask: F.Many2one<'project.task'>;
|
|
1182
|
+
readonly subtasks: F.One2many<'project.task', { readonly required: true }>;
|
|
598
1183
|
readonly assignee: F.Many2one<'res.users'>;
|
|
1184
|
+
readonly assignees: F.Many2many<'res.users', { readonly required: true }>;
|
|
1185
|
+
readonly tags: F.Many2many<'project.tag', { readonly required: true }>;
|
|
1186
|
+
readonly milestone: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1187
|
+
readonly predecessors: F.One2many<'project.task.link', { readonly required: true }>;
|
|
1188
|
+
readonly successors: F.One2many<'project.task.link', { readonly required: true }>;
|
|
599
1189
|
readonly partner: F.Many2one<'res.partner'>;
|
|
600
1190
|
readonly priority: F.Selection<'normal' | 'high', { readonly required: true; readonly default: true }>;
|
|
601
1191
|
readonly deadline: F.DateOnly;
|
|
602
1192
|
readonly plannedHours: F.Decimal;
|
|
603
1193
|
readonly effectiveHours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
604
1194
|
readonly done: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
1195
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1196
|
+
readonly blocked: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
605
1197
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
606
1198
|
readonly description: F.Text;
|
|
607
1199
|
readonly timesheets: F.One2many<'project.timesheet', { readonly required: true }>;
|
|
1200
|
+
readonly dateStart: F.DateOnly;
|
|
1201
|
+
readonly baselineStart: F.DateOnly;
|
|
1202
|
+
readonly baselineEnd: F.DateOnly;
|
|
1203
|
+
readonly repeatEvery: F.Integer;
|
|
1204
|
+
readonly repeatUnit: F.Selection<'day' | 'week' | 'month', { readonly default: true }>;
|
|
1205
|
+
readonly repeatUntil: F.DateOnly;
|
|
1206
|
+
readonly nextTask: F.Many2one<'project.task'>;
|
|
608
1207
|
};
|
|
609
1208
|
readonly methods: ProjectTaskMethods;
|
|
610
1209
|
}
|
|
@@ -613,6 +1212,51 @@ export interface ProjectTask {
|
|
|
613
1212
|
export interface ProjectTaskMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.task'> {
|
|
614
1213
|
}
|
|
615
1214
|
|
|
1215
|
+
/** `project.task.category` (owner: project). */
|
|
1216
|
+
export interface ProjectTaskCategory {
|
|
1217
|
+
readonly name: 'project.task.category';
|
|
1218
|
+
readonly fields: {
|
|
1219
|
+
readonly id: F.Id<'project.task.category'>;
|
|
1220
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1221
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1222
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1223
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1224
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1225
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1226
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1227
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1228
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1229
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1230
|
+
readonly type: F.Many2one<'project.type'>;
|
|
1231
|
+
};
|
|
1232
|
+
readonly methods: ProjectTaskCategoryMethods;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/** Methods of `project.task.category`: declared ones and transitions. */
|
|
1236
|
+
export interface ProjectTaskCategoryMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.task.category'> {
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/** `project.task.link` (owner: project). */
|
|
1240
|
+
export interface ProjectTaskLink {
|
|
1241
|
+
readonly name: 'project.task.link';
|
|
1242
|
+
readonly fields: {
|
|
1243
|
+
readonly id: F.Id<'project.task.link'>;
|
|
1244
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1245
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1246
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1247
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1248
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1249
|
+
readonly predecessor: F.Many2one<'project.task', { readonly required: true }>;
|
|
1250
|
+
readonly successor: F.Many2one<'project.task', { readonly required: true }>;
|
|
1251
|
+
readonly lag: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1252
|
+
};
|
|
1253
|
+
readonly methods: ProjectTaskLinkMethods;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/** Methods of `project.task.link`: declared ones and transitions. */
|
|
1257
|
+
export interface ProjectTaskLinkMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.task.link'> {
|
|
1258
|
+
}
|
|
1259
|
+
|
|
616
1260
|
/** `project.task.stage` (owner: project). */
|
|
617
1261
|
export interface ProjectTaskStage {
|
|
618
1262
|
readonly name: 'project.task.stage';
|
|
@@ -623,6 +1267,7 @@ export interface ProjectTaskStage {
|
|
|
623
1267
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
624
1268
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
625
1269
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1270
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
626
1271
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
627
1272
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
628
1273
|
readonly fold: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
@@ -652,6 +1297,7 @@ export interface ProjectTimesheet {
|
|
|
652
1297
|
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
653
1298
|
readonly hours: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
654
1299
|
readonly description: F.Char;
|
|
1300
|
+
readonly cost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
655
1301
|
};
|
|
656
1302
|
readonly methods: ProjectTimesheetMethods;
|
|
657
1303
|
}
|
|
@@ -660,6 +1306,66 @@ export interface ProjectTimesheet {
|
|
|
660
1306
|
export interface ProjectTimesheetMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.timesheet'> {
|
|
661
1307
|
}
|
|
662
1308
|
|
|
1309
|
+
/** `project.type` (owner: project). */
|
|
1310
|
+
export interface ProjectType {
|
|
1311
|
+
readonly name: 'project.type';
|
|
1312
|
+
readonly fields: {
|
|
1313
|
+
readonly id: F.Id<'project.type'>;
|
|
1314
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1315
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1316
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1317
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1318
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1319
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1320
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1321
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1322
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1323
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1324
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1325
|
+
};
|
|
1326
|
+
readonly methods: ProjectTypeMethods;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/** Methods of `project.type`: declared ones and transitions. */
|
|
1330
|
+
export interface ProjectTypeMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.type'> {
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/** `project.work.package` (owner: project). */
|
|
1334
|
+
export interface ProjectWorkPackage {
|
|
1335
|
+
readonly name: 'project.work.package';
|
|
1336
|
+
readonly fields: {
|
|
1337
|
+
readonly id: F.Id<'project.work.package'>;
|
|
1338
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1339
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1340
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1341
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1342
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1343
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1344
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1345
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1346
|
+
readonly code: F.Char;
|
|
1347
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1348
|
+
readonly manager: F.Many2one<'res.users'>;
|
|
1349
|
+
readonly dateStart: F.DateOnly;
|
|
1350
|
+
readonly dateEnd: F.DateOnly;
|
|
1351
|
+
readonly status: F.Selection<'draft' | 'in_progress' | 'on_hold' | 'done' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
1352
|
+
readonly description: F.Text;
|
|
1353
|
+
readonly progressOverride: F.Decimal;
|
|
1354
|
+
readonly baselineStart: F.DateOnly;
|
|
1355
|
+
readonly baselineEnd: F.DateOnly;
|
|
1356
|
+
readonly project: F.Many2one<'project.project', { readonly required: true }>;
|
|
1357
|
+
readonly phase: F.Many2one<'project.phase'>;
|
|
1358
|
+
readonly deliverables: F.Text;
|
|
1359
|
+
readonly tasks: F.One2many<'project.task', { readonly required: true }>;
|
|
1360
|
+
readonly progress: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1361
|
+
};
|
|
1362
|
+
readonly methods: ProjectWorkPackageMethods;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/** Methods of `project.work.package`: declared ones and transitions. */
|
|
1366
|
+
export interface ProjectWorkPackageMethods extends F.Methods<typeof import('../module.js').projectShutro, 'project.work.package'> {
|
|
1367
|
+
}
|
|
1368
|
+
|
|
663
1369
|
/** `res.company` (owner: base; extended by: contacts, project). */
|
|
664
1370
|
export interface ResCompany {
|
|
665
1371
|
readonly name: 'res.company';
|
|
@@ -684,6 +1390,10 @@ export interface ResCompany {
|
|
|
684
1390
|
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
685
1391
|
readonly projectPlannedHoursDefault: F.Decimal; // project
|
|
686
1392
|
readonly projectTimesheetStep: F.Selection<'none' | 'quarter' | 'half' | 'whole', { readonly default: true }>; // project
|
|
1393
|
+
readonly projectRequirePlan: F.Bool<{ readonly required: true; readonly default: true }>; // project
|
|
1394
|
+
readonly projectHealthBehindRisk: F.Integer<{ readonly default: true }>; // project
|
|
1395
|
+
readonly projectHealthBehindOff: F.Integer<{ readonly default: true }>; // project
|
|
1396
|
+
readonly projectHealthCostRisk: F.Integer<{ readonly default: true }>; // project
|
|
687
1397
|
};
|
|
688
1398
|
readonly methods: ResCompanyMethods;
|
|
689
1399
|
}
|
|
@@ -734,6 +1444,7 @@ export interface ResPartner {
|
|
|
734
1444
|
readonly parent: F.Many2one<'res.partner'>;
|
|
735
1445
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
736
1446
|
readonly email: F.Char;
|
|
1447
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
737
1448
|
readonly phone: F.Char;
|
|
738
1449
|
readonly mobile: F.Char;
|
|
739
1450
|
readonly website: F.Char;
|
|
@@ -774,6 +1485,29 @@ export interface ResPartnerTag {
|
|
|
774
1485
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
775
1486
|
}
|
|
776
1487
|
|
|
1488
|
+
/** `res.segment` (owner: permissions). */
|
|
1489
|
+
export interface ResSegment {
|
|
1490
|
+
readonly name: 'res.segment';
|
|
1491
|
+
readonly fields: {
|
|
1492
|
+
readonly id: F.Id<'res.segment'>;
|
|
1493
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1494
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1495
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1496
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1497
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1498
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1499
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1500
|
+
readonly code: F.Char;
|
|
1501
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
1502
|
+
readonly note: F.Text;
|
|
1503
|
+
};
|
|
1504
|
+
readonly methods: ResSegmentMethods;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
1508
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
1509
|
+
}
|
|
1510
|
+
|
|
777
1511
|
/** `res.users` (owner: base). */
|
|
778
1512
|
export interface ResUsers {
|
|
779
1513
|
readonly name: 'res.users';
|