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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/** Bangla for the module's labels, keyed by their English text (RFC 0023 §3.1; `pnpm i18n:extract`). */
|
|
2
|
+
export const bn = {
|
|
3
|
+
'A customer cannot be saved without a tax ID (BIN, TIN, GSTIN…).': 'কর শনাক্তকরণ নম্বর (BIN, TIN, GSTIN…) ছাড়া গ্রাহক সংরক্ষণ করা যায় না।',
|
|
4
|
+
'A tag with this name exists.': 'এই নামে একটি ট্যাগ আগে থেকেই আছে।',
|
|
5
|
+
Active: 'সক্রিয়',
|
|
6
|
+
Address: 'ঠিকানা',
|
|
7
|
+
'An email address must look like name@example.com.': 'ইমেইল ঠিকানা name@example.com-এর মতো হতে হবে।',
|
|
8
|
+
'Another contact has this email address (App settings › Contacts: one contact per email).': 'অন্য একটি যোগাযোগের এই ইমেইল ঠিকানা আছে (অ্যাপ সেটিংস › যোগাযোগ: প্রতি ইমেইলে একটি যোগাযোগ)।',
|
|
9
|
+
'By country': 'দেশ অনুযায়ী',
|
|
10
|
+
City: 'শহর',
|
|
11
|
+
Companies: 'প্রতিষ্ঠান',
|
|
12
|
+
'Companies by city': 'শহরভিত্তিক প্রতিষ্ঠান',
|
|
13
|
+
Company: 'প্রতিষ্ঠান',
|
|
14
|
+
Contact: 'যোগাযোগ',
|
|
15
|
+
'Contact tag': 'যোগাযোগের ট্যাগ',
|
|
16
|
+
Contacts: 'যোগাযোগ',
|
|
17
|
+
'Contacts manager': 'যোগাযোগ ব্যবস্থাপক',
|
|
18
|
+
'Contacts user': 'যোগাযোগ ব্যবহারকারী',
|
|
19
|
+
Country: 'দেশ',
|
|
20
|
+
'Created At': 'তৈরির সময়',
|
|
21
|
+
'Created By': 'তৈরি করেছেন',
|
|
22
|
+
Currency: 'মুদ্রা',
|
|
23
|
+
Customer: 'গ্রাহক',
|
|
24
|
+
Customers: 'গ্রাহক',
|
|
25
|
+
'Customers need a tax ID': 'গ্রাহকের কর শনাক্তকরণ নম্বর লাগবে',
|
|
26
|
+
'Customers need a tax ID in this company (App settings › Contacts).': 'এই প্রতিষ্ঠানে গ্রাহকের কর শনাক্তকরণ নম্বর লাগবে (অ্যাপ সেটিংস › যোগাযোগ)।',
|
|
27
|
+
'Customers, vendors and the people who work there': 'গ্রাহক, সরবরাহকারী এবং সেখানে কর্মরত ব্যক্তিরা',
|
|
28
|
+
'Decimal degrees, e.g. 23.8103 for Dhaka': 'দশমিক ডিগ্রি, যেমন ঢাকার জন্য 23.8103',
|
|
29
|
+
'Decimal degrees, e.g. 90.4125 for Dhaka': 'দশমিক ডিগ্রি, যেমন ঢাকার জন্য 90.4125',
|
|
30
|
+
'Decimal degrees; the Map view shows contacts that have them.': 'দশমিক ডিগ্রি; মানচিত্র ভিউতে এগুলো থাকা যোগাযোগগুলো দেখা যায়।',
|
|
31
|
+
'Display Name': 'প্রদর্শিত নাম',
|
|
32
|
+
Email: 'ইমেইল',
|
|
33
|
+
English: 'ইংরেজি',
|
|
34
|
+
ID: 'আইডি',
|
|
35
|
+
'Is a company': 'প্রতিষ্ঠান কি না',
|
|
36
|
+
Language: 'ভাষা',
|
|
37
|
+
Latitude: 'অক্ষাংশ',
|
|
38
|
+
Longitude: 'দ্রাঘিমাংশ',
|
|
39
|
+
Manager: 'ব্যবস্থাপক',
|
|
40
|
+
Mobile: 'মোবাইল',
|
|
41
|
+
Name: 'নাম',
|
|
42
|
+
'New contacts': 'নতুন যোগাযোগ',
|
|
43
|
+
'New this month': 'এ মাসে নতুন',
|
|
44
|
+
Notes: 'নোট',
|
|
45
|
+
'On the map': 'মানচিত্রে',
|
|
46
|
+
'One contact per email address': 'প্রতি ইমেইল ঠিকানায় একটি যোগাযোগ',
|
|
47
|
+
Overview: 'সারসংক্ষেপ',
|
|
48
|
+
People: 'ব্যক্তি',
|
|
49
|
+
Phone: 'ফোন',
|
|
50
|
+
Photo: 'ছবি',
|
|
51
|
+
'Postal code': 'পোস্ট কোড',
|
|
52
|
+
Sales: 'বিক্রয়',
|
|
53
|
+
'Sales & purchase': 'বিক্রয় ও ক্রয়',
|
|
54
|
+
'State / province': 'রাজ্য / প্রদেশ',
|
|
55
|
+
Street: 'রাস্তা',
|
|
56
|
+
Tags: 'ট্যাগ',
|
|
57
|
+
'Tax ID': 'কর শনাক্তকরণ নম্বর',
|
|
58
|
+
'The language documents and emails are sent in; empty: the sender’s.': 'যে ভাষায় নথি ও ইমেইল পাঠানো হয়; খালি: প্রেরকের ভাষা।',
|
|
59
|
+
'Two contacts cannot share an email address.': 'দুটি যোগাযোগের একই ইমেইল ঠিকানা থাকতে পারে না।',
|
|
60
|
+
'Updated At': 'হালনাগাদের সময়',
|
|
61
|
+
'Updated By': 'হালনাগাদ করেছেন',
|
|
62
|
+
User: 'ব্যবহারকারী',
|
|
63
|
+
Vendor: 'সরবরাহকারী',
|
|
64
|
+
Vendors: 'সরবরাহকারী',
|
|
65
|
+
Website: 'ওয়েবসাইট',
|
|
66
|
+
'What a contact needs before it is saved, in this company.': 'এই প্রতিষ্ঠানে যোগাযোগ সংরক্ষণের আগে যা যা লাগবে।',
|
|
67
|
+
};
|
package/dist/contacts/index.js
CHANGED
|
@@ -48,6 +48,8 @@ export const contacts = defineModule({
|
|
|
48
48
|
category: 'Sales',
|
|
49
49
|
summary: 'Customers, vendors and the people who work there',
|
|
50
50
|
},
|
|
51
|
+
// Bangla for the labels it serves (RFC 0023 §3.1; `pnpm i18n:extract`).
|
|
52
|
+
i18n: { bn: () => import('./i18n/bn.js') },
|
|
51
53
|
accessLevels: {
|
|
52
54
|
user: { label: 'User', groups: ['contacts.user'] },
|
|
53
55
|
manager: { label: 'Manager', groups: ['contacts.manager'], implies: ['user'] },
|
|
@@ -217,6 +219,7 @@ export const contacts = defineModule({
|
|
|
217
219
|
{ field: 'phone', widget: 'phone' },
|
|
218
220
|
{ field: 'mobile', widget: 'phone' },
|
|
219
221
|
{ field: 'website', widget: 'url' },
|
|
222
|
+
'lang',
|
|
220
223
|
]),
|
|
221
224
|
k.notebook('more', [
|
|
222
225
|
k.page('address', 'Address', [
|
|
@@ -220,6 +220,16 @@ export declare const ResPartner: import("../server/orm.js").Model<"res.partner",
|
|
|
220
220
|
readonly hasDefault: false;
|
|
221
221
|
readonly readonly: false;
|
|
222
222
|
}, string>;
|
|
223
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
224
|
+
readonly required: false;
|
|
225
|
+
readonly computed: false;
|
|
226
|
+
readonly inverse: false;
|
|
227
|
+
readonly sequence: false;
|
|
228
|
+
readonly computeName: undefined;
|
|
229
|
+
readonly store: true;
|
|
230
|
+
readonly hasDefault: false;
|
|
231
|
+
readonly readonly: false;
|
|
232
|
+
}>;
|
|
223
233
|
readonly phone: import("../server/orm.js").CharField<{
|
|
224
234
|
readonly required: false;
|
|
225
235
|
readonly computed: false;
|
|
@@ -444,6 +454,17 @@ export declare const ResPartner: import("../server/orm.js").Model<"res.partner",
|
|
|
444
454
|
readonly hasDefault: false;
|
|
445
455
|
readonly readonly: false;
|
|
446
456
|
}, string>;
|
|
457
|
+
/** The language documents are sent in (RFC 0029 §3.3). */
|
|
458
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
459
|
+
readonly required: false;
|
|
460
|
+
readonly computed: false;
|
|
461
|
+
readonly inverse: false;
|
|
462
|
+
readonly sequence: false;
|
|
463
|
+
readonly computeName: undefined;
|
|
464
|
+
readonly store: true;
|
|
465
|
+
readonly hasDefault: false;
|
|
466
|
+
readonly readonly: false;
|
|
467
|
+
}>;
|
|
447
468
|
readonly phone: import("../server/orm.js").CharField<{
|
|
448
469
|
readonly required: false;
|
|
449
470
|
readonly computed: false;
|
|
@@ -776,6 +797,16 @@ export declare const contactsShutro: import("../server/orm.js").Module<readonly
|
|
|
776
797
|
readonly hasDefault: false;
|
|
777
798
|
readonly readonly: false;
|
|
778
799
|
}, string>;
|
|
800
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
801
|
+
readonly required: false;
|
|
802
|
+
readonly computed: false;
|
|
803
|
+
readonly inverse: false;
|
|
804
|
+
readonly sequence: false;
|
|
805
|
+
readonly computeName: undefined;
|
|
806
|
+
readonly store: true;
|
|
807
|
+
readonly hasDefault: false;
|
|
808
|
+
readonly readonly: false;
|
|
809
|
+
}>;
|
|
779
810
|
readonly phone: import("../server/orm.js").CharField<{
|
|
780
811
|
readonly required: false;
|
|
781
812
|
readonly computed: false;
|
|
@@ -1000,6 +1031,17 @@ export declare const contactsShutro: import("../server/orm.js").Module<readonly
|
|
|
1000
1031
|
readonly hasDefault: false;
|
|
1001
1032
|
readonly readonly: false;
|
|
1002
1033
|
}, string>;
|
|
1034
|
+
/** The language documents are sent in (RFC 0029 §3.3). */
|
|
1035
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
1036
|
+
readonly required: false;
|
|
1037
|
+
readonly computed: false;
|
|
1038
|
+
readonly inverse: false;
|
|
1039
|
+
readonly sequence: false;
|
|
1040
|
+
readonly computeName: undefined;
|
|
1041
|
+
readonly store: true;
|
|
1042
|
+
readonly hasDefault: false;
|
|
1043
|
+
readonly readonly: false;
|
|
1044
|
+
}>;
|
|
1003
1045
|
readonly phone: import("../server/orm.js").CharField<{
|
|
1004
1046
|
readonly required: false;
|
|
1005
1047
|
readonly computed: false;
|
package/dist/contacts/module.js
CHANGED
|
@@ -33,10 +33,21 @@ export const CompanyContacts = extendModel('res.company', {
|
|
|
33
33
|
});
|
|
34
34
|
/** The current company's contact settings. */
|
|
35
35
|
async function contactSettings(env) {
|
|
36
|
-
|
|
36
|
+
// Read as the writer; a system or portal scope without the right to companies reads it with the narrow grant.
|
|
37
|
+
const read = async (e) => (await e
|
|
37
38
|
.model('res.company')
|
|
38
|
-
.browse([
|
|
39
|
+
.browse([e.companyId])
|
|
39
40
|
.load(['contactTaxIdRequired', 'contactUniqueEmail'])).read(['contactTaxIdRequired', 'contactUniqueEmail']);
|
|
41
|
+
let rows;
|
|
42
|
+
try {
|
|
43
|
+
rows = await read(env);
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
if (!(error instanceof Error && error.name === 'AccessError'))
|
|
47
|
+
throw error;
|
|
48
|
+
rows = await env.withGrants({ grants: ['res.company:read'], reason: 'contact settings' }, read);
|
|
49
|
+
}
|
|
50
|
+
const [company] = rows;
|
|
40
51
|
return {
|
|
41
52
|
taxIdRequired: company?.['contactTaxIdRequired'] === true,
|
|
42
53
|
uniqueEmail: company?.['contactUniqueEmail'] === true,
|
|
@@ -65,6 +76,11 @@ export const ResPartner = defineModel('res.partner', {
|
|
|
65
76
|
parent: f.many2one('res.partner', { ondelete: 'set null', label: 'Company' }),
|
|
66
77
|
contacts: f.one2many('res.partner', 'parent'),
|
|
67
78
|
email: f.char(),
|
|
79
|
+
/** The language documents are sent in (RFC 0029 §3.3). */
|
|
80
|
+
lang: f.selection({ en: 'English', bn: 'বাংলা' }, {
|
|
81
|
+
label: 'Language',
|
|
82
|
+
help: 'The language documents and emails are sent in; empty: the sender’s.',
|
|
83
|
+
}),
|
|
68
84
|
phone: f.char(),
|
|
69
85
|
mobile: f.char(),
|
|
70
86
|
website: f.char(),
|
|
@@ -122,7 +138,7 @@ export const ResPartner = defineModel('res.partner', {
|
|
|
122
138
|
});
|
|
123
139
|
export const contactsShutro = defineModule({
|
|
124
140
|
name: 'contacts',
|
|
125
|
-
version: '0.
|
|
141
|
+
version: '0.4.0',
|
|
126
142
|
depends: [baseShutro, storageShutro],
|
|
127
143
|
groups: [
|
|
128
144
|
orm.defineGroup({
|
|
@@ -1,4 +1,4 @@
|
|
|
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: 13b55d131dcfaadb
|
|
2
2
|
// Bindings of module `crm`: import the definition API from here to get types scoped to what it can see.
|
|
3
3
|
export { defineModel, defineModule, extendModel, f, replace } from '../../server/orm.js';
|
|
4
4
|
import { definitions } from '../../server/orm.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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: 13b55d131dcfaadb
|
|
2
2
|
// Schema view of module `crm` (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
|
|
|
@@ -273,6 +273,7 @@ export interface CrmStage {
|
|
|
273
273
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
274
274
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
275
275
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
276
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
276
277
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
277
278
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
278
279
|
readonly probability: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
@@ -703,6 +704,7 @@ export interface ResPartner {
|
|
|
703
704
|
readonly parent: F.Many2one<'res.partner'>;
|
|
704
705
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
705
706
|
readonly email: F.Char;
|
|
707
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
706
708
|
readonly phone: F.Char;
|
|
707
709
|
readonly mobile: F.Char;
|
|
708
710
|
readonly website: F.Char;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/** Bangla for the module's labels, keyed by their English text (RFC 0023 §3.1; `pnpm i18n:extract`). */
|
|
2
|
+
export const bn = {
|
|
3
|
+
'A lost deal needs a reason': 'হারানো ডিলের কারণ লাগবে',
|
|
4
|
+
'A lost deal says why it was lost.': 'হারানো ডিলে কেন হারানো হলো তা লিখতে হবে।',
|
|
5
|
+
'A probability is from 0 to 100.': 'সম্ভাবনা ০ থেকে ১০০-এর মধ্যে হতে হবে।',
|
|
6
|
+
Active: 'সক্রিয়',
|
|
7
|
+
'Biggest open deals': 'সবচেয়ে বড় খোলা ডিল',
|
|
8
|
+
Company: 'প্রতিষ্ঠান',
|
|
9
|
+
'Company (prospect)': 'প্রতিষ্ঠান (সম্ভাব্য গ্রাহক)',
|
|
10
|
+
Configuration: 'কনফিগারেশন',
|
|
11
|
+
'Contact name': 'যোগাযোগের নাম',
|
|
12
|
+
'Created At': 'তৈরির সময়',
|
|
13
|
+
'Created By': 'তৈরি করেছেন',
|
|
14
|
+
Customer: 'গ্রাহক',
|
|
15
|
+
Deal: 'ডিল',
|
|
16
|
+
Deals: 'ডিল',
|
|
17
|
+
'Deals by stage': 'ধাপভিত্তিক ডিল',
|
|
18
|
+
'Deals on a board, stage rules and the weighted forecast': 'বোর্ডে ডিল, ধাপের নিয়ম ও ভারযুক্ত পূর্বাভাস',
|
|
19
|
+
'Display Name': 'প্রদর্শিত নাম',
|
|
20
|
+
Email: 'ইমেইল',
|
|
21
|
+
Event: 'ইভেন্ট',
|
|
22
|
+
Excellent: 'চমৎকার',
|
|
23
|
+
'Expected close date': 'সম্ভাব্য সমাপ্তির তারিখ',
|
|
24
|
+
'Expected revenue': 'প্রত্যাশিত আয়',
|
|
25
|
+
'Folded on the board': 'বোর্ডে গুটানো',
|
|
26
|
+
Forecast: 'পূর্বাভাস',
|
|
27
|
+
'Forecast by close month': 'সমাপ্তির মাস অনুযায়ী পূর্বাভাস',
|
|
28
|
+
Good: 'ভালো',
|
|
29
|
+
'How deals are closed.': 'ডিল কীভাবে বন্ধ করা হয়।',
|
|
30
|
+
'How promising the deal is, shown as stars.': 'ডিলটি কতটা সম্ভাবনাময়, তারকা চিহ্নে দেখানো হয়।',
|
|
31
|
+
ID: 'আইডি',
|
|
32
|
+
Lost: 'হারানো',
|
|
33
|
+
'Lost because': 'হারানোর কারণ',
|
|
34
|
+
'Lost reason': 'হারানোর কারণ',
|
|
35
|
+
'Lost reasons': 'হারানোর কারণ',
|
|
36
|
+
'Lost this month': 'এ মাসে হারানো',
|
|
37
|
+
'Manager (every deal, stages)': 'ব্যবস্থাপক (সব ডিল, ধাপ)',
|
|
38
|
+
Mine: 'আমার',
|
|
39
|
+
Name: 'নাম',
|
|
40
|
+
Normal: 'সাধারণ',
|
|
41
|
+
Notes: 'নোট',
|
|
42
|
+
Open: 'খোলা',
|
|
43
|
+
Other: 'অন্যান্য',
|
|
44
|
+
Overview: 'সারসংক্ষেপ',
|
|
45
|
+
Partner: 'অংশীদার',
|
|
46
|
+
Phone: 'ফোন',
|
|
47
|
+
'Phone call': 'ফোন কল',
|
|
48
|
+
Pipeline: 'পাইপলাইন',
|
|
49
|
+
'Pipeline by salesperson': 'বিক্রয়কর্মী অনুযায়ী পাইপলাইন',
|
|
50
|
+
'Pipeline manager': 'পাইপলাইন ব্যবস্থাপক',
|
|
51
|
+
Priority: 'অগ্রাধিকার',
|
|
52
|
+
'Probability (%)': 'সম্ভাবনা (%)',
|
|
53
|
+
'Records must reference shared records or records of their own company.': 'রেকর্ড কেবল শেয়ার করা রেকর্ড বা নিজের প্রতিষ্ঠানের রেকর্ড উল্লেখ করতে পারে।',
|
|
54
|
+
Referral: 'রেফারেল',
|
|
55
|
+
'Required to enter': 'প্রবেশের জন্য আবশ্যক',
|
|
56
|
+
Sales: 'বিক্রয়',
|
|
57
|
+
Salesperson: 'বিক্রয়কর্মী',
|
|
58
|
+
'Salesperson (own and unassigned deals)': 'বিক্রয়কর্মী (নিজের ও অনির্ধারিত ডিল)',
|
|
59
|
+
'Salesperson (pipeline)': 'বিক্রয়কর্মী (পাইপলাইন)',
|
|
60
|
+
Sequence: 'ক্রম',
|
|
61
|
+
Source: 'উৎস',
|
|
62
|
+
Stage: 'ধাপ',
|
|
63
|
+
Stages: 'ধাপসমূহ',
|
|
64
|
+
Status: 'অবস্থা',
|
|
65
|
+
'The expected revenue multiplied by the probability of winning the deal.': 'প্রত্যাশিত আয়কে ডিলটি জেতার সম্ভাবনা দিয়ে গুণ করা অঙ্ক।',
|
|
66
|
+
'The reasons tell what to improve; switch off to lose deals without one.': 'কারণগুলো বলে দেয় কোথায় উন্নতি দরকার; কারণ ছাড়া ডিল হারাতে চাইলে এটি বন্ধ করুন।',
|
|
67
|
+
'This stage needs more details: see the stage’s required fields.': 'এই ধাপে আরও তথ্য লাগবে: ধাপের আবশ্যক ঘরগুলো দেখুন।',
|
|
68
|
+
Unassigned: 'অনির্ধারিত',
|
|
69
|
+
'Updated At': 'হালনাগাদের সময়',
|
|
70
|
+
'Updated By': 'হালনাগাদ করেছেন',
|
|
71
|
+
'Very good': 'খুব ভালো',
|
|
72
|
+
Website: 'ওয়েবসাইট',
|
|
73
|
+
'Weighted forecast': 'ভারযুক্ত পূর্বাভাস',
|
|
74
|
+
'Weighted revenue': 'ভারযুক্ত আয়',
|
|
75
|
+
'Where the deal came from.': 'ডিলটি কোথা থেকে এসেছে।',
|
|
76
|
+
'Wins the deal': 'ডিল জেতা হয়',
|
|
77
|
+
Won: 'জেতা',
|
|
78
|
+
'Won this month': 'এ মাসে জেতা',
|
|
79
|
+
'Won when the deal is in a winning stage, lost when marked lost, open otherwise.': 'ডিলটি জেতার ধাপে থাকলে জেতা, হারানো চিহ্নিত হলে হারানো, অন্যথায় খোলা।',
|
|
80
|
+
};
|
package/dist/crm/index.js
CHANGED
|
@@ -115,6 +115,28 @@ export const crm = defineModule({
|
|
|
115
115
|
category: 'Sales',
|
|
116
116
|
summary: 'Deals on a board, stage rules and the weighted forecast',
|
|
117
117
|
},
|
|
118
|
+
importTemplates: [
|
|
119
|
+
{
|
|
120
|
+
key: 'crm_stage',
|
|
121
|
+
model: 'crm.stage',
|
|
122
|
+
label: 'Stage',
|
|
123
|
+
columns: [
|
|
124
|
+
{ header: 'Name', field: 'name' },
|
|
125
|
+
{ header: 'Probability (%)', field: 'probability' },
|
|
126
|
+
{ header: 'Wins the deal', field: 'won' },
|
|
127
|
+
{ header: 'Folded on the board', field: 'fold' },
|
|
128
|
+
{ header: 'Required to enter', field: 'requiredFields' },
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
key: 'crm_lost_reason',
|
|
133
|
+
model: 'crm.lost.reason',
|
|
134
|
+
label: 'Lost reason',
|
|
135
|
+
columns: [{ header: 'Name', field: 'name' }],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
// Bangla for the labels it serves (RFC 0023 §3.1; `pnpm i18n:extract`).
|
|
139
|
+
i18n: { bn: () => import('./i18n/bn.js') },
|
|
118
140
|
accessLevels: {
|
|
119
141
|
user: { label: 'Salesperson (own and unassigned deals)', groups: ['crm.user'] },
|
|
120
142
|
manager: { label: 'Manager (every deal, stages)', groups: ['crm.manager'], implies: ['user'] },
|
package/dist/crm/module.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const CrmStage: import("../server/orm.js").Model<"crm.stage", {
|
|
|
40
40
|
hasDefault: false;
|
|
41
41
|
sequence: false;
|
|
42
42
|
}>;
|
|
43
|
+
readonly active: import("../server/orm.js").ActiveField;
|
|
43
44
|
readonly name: import("../server/orm.js").CharField<{
|
|
44
45
|
readonly required: true;
|
|
45
46
|
readonly computed: false;
|
|
@@ -679,6 +680,7 @@ export declare const crmShutro: import("../server/orm.js").Module<readonly [impo
|
|
|
679
680
|
hasDefault: false;
|
|
680
681
|
sequence: false;
|
|
681
682
|
}>;
|
|
683
|
+
readonly active: import("../server/orm.js").ActiveField;
|
|
682
684
|
readonly name: import("../server/orm.js").CharField<{
|
|
683
685
|
readonly required: true;
|
|
684
686
|
readonly computed: false;
|
|
@@ -1468,6 +1470,16 @@ export declare const crmShutro: import("../server/orm.js").Module<readonly [impo
|
|
|
1468
1470
|
readonly hasDefault: false;
|
|
1469
1471
|
readonly readonly: false;
|
|
1470
1472
|
}, string>;
|
|
1473
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
1474
|
+
readonly required: false;
|
|
1475
|
+
readonly computed: false;
|
|
1476
|
+
readonly inverse: false;
|
|
1477
|
+
readonly sequence: false;
|
|
1478
|
+
readonly computeName: undefined;
|
|
1479
|
+
readonly store: true;
|
|
1480
|
+
readonly hasDefault: false;
|
|
1481
|
+
readonly readonly: false;
|
|
1482
|
+
}>;
|
|
1471
1483
|
readonly phone: import("../server/orm.js").CharField<{
|
|
1472
1484
|
readonly required: false;
|
|
1473
1485
|
readonly computed: false;
|
|
@@ -1689,6 +1701,16 @@ export declare const crmShutro: import("../server/orm.js").Module<readonly [impo
|
|
|
1689
1701
|
readonly hasDefault: false;
|
|
1690
1702
|
readonly readonly: false;
|
|
1691
1703
|
}, string>;
|
|
1704
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
1705
|
+
readonly required: false;
|
|
1706
|
+
readonly computed: false;
|
|
1707
|
+
readonly inverse: false;
|
|
1708
|
+
readonly sequence: false;
|
|
1709
|
+
readonly computeName: undefined;
|
|
1710
|
+
readonly store: true;
|
|
1711
|
+
readonly hasDefault: false;
|
|
1712
|
+
readonly readonly: false;
|
|
1713
|
+
}>;
|
|
1692
1714
|
readonly phone: import("../server/orm.js").CharField<{
|
|
1693
1715
|
readonly required: false;
|
|
1694
1716
|
readonly computed: false;
|
package/dist/crm/module.js
CHANGED
|
@@ -13,6 +13,7 @@ const READ = ['read'];
|
|
|
13
13
|
const ALL = ['read', 'write', 'create', 'unlink'];
|
|
14
14
|
export const CrmStage = defineModel('crm.stage', {
|
|
15
15
|
label: 'Stage',
|
|
16
|
+
archivable: true,
|
|
16
17
|
recName: 'name',
|
|
17
18
|
order: ['sequence asc', 'id asc'],
|
|
18
19
|
access: { 'crm.user': READ, 'crm.manager': [...ALL, 'export', 'import'] },
|
|
@@ -83,6 +84,7 @@ export const CrmDeal = defineModel('crm.deal', {
|
|
|
83
84
|
scale: 2,
|
|
84
85
|
store: true,
|
|
85
86
|
label: 'Weighted revenue',
|
|
87
|
+
help: 'The expected revenue multiplied by the probability of winning the deal.',
|
|
86
88
|
...compute('crm.deal', 'weightedRevenue', ['expectedRevenue', 'probability'], (deals) => {
|
|
87
89
|
for (const d of deals)
|
|
88
90
|
d.weightedRevenue =
|
|
@@ -103,12 +105,13 @@ export const CrmDeal = defineModel('crm.deal', {
|
|
|
103
105
|
event: 'Event',
|
|
104
106
|
partner: 'Partner',
|
|
105
107
|
other: 'Other',
|
|
106
|
-
}, {}),
|
|
107
|
-
priority: f.selection({ normal: 'Normal', good: 'Good', very_good: 'Very good', excellent: 'Excellent' }, { required: true, default: 'normal' }),
|
|
108
|
+
}, { help: 'Where the deal came from.' }),
|
|
109
|
+
priority: f.selection({ normal: 'Normal', good: 'Good', very_good: 'Very good', excellent: 'Excellent' }, { required: true, default: 'normal', help: 'How promising the deal is, shown as stars.' }),
|
|
108
110
|
lost: f.boolean({ default: false }),
|
|
109
111
|
lostReason: f.many2one('crm.lost.reason', { ondelete: 'restrict', label: 'Lost because' }),
|
|
110
112
|
status: f.selection({ open: 'Open', won: 'Won', lost: 'Lost' }, {
|
|
111
113
|
store: true,
|
|
114
|
+
help: 'Won when the deal is in a winning stage, lost when marked lost, open otherwise.',
|
|
112
115
|
...compute('crm.deal', 'status', ['stage.won', 'lost'], (deals) => {
|
|
113
116
|
for (const d of deals)
|
|
114
117
|
d.status = d.lost ? 'lost' : d.stage?.won === true ? 'won' : 'open';
|
|
@@ -171,7 +174,7 @@ export const CrmDeal = defineModel('crm.deal', {
|
|
|
171
174
|
});
|
|
172
175
|
export const crmShutro = defineModule({
|
|
173
176
|
name: 'crm',
|
|
174
|
-
version: '0.
|
|
177
|
+
version: '0.2.0',
|
|
175
178
|
depends: [contactsShutro, messagingShutro],
|
|
176
179
|
groups: [
|
|
177
180
|
orm.defineGroup({
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { defineModel, defineModule, extendModel, f, replace } from '../../server/orm.js';
|
|
2
|
+
import { type DefinitionHelpers } from '../../server/orm.js';
|
|
3
|
+
import type { DefaultLoaded, Env as CoreEnv, RecordSet as CoreRecordSet, Shutro as CoreShutro } from '../../server/orm.js';
|
|
4
|
+
import type { SchemaView } from './schema.js';
|
|
5
|
+
export type { SchemaView };
|
|
6
|
+
/** Every model visible in this view. */
|
|
7
|
+
export type ModelName = keyof SchemaView & string;
|
|
8
|
+
/** `Env` typed to this view. */
|
|
9
|
+
export type Env = CoreEnv<SchemaView>;
|
|
10
|
+
/** `Shutro` typed to this view. */
|
|
11
|
+
export type Shutro = CoreShutro<SchemaView>;
|
|
12
|
+
/** A recordset of `M`, with the default loaded shape unless `L` is given. */
|
|
13
|
+
export type Records<M extends ModelName, L = DefaultLoaded<SchemaView, M>> = CoreRecordSet<SchemaView, M, L>;
|
|
14
|
+
export declare const compute: DefinitionHelpers<SchemaView>['compute'];
|
|
15
|
+
export declare const check: DefinitionHelpers<SchemaView>['check'];
|
|
16
|
+
export declare const onchange: DefinitionHelpers<SchemaView>['onchange'];
|
|
17
|
+
export declare const records: DefinitionHelpers<SchemaView>['records'];
|
|
18
|
+
export declare const method: DefinitionHelpers<SchemaView>['method'];
|
|
19
|
+
/** Module data (RFC 0017): records, overrides of dependencies' records, and references, typed like creates. */
|
|
20
|
+
export declare const record: DefinitionHelpers<SchemaView>['record'];
|
|
21
|
+
export declare const override: DefinitionHelpers<SchemaView>['override'];
|
|
22
|
+
export declare const ref: DefinitionHelpers<SchemaView>['ref'];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 9235d21b0d2eec2d
|
|
2
|
+
// Bindings of module `documents`: import the definition API from here to get types scoped to what it can see.
|
|
3
|
+
export { defineModel, defineModule, extendModel, f, replace } from '../../server/orm.js';
|
|
4
|
+
import { definitions } from '../../server/orm.js';
|
|
5
|
+
/** Definition callbacks typed against this module's view: no casts in computes, checks, onchange, methods. */
|
|
6
|
+
const helpers = definitions();
|
|
7
|
+
export const compute = helpers.compute;
|
|
8
|
+
export const check = helpers.check;
|
|
9
|
+
export const onchange = helpers.onchange;
|
|
10
|
+
export const records = helpers.records;
|
|
11
|
+
export const method = helpers.method;
|
|
12
|
+
/** Module data (RFC 0017): records, overrides of dependencies' records, and references, typed like creates. */
|
|
13
|
+
export const record = helpers.record;
|
|
14
|
+
export const override = helpers.override;
|
|
15
|
+
export const ref = helpers.ref;
|