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
package/dist/views/validate.js
CHANGED
|
@@ -71,7 +71,14 @@ export function validateView(view, models) {
|
|
|
71
71
|
problems.push(`stat '${node.id}': '$record' names no field '${key}' of ${view.model}`);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
if (node.kind === 'button' &&
|
|
74
|
+
if (node.kind === 'button' && node.open !== undefined) {
|
|
75
|
+
if (models(node.open.model) === undefined)
|
|
76
|
+
problems.push(`button '${node.id}': opens unknown model ${node.open.model}`);
|
|
77
|
+
for (const key of recordKeys(node.open.values))
|
|
78
|
+
if (!info.fields.has(key))
|
|
79
|
+
problems.push(`button '${node.id}': '$record' names no field '${key}' of ${view.model}`);
|
|
80
|
+
}
|
|
81
|
+
else if (node.kind === 'button' && !info.transitions.includes(node.transition ?? ''))
|
|
75
82
|
problems.push(`unknown transition '${node.transition}' (has ${info.transitions.join(', ') || 'none'})`);
|
|
76
83
|
}
|
|
77
84
|
if (view.type === 'form')
|
|
@@ -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: 5f477c497bbd660c
|
|
2
2
|
// Bindings of module `website`: 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: 5f477c497bbd660c
|
|
2
2
|
// Schema view of module `website` (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
|
|
|
@@ -624,6 +624,7 @@ export interface ResPartner {
|
|
|
624
624
|
readonly parent: F.Many2one<'res.partner'>;
|
|
625
625
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
626
626
|
readonly email: F.Char;
|
|
627
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
627
628
|
readonly phone: F.Char;
|
|
628
629
|
readonly mobile: F.Char;
|
|
629
630
|
readonly website: F.Char;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/** Bangla for the module's labels, keyed by their English text (RFC 0023 §3.1; `pnpm i18n:extract`). */
|
|
2
|
+
export const bn = {
|
|
3
|
+
'/ for the home page, /about, /contact': 'হোম পাতার জন্য /, /about, /contact',
|
|
4
|
+
'A form block names its form.': 'ফর্ম ব্লকে তার ফর্মের নাম দিতে হবে।',
|
|
5
|
+
'A key is lower-case letters, digits and dashes, e.g. contact-us.': 'কী-তে ছোট হাতের অক্ষর, অঙ্ক ও ড্যাশ থাকে, যেমন contact-us।',
|
|
6
|
+
'A key is lower-case letters, digits and dashes, e.g. padma-traders.': 'কী-তে ছোট হাতের অক্ষর, অঙ্ক ও ড্যাশ থাকে, যেমন padma-traders।',
|
|
7
|
+
'A link is a path on the site (/contact) or an http(s) address.': 'লিংক হলো সাইটের একটি পাথ (/contact) বা একটি http(s) ঠিকানা।',
|
|
8
|
+
'A page translates another page of the same site.': 'একটি পাতা একই সাইটের অন্য পাতার অনুবাদ হতে পারে।',
|
|
9
|
+
'A path starts with / and has letters, digits, dashes, dots or underscores: /about-us.': 'পাথ / দিয়ে শুরু হয় এবং এতে অক্ষর, অঙ্ক, ড্যাশ, ডট বা আন্ডারস্কোর থাকে: /about-us।',
|
|
10
|
+
'A website form creates contacts, or what an installed app allows (a lead with Pipeline).': 'ওয়েবসাইট ফর্ম যোগাযোগ তৈরি করে, অথবা ইনস্টল করা অ্যাপ যা অনুমতি দেয় (পাইপলাইন থাকলে একটি লিড)।',
|
|
11
|
+
Active: 'সক্রিয়',
|
|
12
|
+
'An input name is lower-case letters, digits and underscores, starting with a letter.': 'ইনপুটের নামে ছোট হাতের অক্ষর, অঙ্ক ও আন্ডারস্কোর থাকে এবং তা অক্ষর দিয়ে শুরু হয়।',
|
|
13
|
+
'Another form has this key.': 'অন্য একটি ফর্মে এই কী আছে।',
|
|
14
|
+
'Another site has this key.': 'অন্য একটি সাইটে এই কী আছে।',
|
|
15
|
+
Bangla: 'বাংলা',
|
|
16
|
+
Block: 'ব্লক',
|
|
17
|
+
Button: 'বোতাম',
|
|
18
|
+
'Button link': 'বোতামের লিংক',
|
|
19
|
+
'Call to action': 'কল টু অ্যাকশন',
|
|
20
|
+
Company: 'প্রতিষ্ঠান',
|
|
21
|
+
Content: 'বিষয়বস্তু',
|
|
22
|
+
Created: 'তৈরি হয়েছে',
|
|
23
|
+
'Created (id)': 'তৈরি (আইডি)',
|
|
24
|
+
'Created (model)': 'তৈরি (মডেল)',
|
|
25
|
+
'Created At': 'তৈরির সময়',
|
|
26
|
+
'Created By': 'তৈরি করেছেন',
|
|
27
|
+
Creates: 'তৈরি করে',
|
|
28
|
+
Data: 'ডেটা',
|
|
29
|
+
Date: 'তারিখ',
|
|
30
|
+
'Default language': 'ডিফল্ট ভাষা',
|
|
31
|
+
'Display Name': 'প্রদর্শিত নাম',
|
|
32
|
+
Domain: 'ডোমেইন',
|
|
33
|
+
Draft: 'খসড়া',
|
|
34
|
+
Drafts: 'খসড়া',
|
|
35
|
+
'Editor (pages, submissions)': 'সম্পাদক (পাতা, জমা)',
|
|
36
|
+
Email: 'ইমেইল',
|
|
37
|
+
English: 'ইংরেজি',
|
|
38
|
+
Fields: 'ফিল্ড',
|
|
39
|
+
'Fields › Fills': 'ফিল্ড › পূরণ করে',
|
|
40
|
+
'Fields › Input name': 'ফিল্ড › ইনপুটের নাম',
|
|
41
|
+
'Fields › Label': 'ফিল্ড › লেবেল',
|
|
42
|
+
'Fields › Required': 'ফিল্ড › আবশ্যক',
|
|
43
|
+
'Fields › Type': 'ফিল্ড › ধরন',
|
|
44
|
+
Fills: 'পূরণ করে',
|
|
45
|
+
Form: 'ফর্ম',
|
|
46
|
+
'Form field': 'ফর্ম ফিল্ড',
|
|
47
|
+
Forms: 'ফর্ম',
|
|
48
|
+
Hero: 'হিরো',
|
|
49
|
+
ID: 'আইডি',
|
|
50
|
+
Image: 'ছবি',
|
|
51
|
+
'Image URL': 'ছবির URL',
|
|
52
|
+
'In the menu': 'মেনুতে',
|
|
53
|
+
'Input name': 'ইনপুটের নাম',
|
|
54
|
+
Key: 'কী',
|
|
55
|
+
Kind: 'ধরন',
|
|
56
|
+
Label: 'লেবেল',
|
|
57
|
+
Language: 'ভাষা',
|
|
58
|
+
'Long text': 'দীর্ঘ লেখা',
|
|
59
|
+
'Manager (sites, forms, everything)': 'ব্যবস্থাপক (সাইট, ফর্ম, সবকিছু)',
|
|
60
|
+
'Message after sending': 'পাঠানোর পরের বার্তা',
|
|
61
|
+
Name: 'নাম',
|
|
62
|
+
Number: 'সংখ্যা',
|
|
63
|
+
'Only published pages are shown on the public site.': 'পাবলিক ওয়েবসাইটে শুধু প্রকাশিত পাতাগুলো দেখানো হয়।',
|
|
64
|
+
Overview: 'সারসংক্ষেপ',
|
|
65
|
+
Page: 'পাতা',
|
|
66
|
+
Pages: 'পাতা',
|
|
67
|
+
'Pages › In the menu': 'পাতা › মেনুতে',
|
|
68
|
+
'Pages › Language': 'পাতা › ভাষা',
|
|
69
|
+
'Pages › Path': 'পাতা › পাথ',
|
|
70
|
+
'Pages › Summary': 'পাতা › সারাংশ',
|
|
71
|
+
'Pages › Title': 'পাতা › শিরোনাম',
|
|
72
|
+
'Pages published': 'প্রকাশিত পাতা',
|
|
73
|
+
Path: 'পাথ',
|
|
74
|
+
Phone: 'ফোন',
|
|
75
|
+
Publish: 'প্রকাশ করুন',
|
|
76
|
+
Published: 'প্রকাশিত',
|
|
77
|
+
'Published on': 'প্রকাশের তারিখ',
|
|
78
|
+
Received: 'প্রাপ্ত',
|
|
79
|
+
Required: 'আবশ্যক',
|
|
80
|
+
Sequence: 'ক্রম',
|
|
81
|
+
Site: 'সাইট',
|
|
82
|
+
Sites: 'সাইট',
|
|
83
|
+
'Sites editor': 'সাইট সম্পাদক',
|
|
84
|
+
'Sites manager': 'সাইট ব্যবস্থাপক',
|
|
85
|
+
Spam: 'স্প্যাম',
|
|
86
|
+
'Spam caught this month': 'এ মাসে ধরা পড়া স্প্যাম',
|
|
87
|
+
'Spam when a bot filled in the hidden field; received submissions create their record.': 'কোনো বট লুকানো ঘরটি পূরণ করলে এটি স্প্যাম; গৃহীত জমাগুলো থেকে তাদের রেকর্ড তৈরি হয়।',
|
|
88
|
+
State: 'অবস্থা',
|
|
89
|
+
Submission: 'জমা',
|
|
90
|
+
Submissions: 'জমা',
|
|
91
|
+
'Submissions by form': 'ফর্ম অনুযায়ী জমা',
|
|
92
|
+
'Submissions by month': 'মাস অনুযায়ী জমা',
|
|
93
|
+
'Submissions this month': 'এ মাসের জমা',
|
|
94
|
+
Summary: 'সারাংশ',
|
|
95
|
+
Text: 'লেখা',
|
|
96
|
+
'The form already has an input with this name.': 'ফর্মে এই নামের একটি ইনপুট আগে থেকেই আছে।',
|
|
97
|
+
'The kind of value the visitor types in this input.': 'দর্শনার্থী এই ঘরে কোন ধরনের মান লিখবেন।',
|
|
98
|
+
'The language the page is written in.': 'পাতাটি যে ভাষায় লেখা।',
|
|
99
|
+
'The language the site shows when a visitor has not chosen one.': 'দর্শনার্থী কোনো ভাষা বেছে না নিলে ওয়েবসাইট যে ভাষায় দেখায়।',
|
|
100
|
+
'The site already has a page at this path in this language.': 'সাইটে এই ভাষায় এই পাথে একটি পাতা আগে থেকেই আছে।',
|
|
101
|
+
Title: 'শিরোনাম',
|
|
102
|
+
'Translation of': 'যার অনুবাদ',
|
|
103
|
+
Type: 'ধরন',
|
|
104
|
+
Unpublish: 'প্রকাশ বন্ধ করুন',
|
|
105
|
+
'Updated At': 'হালনাগাদের সময়',
|
|
106
|
+
'Updated By': 'হালনাগাদ করেছেন',
|
|
107
|
+
Website: 'ওয়েবসাইট',
|
|
108
|
+
'Website form': 'ওয়েবসাইট ফর্ম',
|
|
109
|
+
'Website form submitted': 'ওয়েবসাইট ফর্ম জমা হয়েছে',
|
|
110
|
+
'Website pages from blocks, forms that create records, a public API': 'ব্লক দিয়ে তৈরি ওয়েবসাইট পাতা, রেকর্ড তৈরি করা ফর্ম, একটি পাবলিক API',
|
|
111
|
+
'What the block shows: a hero banner, text, an image, a call to action or a form.': 'ব্লকটি কী দেখায়: একটি হিরো ব্যানার, লেখা, ছবি, কাজের আহ্বান বা ফর্ম।',
|
|
112
|
+
'Where the public site is served, e.g. www.example.com': 'যেখানে পাবলিক সাইটটি চলে, যেমন www.example.com',
|
|
113
|
+
};
|
package/dist/website/index.js
CHANGED
|
@@ -36,6 +36,42 @@ export function websiteModule(options = {}) {
|
|
|
36
36
|
category: 'Website',
|
|
37
37
|
summary: 'Website pages from blocks, forms that create records, a public API',
|
|
38
38
|
},
|
|
39
|
+
importTemplates: [
|
|
40
|
+
{
|
|
41
|
+
key: 'website_site',
|
|
42
|
+
model: 'website.site',
|
|
43
|
+
label: 'Site',
|
|
44
|
+
columns: [
|
|
45
|
+
{ header: 'Name', field: 'name' },
|
|
46
|
+
{ header: 'Key', field: 'key' },
|
|
47
|
+
{ header: 'Domain', field: 'domain' },
|
|
48
|
+
{ header: 'Default language', field: 'lang' },
|
|
49
|
+
{ header: 'Pages › Path', field: 'pages.path' },
|
|
50
|
+
{ header: 'Pages › Language', field: 'pages.lang' },
|
|
51
|
+
{ header: 'Pages › Title', field: 'pages.title' },
|
|
52
|
+
{ header: 'Pages › Summary', field: 'pages.description' },
|
|
53
|
+
{ header: 'Pages › In the menu', field: 'pages.inMenu' },
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: 'website_form',
|
|
58
|
+
model: 'website.form',
|
|
59
|
+
label: 'Website form',
|
|
60
|
+
columns: [
|
|
61
|
+
{ header: 'Name', field: 'name' },
|
|
62
|
+
{ header: 'Key', field: 'key' },
|
|
63
|
+
{ header: 'Creates', field: 'target' },
|
|
64
|
+
{ header: 'Message after sending', field: 'successMessage' },
|
|
65
|
+
{ header: 'Fields › Input name', field: 'fields.name' },
|
|
66
|
+
{ header: 'Fields › Label', field: 'fields.label' },
|
|
67
|
+
{ header: 'Fields › Type', field: 'fields.kind' },
|
|
68
|
+
{ header: 'Fields › Required', field: 'fields.required' },
|
|
69
|
+
{ header: 'Fields › Fills', field: 'fields.targetField' },
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
// Bangla for the labels it serves (RFC 0023 §3.1; `pnpm i18n:extract`).
|
|
74
|
+
i18n: { bn: () => import('./i18n/bn.js') },
|
|
39
75
|
accessLevels: {
|
|
40
76
|
editor: { label: 'Editor (pages, submissions)', groups: ['website.editor'] },
|
|
41
77
|
manager: {
|
|
@@ -210,6 +246,7 @@ export function websiteModule(options = {}) {
|
|
|
210
246
|
columns: ['id', 'form', 'site', 'resName', 'resModel', { field: 'state', widget: 'badge' }],
|
|
211
247
|
}),
|
|
212
248
|
'website.submission.form': form(WebsiteSubmission, (k) => ({
|
|
249
|
+
chatter: true,
|
|
213
250
|
header: { buttons: [] },
|
|
214
251
|
sheet: [
|
|
215
252
|
k.group('main', ['form', 'site', 'state', 'resModel', 'resId', 'resName']),
|
package/dist/website/module.d.ts
CHANGED
|
@@ -2612,6 +2612,16 @@ export declare const websiteShutro: import("../server/orm.js").Module<readonly [
|
|
|
2612
2612
|
readonly hasDefault: false;
|
|
2613
2613
|
readonly readonly: false;
|
|
2614
2614
|
}, string>;
|
|
2615
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
2616
|
+
readonly required: false;
|
|
2617
|
+
readonly computed: false;
|
|
2618
|
+
readonly inverse: false;
|
|
2619
|
+
readonly sequence: false;
|
|
2620
|
+
readonly computeName: undefined;
|
|
2621
|
+
readonly store: true;
|
|
2622
|
+
readonly hasDefault: false;
|
|
2623
|
+
readonly readonly: false;
|
|
2624
|
+
}>;
|
|
2615
2625
|
readonly phone: import("../server/orm.js").CharField<{
|
|
2616
2626
|
readonly required: false;
|
|
2617
2627
|
readonly computed: false;
|
|
@@ -2833,6 +2843,16 @@ export declare const websiteShutro: import("../server/orm.js").Module<readonly [
|
|
|
2833
2843
|
readonly hasDefault: false;
|
|
2834
2844
|
readonly readonly: false;
|
|
2835
2845
|
}, string>;
|
|
2846
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
2847
|
+
readonly required: false;
|
|
2848
|
+
readonly computed: false;
|
|
2849
|
+
readonly inverse: false;
|
|
2850
|
+
readonly sequence: false;
|
|
2851
|
+
readonly computeName: undefined;
|
|
2852
|
+
readonly store: true;
|
|
2853
|
+
readonly hasDefault: false;
|
|
2854
|
+
readonly readonly: false;
|
|
2855
|
+
}>;
|
|
2836
2856
|
readonly phone: import("../server/orm.js").CharField<{
|
|
2837
2857
|
readonly required: false;
|
|
2838
2858
|
readonly computed: false;
|
package/dist/website/module.js
CHANGED
|
@@ -33,7 +33,12 @@ export const WebsiteSite = defineModel('website.site', {
|
|
|
33
33
|
label: 'Domain',
|
|
34
34
|
help: 'Where the public site is served, e.g. www.example.com',
|
|
35
35
|
}),
|
|
36
|
-
lang: f.selection(LANGS, {
|
|
36
|
+
lang: f.selection(LANGS, {
|
|
37
|
+
required: true,
|
|
38
|
+
default: 'en',
|
|
39
|
+
label: 'Default language',
|
|
40
|
+
help: 'The language the site shows when a visitor has not chosen one.',
|
|
41
|
+
}),
|
|
37
42
|
pages: f.one2many('website.page', 'site'),
|
|
38
43
|
},
|
|
39
44
|
sqlConstraints: {
|
|
@@ -59,7 +64,12 @@ export const WebsitePage = defineModel('website.page', {
|
|
|
59
64
|
fields: {
|
|
60
65
|
site: f.many2one('website.site', { required: true, ondelete: 'cascade' }),
|
|
61
66
|
path: f.char({ required: true, default: '/', help: '/ for the home page, /about, /contact' }),
|
|
62
|
-
lang: f.selection(LANGS, {
|
|
67
|
+
lang: f.selection(LANGS, {
|
|
68
|
+
required: true,
|
|
69
|
+
default: 'en',
|
|
70
|
+
label: 'Language',
|
|
71
|
+
help: 'The language the page is written in.',
|
|
72
|
+
}),
|
|
63
73
|
title: f.char({ required: true }),
|
|
64
74
|
/** For search engines and link previews. */
|
|
65
75
|
description: f.text({ label: 'Summary' }),
|
|
@@ -69,6 +79,7 @@ export const WebsitePage = defineModel('website.page', {
|
|
|
69
79
|
translationOf: f.many2one('website.page', { ondelete: 'set null', label: 'Translation of' }),
|
|
70
80
|
blocks: f.one2many('website.block', 'page', { label: 'Content' }),
|
|
71
81
|
state: f.state({
|
|
82
|
+
help: 'Only published pages are shown on the public site.',
|
|
72
83
|
states: { draft: 'Draft', published: 'Published' },
|
|
73
84
|
initial: 'draft',
|
|
74
85
|
transitions: {
|
|
@@ -115,7 +126,11 @@ export const WebsiteBlock = defineModel('website.block', {
|
|
|
115
126
|
fields: {
|
|
116
127
|
page: f.many2one('website.page', { required: true, ondelete: 'cascade' }),
|
|
117
128
|
sequence: f.integer({ required: true, default: 10 }),
|
|
118
|
-
kind: f.selection({ hero: 'Hero', text: 'Text', image: 'Image', cta: 'Call to action', form: 'Form' }, {
|
|
129
|
+
kind: f.selection({ hero: 'Hero', text: 'Text', image: 'Image', cta: 'Call to action', form: 'Form' }, {
|
|
130
|
+
required: true,
|
|
131
|
+
default: 'text',
|
|
132
|
+
help: 'What the block shows: a hero banner, text, an image, a call to action or a form.',
|
|
133
|
+
}),
|
|
119
134
|
title: f.char(),
|
|
120
135
|
body: f.text({ label: 'Text' }),
|
|
121
136
|
imageUrl: f.char({ label: 'Image URL', size: 1000 }),
|
|
@@ -220,7 +235,12 @@ export const WebsiteFormField = defineModel('website.form.field', {
|
|
|
220
235
|
textarea: 'Long text',
|
|
221
236
|
number: 'Number',
|
|
222
237
|
date: 'Date',
|
|
223
|
-
}, {
|
|
238
|
+
}, {
|
|
239
|
+
required: true,
|
|
240
|
+
default: 'text',
|
|
241
|
+
label: 'Type',
|
|
242
|
+
help: 'The kind of value the visitor types in this input.',
|
|
243
|
+
}),
|
|
224
244
|
required: f.boolean({ default: false }),
|
|
225
245
|
/** The field of the created record it fills (`email`); plain fields only, checked on submission. */
|
|
226
246
|
targetField: f.char({ required: true, size: 80, label: 'Fills' }),
|
|
@@ -240,6 +260,7 @@ export const HONEYPOT = 'website_url';
|
|
|
240
260
|
/** What a visitor sent through a form, and what it became. */
|
|
241
261
|
export const WebsiteSubmission = defineModel('website.submission', {
|
|
242
262
|
label: 'Submission',
|
|
263
|
+
tracking: ['state'],
|
|
243
264
|
order: ['id desc'],
|
|
244
265
|
companyScoped: { required: true },
|
|
245
266
|
access: {
|
|
@@ -251,7 +272,11 @@ export const WebsiteSubmission = defineModel('website.submission', {
|
|
|
251
272
|
site: f.many2one('website.site', { ondelete: 'set null' }),
|
|
252
273
|
/** The values as sent (the form's inputs only). */
|
|
253
274
|
data: f.json({ required: true, default: {} }),
|
|
254
|
-
state: f.selection({ received: 'Received', spam: 'Spam' }, {
|
|
275
|
+
state: f.selection({ received: 'Received', spam: 'Spam' }, {
|
|
276
|
+
required: true,
|
|
277
|
+
default: 'received',
|
|
278
|
+
help: 'Spam when a bot filled in the hidden field; received submissions create their record.',
|
|
279
|
+
}),
|
|
255
280
|
resModel: f.char({ label: 'Created (model)' }),
|
|
256
281
|
resId: f.integer({ label: 'Created (id)' }),
|
|
257
282
|
/** The created record's name, as it was. */
|
|
@@ -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: e98d0ed6cfa09eb4
|
|
2
2
|
// Bindings of module `website_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: e98d0ed6cfa09eb4
|
|
2
2
|
// Schema view of module `website_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
|
|
|
@@ -279,6 +279,7 @@ export interface CrmStage {
|
|
|
279
279
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
280
280
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
281
281
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
282
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
282
283
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
283
284
|
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
284
285
|
readonly probability: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
@@ -709,6 +710,7 @@ export interface ResPartner {
|
|
|
709
710
|
readonly parent: F.Many2one<'res.partner'>;
|
|
710
711
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
711
712
|
readonly email: F.Char;
|
|
713
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
712
714
|
readonly phone: F.Char;
|
|
713
715
|
readonly mobile: F.Char;
|
|
714
716
|
readonly website: F.Char;
|
|
@@ -15,6 +15,8 @@ export const websiteCrm = defineModule({
|
|
|
15
15
|
kosh: '^0.1.0',
|
|
16
16
|
depends: [website, crm],
|
|
17
17
|
bridge: [website, crm],
|
|
18
|
+
// Bangla for the labels it serves (RFC 0023 §3.1; `pnpm i18n:extract`).
|
|
19
|
+
i18n: { bn: () => import('./i18n/bn.js') },
|
|
18
20
|
accessLevels: {
|
|
19
21
|
user: { label: 'Website deals', groups: ['website_crm.user'] },
|
|
20
22
|
},
|
|
@@ -1379,6 +1379,16 @@ export declare const websiteCrmShutro: import("../server/orm.js").Module<readonl
|
|
|
1379
1379
|
readonly hasDefault: false;
|
|
1380
1380
|
readonly readonly: false;
|
|
1381
1381
|
}, string>;
|
|
1382
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
1383
|
+
readonly required: false;
|
|
1384
|
+
readonly computed: false;
|
|
1385
|
+
readonly inverse: false;
|
|
1386
|
+
readonly sequence: false;
|
|
1387
|
+
readonly computeName: undefined;
|
|
1388
|
+
readonly store: true;
|
|
1389
|
+
readonly hasDefault: false;
|
|
1390
|
+
readonly readonly: false;
|
|
1391
|
+
}>;
|
|
1382
1392
|
readonly phone: import("../server/orm.js").CharField<{
|
|
1383
1393
|
readonly required: false;
|
|
1384
1394
|
readonly computed: false;
|
|
@@ -1600,6 +1610,16 @@ export declare const websiteCrmShutro: import("../server/orm.js").Module<readonl
|
|
|
1600
1610
|
readonly hasDefault: false;
|
|
1601
1611
|
readonly readonly: false;
|
|
1602
1612
|
}, string>;
|
|
1613
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
1614
|
+
readonly required: false;
|
|
1615
|
+
readonly computed: false;
|
|
1616
|
+
readonly inverse: false;
|
|
1617
|
+
readonly sequence: false;
|
|
1618
|
+
readonly computeName: undefined;
|
|
1619
|
+
readonly store: true;
|
|
1620
|
+
readonly hasDefault: false;
|
|
1621
|
+
readonly readonly: false;
|
|
1622
|
+
}>;
|
|
1603
1623
|
readonly phone: import("../server/orm.js").CharField<{
|
|
1604
1624
|
readonly required: false;
|
|
1605
1625
|
readonly computed: false;
|
|
@@ -1793,6 +1813,7 @@ export declare const websiteCrmShutro: import("../server/orm.js").Module<readonl
|
|
|
1793
1813
|
hasDefault: false;
|
|
1794
1814
|
sequence: false;
|
|
1795
1815
|
}>;
|
|
1816
|
+
readonly active: import("../server/orm.js").ActiveField;
|
|
1796
1817
|
readonly name: import("../server/orm.js").CharField<{
|
|
1797
1818
|
readonly required: true;
|
|
1798
1819
|
readonly computed: false;
|
|
@@ -2580,6 +2601,16 @@ export declare const websiteCrmShutro: import("../server/orm.js").Module<readonl
|
|
|
2580
2601
|
readonly hasDefault: false;
|
|
2581
2602
|
readonly readonly: false;
|
|
2582
2603
|
}, string>;
|
|
2604
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
2605
|
+
readonly required: false;
|
|
2606
|
+
readonly computed: false;
|
|
2607
|
+
readonly inverse: false;
|
|
2608
|
+
readonly sequence: false;
|
|
2609
|
+
readonly computeName: undefined;
|
|
2610
|
+
readonly store: true;
|
|
2611
|
+
readonly hasDefault: false;
|
|
2612
|
+
readonly readonly: false;
|
|
2613
|
+
}>;
|
|
2583
2614
|
readonly phone: import("../server/orm.js").CharField<{
|
|
2584
2615
|
readonly required: false;
|
|
2585
2616
|
readonly computed: false;
|
|
@@ -2801,6 +2832,16 @@ export declare const websiteCrmShutro: import("../server/orm.js").Module<readonl
|
|
|
2801
2832
|
readonly hasDefault: false;
|
|
2802
2833
|
readonly readonly: false;
|
|
2803
2834
|
}, string>;
|
|
2835
|
+
readonly lang: import("../server/orm.js").SelectionField<"bn" | "en", {
|
|
2836
|
+
readonly required: false;
|
|
2837
|
+
readonly computed: false;
|
|
2838
|
+
readonly inverse: false;
|
|
2839
|
+
readonly sequence: false;
|
|
2840
|
+
readonly computeName: undefined;
|
|
2841
|
+
readonly store: true;
|
|
2842
|
+
readonly hasDefault: false;
|
|
2843
|
+
readonly readonly: false;
|
|
2844
|
+
}>;
|
|
2804
2845
|
readonly phone: import("../server/orm.js").CharField<{
|
|
2805
2846
|
readonly required: false;
|
|
2806
2847
|
readonly computed: false;
|
|
@@ -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: d601f66f4215f0c5
|
|
2
|
+
// Bindings of module `website_sale`: 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;
|