shutro-erp 0.3.6 → 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 +1 -1
- package/dist/account_asset/.kosh/schema.d.ts +530 -8
- package/dist/account_asset/i18n/bn.d.ts +2 -0
- package/dist/account_asset/i18n/bn.js +97 -0
- package/dist/account_asset/index.js +2 -0
- package/dist/account_asset/module.d.ts +4899 -1445
- package/dist/account_budget/.kosh/bindings.js +1 -1
- package/dist/account_budget/.kosh/schema.d.ts +1130 -56
- package/dist/account_budget/i18n/bn.d.ts +2 -0
- package/dist/account_budget/i18n/bn.js +63 -0
- package/dist/account_budget/index.js +14 -0
- package/dist/account_budget/module.d.ts +17958 -4532
- package/dist/account_budget/module.js +15 -0
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +530 -8
- 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 +5167 -1693
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +530 -8
- 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 +2 -0
- package/dist/accounting/index.js +649 -2
- package/dist/accounting/module.d.ts +4998 -1451
- package/dist/accounting/module.js +124 -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.js +1 -1
- package/dist/approvals/.kosh/schema.d.ts +272 -4
- 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 +19 -1
- package/dist/approvals/index.js +477 -7
- package/dist/approvals/mails.d.ts +7 -2
- package/dist/approvals/mails.js +8 -3
- package/dist/approvals/module.d.ts +2930 -1
- package/dist/approvals/module.js +468 -7
- package/dist/approvals/web/Config.d.ts +12 -0
- package/dist/approvals/web/Config.js +60 -0
- package/dist/approvals/web/Matrix.d.ts +9 -0
- package/dist/approvals/web/Matrix.js +26 -0
- package/dist/approvals/web/index.d.ts +3 -1
- package/dist/approvals/web/index.js +8 -1
- package/dist/approvals/web/messages.js +92 -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.js +1 -1
- package/dist/attendance/.kosh/schema.d.ts +59 -1
- package/dist/attendance/i18n/bn.d.ts +2 -0
- package/dist/attendance/i18n/bn.js +147 -0
- package/dist/attendance/index.js +3 -1
- package/dist/attendance/module.d.ts +452 -8
- 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 +14 -4
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +34 -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 +6 -1
- package/dist/crm/.kosh/bindings.js +1 -1
- package/dist/crm/.kosh/schema.d.ts +2 -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 +20 -0
- package/dist/crm/module.js +4 -2
- package/dist/documents/.kosh/bindings.js +1 -1
- package/dist/documents/.kosh/schema.d.ts +2 -1
- package/dist/documents/i18n/bn.d.ts +2 -0
- package/dist/documents/i18n/bn.js +83 -0
- package/dist/documents/index.js +128 -1
- package/dist/documents/module.d.ts +20 -0
- package/dist/documents/module.js +1 -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 +530 -8
- 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 +4905 -1431
- package/dist/expense/.kosh/bindings.js +1 -1
- package/dist/expense/.kosh/schema.d.ts +323 -2
- package/dist/expense/i18n/bn.d.ts +2 -0
- package/dist/expense/i18n/bn.js +155 -0
- package/dist/expense/index.js +8 -1
- package/dist/expense/module.d.ts +2715 -694
- package/dist/expense/module.js +3 -1
- package/dist/expense_account/.kosh/bindings.js +1 -1
- package/dist/expense_account/.kosh/schema.d.ts +587 -8
- package/dist/expense_account/i18n/bn.d.ts +2 -0
- package/dist/expense_account/i18n/bn.js +15 -0
- package/dist/expense_account/index.js +2 -0
- package/dist/expense_account/module.d.ts +8094 -2619
- package/dist/helpdesk/.kosh/bindings.js +1 -1
- package/dist/helpdesk/.kosh/schema.d.ts +2 -1
- package/dist/helpdesk/i18n/bn.d.ts +2 -0
- package/dist/helpdesk/i18n/bn.js +127 -0
- package/dist/helpdesk/index.js +2 -0
- package/dist/helpdesk/module.d.ts +20 -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/{mrp → indent}/.kosh/bindings.js +2 -2
- 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/{mrp → indent}/module.d.ts +7164 -3075
- 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 +530 -8
- 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 +5167 -1693
- package/dist/l10n_bd_payroll/.kosh/bindings.js +1 -1
- package/dist/l10n_bd_payroll/.kosh/schema.d.ts +587 -8
- 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.js +2 -0
- package/dist/l10n_bd_payroll/module.d.ts +5910 -1548
- 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/{mrp_account → l10n_bd_pos}/.kosh/schema.d.ts +693 -651
- 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 +7402 -7647
- 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 +530 -8
- 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 +6703 -1652
- package/dist/l10n_in/module.js +25 -5
- package/dist/l10n_in/web/GstSettings.js +2 -2
- package/dist/mail/inbound/handle.js +2 -4
- 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 +298 -2
- 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 +5302 -1256
- 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 +68 -2
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +530 -8
- package/dist/payment/i18n/bn.d.ts +2 -0
- package/dist/payment/i18n/bn.js +59 -0
- package/dist/payment/index.js +85 -0
- package/dist/payment/module.d.ts +5134 -1660
- package/dist/payment/module.js +17 -3
- package/dist/payment/settle.js +1 -0
- package/dist/payroll/.kosh/bindings.js +1 -1
- package/dist/payroll/.kosh/schema.d.ts +59 -1
- package/dist/payroll/i18n/bn.d.ts +2 -0
- package/dist/payroll/i18n/bn.js +206 -0
- package/dist/payroll/index.js +2 -0
- package/dist/payroll/module.d.ts +936 -48
- package/dist/payroll_account/.kosh/bindings.js +1 -1
- package/dist/payroll_account/.kosh/schema.d.ts +587 -8
- package/dist/payroll_account/i18n/bn.d.ts +2 -0
- package/dist/payroll_account/i18n/bn.js +10 -0
- package/dist/payroll_account/index.js +2 -0
- package/dist/payroll_account/module.d.ts +7534 -3192
- package/dist/permissions/approvals.d.ts +97 -4
- package/dist/permissions/approvals.js +780 -31
- package/dist/permissions/index.d.ts +1 -1
- package/dist/permissions/index.js +2 -2
- package/dist/permissions/models.js +177 -5
- package/dist/permissions/routes.d.ts +3 -0
- package/dist/permissions/routes.js +36 -2
- package/dist/permissions/web/ApprovalPanel.js +43 -5
- package/dist/permissions/web/messages.js +52 -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 +2 -0
- 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 +531 -8
- package/dist/pos/i18n/bn.d.ts +2 -0
- package/dist/pos/i18n/bn.js +133 -0
- package/dist/pos/index.js +83 -1
- package/dist/pos/module.d.ts +6888 -1777
- 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 +626 -9
- 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 +10798 -3276
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +202 -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 +288 -1
- package/dist/product/module.d.ts +1725 -0
- package/dist/product/module.js +66 -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 +65 -2
- package/dist/project/i18n/bn.d.ts +2 -0
- package/dist/project/i18n/bn.js +383 -0
- package/dist/project/index.js +123 -0
- package/dist/project/module.d.ts +20 -0
- package/dist/project/module.js +73 -14
- package/dist/project_account/.kosh/bindings.js +1 -1
- package/dist/project_account/.kosh/schema.d.ts +530 -8
- package/dist/project_account/i18n/bn.d.ts +2 -0
- package/dist/project_account/i18n/bn.js +6 -0
- package/dist/project_account/index.js +2 -0
- package/dist/project_account/module.d.ts +4926 -1452
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +65 -2
- 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 +40 -0
- package/dist/project_purchase/.kosh/bindings.js +1 -1
- package/dist/project_purchase/.kosh/schema.d.ts +1126 -53
- package/dist/project_purchase/i18n/bn.d.ts +2 -0
- package/dist/project_purchase/i18n/bn.js +4 -0
- package/dist/project_purchase/index.js +2 -0
- package/dist/project_purchase/module.d.ts +17912 -4446
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +813 -3
- 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 +7139 -398
- package/dist/purchase/module.js +295 -11
- 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 +1130 -57
- 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 +19 -0
- package/dist/purchase_account/module.d.ts +12276 -2247
- package/dist/purchase_account/module.js +241 -9
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +813 -3
- 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 +6849 -353
- package/dist/purchase_stock/.kosh/bindings.js +1 -1
- package/dist/purchase_stock/.kosh/schema.d.ts +910 -4
- 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 +1 -1
- package/dist/purchase_stock/index.js +29 -0
- package/dist/purchase_stock/module.d.ts +12410 -1864
- package/dist/purchase_stock/module.js +81 -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 +1286 -58
- 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 -37995
- package/dist/purchase_stock_account/module.js +24 -3
- package/dist/recruitment/.kosh/bindings.js +1 -1
- package/dist/recruitment/.kosh/schema.d.ts +59 -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 +458 -8
- package/dist/recruitment/module.js +11 -3
- 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 +642 -16
- 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 +8254 -2212
- 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 +389 -567
- 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 +291 -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 +2564 -294
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +354 -5
- 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 +6249 -2402
- package/dist/sale_stock/.kosh/bindings.js +1 -1
- package/dist/sale_stock/.kosh/schema.d.ts +387 -5
- 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 +8057 -1759
- package/dist/sale_stock/module.js +20 -3
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +291 -4
- package/dist/sales/i18n/bn.d.ts +2 -0
- package/dist/sales/i18n/bn.js +128 -0
- package/dist/sales/index.js +120 -5
- package/dist/sales/module.d.ts +3567 -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.js +1 -1
- package/dist/sign/.kosh/schema.d.ts +2 -1
- package/dist/sign/i18n/bn.d.ts +2 -0
- package/dist/sign/i18n/bn.js +97 -0
- package/dist/sign/index.d.ts +15 -0
- package/dist/sign/index.js +129 -1
- package/dist/sign/module.d.ts +40 -0
- package/dist/sign/module.js +11 -2
- package/dist/stock/.kosh/bindings.js +1 -1
- package/dist/stock/.kosh/schema.d.ts +298 -2
- package/dist/stock/i18n/bn.d.ts +2 -0
- package/dist/stock/i18n/bn.js +311 -0
- package/dist/stock/index.d.ts +3 -1
- package/dist/stock/index.js +442 -3
- package/dist/stock/ledger.d.ts +78 -0
- package/dist/stock/ledger.js +582 -0
- package/dist/stock/module.d.ts +5280 -2044
- package/dist/stock/module.js +222 -23
- package/dist/stock/replenish.js +16 -1
- 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/ReturnButton.d.ts +7 -0
- package/dist/stock/web/ReturnButton.js +62 -0
- package/dist/stock/web/index.d.ts +3 -0
- package/dist/stock/web/index.js +9 -0
- package/dist/stock/web/messages.js +154 -0
- package/dist/stock_account/.kosh/bindings.js +1 -1
- package/dist/stock_account/.kosh/schema.d.ts +682 -9
- 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 +131 -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 +11247 -3363
- 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 +93 -0
- package/dist/trade_finance/module.d.ts +26 -0
- package/dist/trade_finance/module.js +27 -8
- package/dist/trade_finance_account/.kosh/bindings.js +1 -1
- package/dist/trade_finance_account/.kosh/schema.d.ts +530 -8
- 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 +2 -0
- package/dist/trade_finance_account/module.d.ts +4906 -1432
- package/dist/trade_finance_account/module.js +1 -0
- package/dist/trade_finance_purchase/.kosh/bindings.js +1 -1
- package/dist/trade_finance_purchase/.kosh/schema.d.ts +813 -3
- 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 -413
- package/dist/trade_finance_sale/.kosh/bindings.js +1 -1
- package/dist/trade_finance_sale/.kosh/schema.d.ts +291 -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 +2601 -331
- package/dist/ui/api.d.ts +2 -0
- package/dist/ui/app.d.ts +9 -0
- package/dist/ui/app.js +24 -4
- package/dist/ui/components/AppIcon.js +2 -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 +36 -0
- package/dist/ui/i18n/messages.js +72 -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 +47 -10
- package/dist/ui/views/ListView.d.ts +8 -0
- package/dist/ui/views/ListView.js +10 -3
- package/dist/ui/views/StatsRow.js +2 -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 +36 -0
- package/dist/website/module.d.ts +20 -0
- package/dist/website/module.js +29 -5
- package/dist/website_crm/.kosh/bindings.js +1 -1
- package/dist/website_crm/.kosh/schema.d.ts +2 -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 +40 -0
- package/dist/website_sale/.kosh/bindings.js +1 -1
- package/dist/website_sale/.kosh/schema.d.ts +642 -17
- package/dist/website_sale/i18n/bn.d.ts +2 -0
- package/dist/website_sale/i18n/bn.js +132 -0
- package/dist/website_sale/index.js +83 -1
- package/dist/website_sale/module.d.ts +18705 -5550
- package/dist/website_sale/module.js +32 -10
- package/dist/website_sale/shop.js +22 -9
- package/dist/website_sale_stock/.kosh/bindings.js +1 -1
- package/dist/website_sale_stock/.kosh/schema.d.ts +737 -18
- 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.js +2 -0
- package/dist/website_sale_stock/module.d.ts +10 -24997
- package/dist/website_sale_stock/module.js +7 -3
- package/package.json +36 -8
- package/dist/mrp/index.d.ts +0 -3
- package/dist/mrp/index.js +0 -393
- package/dist/mrp/module.js +0 -757
- package/dist/mrp_account/index.d.ts +0 -3
- package/dist/mrp_account/index.js +0 -22
- /package/dist/{mrp → approvals_purchase}/.kosh/bindings.d.ts +0 -0
- /package/dist/{mrp_account → indent}/.kosh/bindings.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
2
|
-
// Schema view of module `
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 796fe4ef75d7d563
|
|
2
|
+
// Schema view of module `sale_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
|
|
|
5
5
|
/** Model name → model type (RFC 0002 §7.7). */
|
|
@@ -12,6 +12,9 @@ export interface SchemaView {
|
|
|
12
12
|
readonly 'auth.session': AuthSession;
|
|
13
13
|
readonly 'auth.user_grant': AuthUserGrant;
|
|
14
14
|
readonly 'auth.user_group': AuthUserGroup;
|
|
15
|
+
readonly 'crm.deal': CrmDeal;
|
|
16
|
+
readonly 'crm.lost.reason': CrmLostReason;
|
|
17
|
+
readonly 'crm.stage': CrmStage;
|
|
15
18
|
readonly 'kosh.image': KoshImage;
|
|
16
19
|
readonly 'kosh.saved_view': KoshSavedView;
|
|
17
20
|
readonly 'kosh.setting': KoshSetting;
|
|
@@ -22,38 +25,29 @@ export interface SchemaView {
|
|
|
22
25
|
readonly 'mail.follower': MailFollower;
|
|
23
26
|
readonly 'mail.message': MailMessage;
|
|
24
27
|
readonly 'mail.message.reaction': MailMessageReaction;
|
|
25
|
-
readonly 'mrp.bom': MrpBom;
|
|
26
|
-
readonly 'mrp.bom.byproduct': MrpBomByproduct;
|
|
27
|
-
readonly 'mrp.bom.line': MrpBomLine;
|
|
28
|
-
readonly 'mrp.bom.operation': MrpBomOperation;
|
|
29
|
-
readonly 'mrp.production': MrpProduction;
|
|
30
|
-
readonly 'mrp.production.component': MrpProductionComponent;
|
|
31
|
-
readonly 'mrp.workcenter': MrpWorkcenter;
|
|
32
|
-
readonly 'mrp.workorder': MrpWorkorder;
|
|
33
28
|
readonly 'oauth.app': OauthApp;
|
|
34
29
|
readonly 'oauth.code': OauthCode;
|
|
35
30
|
readonly 'oauth.grant': OauthGrant;
|
|
36
31
|
readonly 'oauth.token': OauthToken;
|
|
32
|
+
readonly 'product.attribute': ProductAttribute;
|
|
33
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
37
34
|
readonly 'product.category': ProductCategory;
|
|
35
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
36
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
38
37
|
readonly 'product.product': ProductProduct;
|
|
38
|
+
readonly 'product.template': ProductTemplate;
|
|
39
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
40
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
39
41
|
readonly 'res.company': ResCompany;
|
|
40
42
|
readonly 'res.currency': ResCurrency;
|
|
41
43
|
readonly 'res.partner': ResPartner;
|
|
42
44
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
43
45
|
readonly 'res.users': ResUsers;
|
|
44
|
-
readonly '
|
|
45
|
-
readonly '
|
|
46
|
-
readonly '
|
|
47
|
-
readonly '
|
|
48
|
-
readonly '
|
|
49
|
-
readonly 'stock.move': StockMove;
|
|
50
|
-
readonly 'stock.picking': StockPicking;
|
|
51
|
-
readonly 'stock.putaway': StockPutaway;
|
|
52
|
-
readonly 'stock.quant': StockQuant;
|
|
53
|
-
readonly 'stock.reorder': StockReorder;
|
|
54
|
-
readonly 'stock.reservation': StockReservation;
|
|
55
|
-
readonly 'stock.scrap': StockScrap;
|
|
56
|
-
readonly 'stock.warehouse': StockWarehouse;
|
|
46
|
+
readonly 'sale.order': SaleOrder;
|
|
47
|
+
readonly 'sale.order.line': SaleOrderLine;
|
|
48
|
+
readonly 'sale.order.option': SaleOrderOption;
|
|
49
|
+
readonly 'sale.order.template': SaleOrderTemplate;
|
|
50
|
+
readonly 'sale.order.template.line': SaleOrderTemplateLine;
|
|
57
51
|
readonly 'storage.attachment': StorageAttachment;
|
|
58
52
|
readonly 'uom.uom': UomUom;
|
|
59
53
|
}
|
|
@@ -255,6 +249,90 @@ export interface AuthUserGroup {
|
|
|
255
249
|
export interface AuthUserGroupMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_group'> {
|
|
256
250
|
}
|
|
257
251
|
|
|
252
|
+
/** `crm.deal` (owner: crm; extended by: sale_crm). */
|
|
253
|
+
export interface CrmDeal {
|
|
254
|
+
readonly name: 'crm.deal';
|
|
255
|
+
readonly fields: {
|
|
256
|
+
readonly id: F.Id<'crm.deal'>;
|
|
257
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
258
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
259
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
260
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
261
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
262
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
263
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
264
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
265
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
266
|
+
readonly companyName: F.Char;
|
|
267
|
+
readonly contactName: F.Char;
|
|
268
|
+
readonly email: F.Char;
|
|
269
|
+
readonly phone: F.Char;
|
|
270
|
+
readonly salesperson: F.Many2one<'res.users', { readonly default: true }>;
|
|
271
|
+
readonly stage: F.Many2one<'crm.stage'>;
|
|
272
|
+
readonly expectedRevenue: F.Decimal;
|
|
273
|
+
readonly probability: F.Integer<{ readonly default: true }>;
|
|
274
|
+
readonly weightedRevenue: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
275
|
+
readonly closeDate: F.DateOnly;
|
|
276
|
+
readonly source: F.Selection<'website' | 'referral' | 'email' | 'phone' | 'event' | 'partner' | 'other'>;
|
|
277
|
+
readonly priority: F.Selection<'normal' | 'good' | 'very_good' | 'excellent', { readonly required: true; readonly default: true }>;
|
|
278
|
+
readonly lost: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
279
|
+
readonly lostReason: F.Many2one<'crm.lost.reason'>;
|
|
280
|
+
readonly status: F.Selection<'open' | 'won' | 'lost', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
281
|
+
readonly description: F.Text;
|
|
282
|
+
readonly quotations: F.One2many<'sale.order', { readonly required: true }>; // sale_crm
|
|
283
|
+
};
|
|
284
|
+
readonly methods: CrmDealMethods;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/** Methods of `crm.deal`: declared ones and transitions. */
|
|
288
|
+
export interface CrmDealMethods extends F.Methods<typeof import('../../crm/index.js').crmShutro, 'crm.deal'>, F.Methods<typeof import('../module.js').saleCrmShutro, 'crm.deal'> {
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** `crm.lost.reason` (owner: crm). */
|
|
292
|
+
export interface CrmLostReason {
|
|
293
|
+
readonly name: 'crm.lost.reason';
|
|
294
|
+
readonly fields: {
|
|
295
|
+
readonly id: F.Id<'crm.lost.reason'>;
|
|
296
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
297
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
298
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
299
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
300
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
301
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
302
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
303
|
+
};
|
|
304
|
+
readonly methods: CrmLostReasonMethods;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/** Methods of `crm.lost.reason`: declared ones and transitions. */
|
|
308
|
+
export interface CrmLostReasonMethods extends F.Methods<typeof import('../../crm/index.js').crmShutro, 'crm.lost.reason'> {
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/** `crm.stage` (owner: crm). */
|
|
312
|
+
export interface CrmStage {
|
|
313
|
+
readonly name: 'crm.stage';
|
|
314
|
+
readonly fields: {
|
|
315
|
+
readonly id: F.Id<'crm.stage'>;
|
|
316
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
317
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
318
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
319
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
320
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
321
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
322
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
323
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
324
|
+
readonly probability: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
325
|
+
readonly won: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
326
|
+
readonly fold: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
327
|
+
readonly requiredFields: F.Char;
|
|
328
|
+
};
|
|
329
|
+
readonly methods: CrmStageMethods;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/** Methods of `crm.stage`: declared ones and transitions. */
|
|
333
|
+
export interface CrmStageMethods extends F.Methods<typeof import('../../crm/index.js').crmShutro, 'crm.stage'> {
|
|
334
|
+
}
|
|
335
|
+
|
|
258
336
|
/** `kosh.image` (owner: base). */
|
|
259
337
|
export interface KoshImage {
|
|
260
338
|
readonly name: 'kosh.image';
|
|
@@ -500,228 +578,6 @@ export interface MailMessageReaction {
|
|
|
500
578
|
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
501
579
|
}
|
|
502
580
|
|
|
503
|
-
/** `mrp.bom` (owner: mrp). */
|
|
504
|
-
export interface MrpBom {
|
|
505
|
-
readonly name: 'mrp.bom';
|
|
506
|
-
readonly fields: {
|
|
507
|
-
readonly id: F.Id<'mrp.bom'>;
|
|
508
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
509
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
510
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
511
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
512
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
513
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
514
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
515
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
516
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
517
|
-
readonly version: F.Char<{ readonly required: true; readonly default: true }>;
|
|
518
|
-
readonly validFrom: F.DateOnly;
|
|
519
|
-
readonly validTo: F.DateOnly;
|
|
520
|
-
readonly lines: F.One2many<'mrp.bom.line', { readonly required: true }>;
|
|
521
|
-
readonly operations: F.One2many<'mrp.bom.operation', { readonly required: true }>;
|
|
522
|
-
readonly byproducts: F.One2many<'mrp.bom.byproduct', { readonly required: true }>;
|
|
523
|
-
readonly note: F.Text;
|
|
524
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
525
|
-
};
|
|
526
|
-
readonly methods: MrpBomMethods;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/** Methods of `mrp.bom`: declared ones and transitions. */
|
|
530
|
-
export interface MrpBomMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.bom'> {
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/** `mrp.bom.byproduct` (owner: mrp). */
|
|
534
|
-
export interface MrpBomByproduct {
|
|
535
|
-
readonly name: 'mrp.bom.byproduct';
|
|
536
|
-
readonly fields: {
|
|
537
|
-
readonly id: F.Id<'mrp.bom.byproduct'>;
|
|
538
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
539
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
540
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
541
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
542
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
543
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
544
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
545
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
546
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
547
|
-
readonly costShare: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
548
|
-
};
|
|
549
|
-
readonly methods: MrpBomByproductMethods;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/** Methods of `mrp.bom.byproduct`: declared ones and transitions. */
|
|
553
|
-
export interface MrpBomByproductMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.bom.byproduct'> {
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/** `mrp.bom.line` (owner: mrp). */
|
|
557
|
-
export interface MrpBomLine {
|
|
558
|
-
readonly name: 'mrp.bom.line';
|
|
559
|
-
readonly fields: {
|
|
560
|
-
readonly id: F.Id<'mrp.bom.line'>;
|
|
561
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
562
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
563
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
564
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
565
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
566
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
567
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
568
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
569
|
-
readonly uom: F.Many2one<'uom.uom'>;
|
|
570
|
-
};
|
|
571
|
-
readonly methods: MrpBomLineMethods;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/** Methods of `mrp.bom.line`: declared ones and transitions. */
|
|
575
|
-
export interface MrpBomLineMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.bom.line'> {
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/** `mrp.bom.operation` (owner: mrp). */
|
|
579
|
-
export interface MrpBomOperation {
|
|
580
|
-
readonly name: 'mrp.bom.operation';
|
|
581
|
-
readonly fields: {
|
|
582
|
-
readonly id: F.Id<'mrp.bom.operation'>;
|
|
583
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
584
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
585
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
586
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
587
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
588
|
-
readonly bom: F.Many2one<'mrp.bom', { readonly required: true }>;
|
|
589
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
590
|
-
readonly workcenter: F.Many2one<'mrp.workcenter', { readonly required: true }>;
|
|
591
|
-
readonly minutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
592
|
-
};
|
|
593
|
-
readonly methods: MrpBomOperationMethods;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/** Methods of `mrp.bom.operation`: declared ones and transitions. */
|
|
597
|
-
export interface MrpBomOperationMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.bom.operation'> {
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/** `mrp.production` (owner: mrp). */
|
|
601
|
-
export interface MrpProduction {
|
|
602
|
-
readonly name: 'mrp.production';
|
|
603
|
-
readonly fields: {
|
|
604
|
-
readonly id: F.Id<'mrp.production'>;
|
|
605
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
606
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
607
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
608
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
609
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
610
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
611
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
612
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
613
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
614
|
-
readonly bom: F.Many2one<'mrp.bom'>;
|
|
615
|
-
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
616
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
617
|
-
readonly components: F.One2many<'mrp.production.component', { readonly required: true }>;
|
|
618
|
-
readonly scraps: F.One2many<'stock.scrap', { readonly required: true }>;
|
|
619
|
-
readonly workorders: F.One2many<'mrp.workorder', { readonly required: true }>;
|
|
620
|
-
readonly consumption: F.Many2one<'stock.picking'>;
|
|
621
|
-
readonly output: F.Many2one<'stock.picking'>;
|
|
622
|
-
readonly materialCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
623
|
-
readonly operationCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
624
|
-
readonly totalCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
625
|
-
readonly unitCost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
626
|
-
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
627
|
-
readonly note: F.Text;
|
|
628
|
-
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
629
|
-
};
|
|
630
|
-
readonly methods: MrpProductionMethods;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
/** Methods of `mrp.production`: declared ones and transitions. */
|
|
634
|
-
export interface MrpProductionMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.production'> {
|
|
635
|
-
readonly 'cancel': () => Promise<void>;
|
|
636
|
-
readonly 'check': () => Promise<void>;
|
|
637
|
-
readonly 'confirm': () => Promise<void>;
|
|
638
|
-
readonly 'produce': () => Promise<void>;
|
|
639
|
-
readonly 'redraft': () => Promise<void>;
|
|
640
|
-
readonly 'reserve': () => Promise<void>;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
/** `mrp.production.component` (owner: mrp). */
|
|
644
|
-
export interface MrpProductionComponent {
|
|
645
|
-
readonly name: 'mrp.production.component';
|
|
646
|
-
readonly fields: {
|
|
647
|
-
readonly id: F.Id<'mrp.production.component'>;
|
|
648
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
649
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
650
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
651
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
652
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
653
|
-
readonly production: F.Many2one<'mrp.production', { readonly required: true }>;
|
|
654
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
655
|
-
readonly required: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
656
|
-
readonly available: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
657
|
-
readonly short: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
658
|
-
readonly cost: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
659
|
-
};
|
|
660
|
-
readonly methods: MrpProductionComponentMethods;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/** Methods of `mrp.production.component`: declared ones and transitions. */
|
|
664
|
-
export interface MrpProductionComponentMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.production.component'> {
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
/** `mrp.workcenter` (owner: mrp). */
|
|
668
|
-
export interface MrpWorkcenter {
|
|
669
|
-
readonly name: 'mrp.workcenter';
|
|
670
|
-
readonly fields: {
|
|
671
|
-
readonly id: F.Id<'mrp.workcenter'>;
|
|
672
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
673
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
674
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
675
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
676
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
677
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
678
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
679
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
680
|
-
readonly code: F.Char;
|
|
681
|
-
readonly hoursPerDay: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
682
|
-
readonly costPerHour: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
683
|
-
readonly note: F.Text;
|
|
684
|
-
};
|
|
685
|
-
readonly methods: MrpWorkcenterMethods;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/** Methods of `mrp.workcenter`: declared ones and transitions. */
|
|
689
|
-
export interface MrpWorkcenterMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.workcenter'> {
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/** `mrp.workorder` (owner: mrp). */
|
|
693
|
-
export interface MrpWorkorder {
|
|
694
|
-
readonly name: 'mrp.workorder';
|
|
695
|
-
readonly fields: {
|
|
696
|
-
readonly id: F.Id<'mrp.workorder'>;
|
|
697
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
698
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
699
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
700
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
701
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
702
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
703
|
-
readonly production: F.Many2one<'mrp.production', { readonly required: true }>;
|
|
704
|
-
readonly name: F.Char<{ readonly required: true }>;
|
|
705
|
-
readonly workcenter: F.Many2one<'mrp.workcenter', { readonly required: true }>;
|
|
706
|
-
readonly plannedMinutes: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
707
|
-
readonly plannedStart: F.Datetime;
|
|
708
|
-
readonly plannedStop: F.Datetime;
|
|
709
|
-
readonly startedAt: F.Datetime;
|
|
710
|
-
readonly finishedAt: F.Datetime;
|
|
711
|
-
readonly actualMinutes: F.Decimal;
|
|
712
|
-
readonly state: F.State<'ready' | 'progress' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
713
|
-
};
|
|
714
|
-
readonly methods: MrpWorkorderMethods;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/** Methods of `mrp.workorder`: declared ones and transitions. */
|
|
718
|
-
export interface MrpWorkorderMethods extends F.Methods<typeof import('../module.js').mrpShutro, 'mrp.workorder'> {
|
|
719
|
-
readonly 'cancel': () => Promise<void>;
|
|
720
|
-
readonly 'close': () => Promise<void>;
|
|
721
|
-
readonly 'finish': () => Promise<void>;
|
|
722
|
-
readonly 'start': () => Promise<void>;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
581
|
/** `oauth.app` (owner: base). */
|
|
726
582
|
export interface OauthApp {
|
|
727
583
|
readonly name: 'oauth.app';
|
|
@@ -821,6 +677,53 @@ export interface OauthToken {
|
|
|
821
677
|
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
822
678
|
}
|
|
823
679
|
|
|
680
|
+
/** `product.attribute` (owner: product). */
|
|
681
|
+
export interface ProductAttribute {
|
|
682
|
+
readonly name: 'product.attribute';
|
|
683
|
+
readonly fields: {
|
|
684
|
+
readonly id: F.Id<'product.attribute'>;
|
|
685
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
686
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
687
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
688
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
689
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
690
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
691
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
692
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
693
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
694
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
695
|
+
};
|
|
696
|
+
readonly methods: ProductAttributeMethods;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
700
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/** `product.attribute.value` (owner: product). */
|
|
704
|
+
export interface ProductAttributeValue {
|
|
705
|
+
readonly name: 'product.attribute.value';
|
|
706
|
+
readonly fields: {
|
|
707
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
708
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
709
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
710
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
711
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
712
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
713
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
714
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
715
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
716
|
+
readonly color: F.Char;
|
|
717
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
718
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
719
|
+
};
|
|
720
|
+
readonly methods: ProductAttributeValueMethods;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
724
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
725
|
+
}
|
|
726
|
+
|
|
824
727
|
/** `product.category` (owner: product). */
|
|
825
728
|
export interface ProductCategory {
|
|
826
729
|
readonly name: 'product.category';
|
|
@@ -834,6 +737,7 @@ export interface ProductCategory {
|
|
|
834
737
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
835
738
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
836
739
|
readonly parent: F.Many2one<'product.category'>;
|
|
740
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
837
741
|
};
|
|
838
742
|
readonly methods: ProductCategoryMethods;
|
|
839
743
|
}
|
|
@@ -842,7 +746,67 @@ export interface ProductCategory {
|
|
|
842
746
|
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
843
747
|
}
|
|
844
748
|
|
|
845
|
-
/** `product.
|
|
749
|
+
/** `product.pricelist` (owner: product). */
|
|
750
|
+
export interface ProductPricelist {
|
|
751
|
+
readonly name: 'product.pricelist';
|
|
752
|
+
readonly fields: {
|
|
753
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
754
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
755
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
756
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
757
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
758
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
759
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
760
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
761
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
762
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
763
|
+
readonly company: F.Many2one<'res.company'>;
|
|
764
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
765
|
+
readonly note: F.Text;
|
|
766
|
+
};
|
|
767
|
+
readonly methods: ProductPricelistMethods;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
771
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
775
|
+
export interface ProductPricelistRule {
|
|
776
|
+
readonly name: 'product.pricelist.rule';
|
|
777
|
+
readonly fields: {
|
|
778
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
779
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
780
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
781
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
782
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
783
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
784
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
785
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
786
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
787
|
+
readonly product: F.Many2one<'product.product'>;
|
|
788
|
+
readonly category: F.Many2one<'product.category'>;
|
|
789
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
790
|
+
readonly dateFrom: F.DateOnly;
|
|
791
|
+
readonly dateTo: F.DateOnly;
|
|
792
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
793
|
+
readonly fixedPrice: F.Decimal;
|
|
794
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
795
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
796
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
797
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
798
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
799
|
+
readonly minMargin: F.Decimal;
|
|
800
|
+
readonly maxMargin: F.Decimal;
|
|
801
|
+
};
|
|
802
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
806
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/** `product.product` (owner: product). */
|
|
846
810
|
export interface ProductProduct {
|
|
847
811
|
readonly name: 'product.product';
|
|
848
812
|
readonly fields: {
|
|
@@ -857,8 +821,11 @@ export interface ProductProduct {
|
|
|
857
821
|
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
858
822
|
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
859
823
|
readonly category: F.Many2one<'product.category'>;
|
|
824
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
860
825
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
861
826
|
readonly barcode: F.Char;
|
|
827
|
+
readonly weight: F.Decimal;
|
|
828
|
+
readonly volume: F.Decimal;
|
|
862
829
|
readonly image: F.Many2one<'storage.attachment'>;
|
|
863
830
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
864
831
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
@@ -869,21 +836,98 @@ export interface ProductProduct {
|
|
|
869
836
|
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
870
837
|
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
871
838
|
readonly description: F.Text<{ readonly translate: true }>;
|
|
872
|
-
readonly
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
876
|
-
readonly qtyReserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
877
|
-
readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
|
|
839
|
+
readonly template: F.Many2one<'product.template'>;
|
|
840
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
841
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
878
842
|
};
|
|
879
843
|
readonly methods: ProductProductMethods;
|
|
880
844
|
}
|
|
881
845
|
|
|
882
846
|
/** Methods of `product.product`: declared ones and transitions. */
|
|
883
|
-
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'
|
|
847
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'> {
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/** `product.template` (owner: product). */
|
|
851
|
+
export interface ProductTemplate {
|
|
852
|
+
readonly name: 'product.template';
|
|
853
|
+
readonly fields: {
|
|
854
|
+
readonly id: F.Id<'product.template'>;
|
|
855
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
856
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
857
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
858
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
859
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
860
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
861
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
862
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
863
|
+
readonly category: F.Many2one<'product.category'>;
|
|
864
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
865
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
866
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
867
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
868
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
869
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
870
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
871
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
872
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
873
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
874
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
875
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
876
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
877
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
878
|
+
};
|
|
879
|
+
readonly methods: ProductTemplateMethods;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
883
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
884
|
+
readonly 'generate': () => Promise<void>;
|
|
884
885
|
}
|
|
885
886
|
|
|
886
|
-
/** `
|
|
887
|
+
/** `product.template.exclusion` (owner: product). */
|
|
888
|
+
export interface ProductTemplateExclusion {
|
|
889
|
+
readonly name: 'product.template.exclusion';
|
|
890
|
+
readonly fields: {
|
|
891
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
892
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
893
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
894
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
895
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
896
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
897
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
898
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
899
|
+
readonly note: F.Char;
|
|
900
|
+
};
|
|
901
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
905
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/** `product.template.line` (owner: product). */
|
|
909
|
+
export interface ProductTemplateLine {
|
|
910
|
+
readonly name: 'product.template.line';
|
|
911
|
+
readonly fields: {
|
|
912
|
+
readonly id: F.Id<'product.template.line'>;
|
|
913
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
914
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
915
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
916
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
917
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
918
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
919
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
920
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
921
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
922
|
+
};
|
|
923
|
+
readonly methods: ProductTemplateLineMethods;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
927
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/** `res.company` (owner: base; extended by: contacts, sales). */
|
|
887
931
|
export interface ResCompany {
|
|
888
932
|
readonly name: 'res.company';
|
|
889
933
|
readonly fields: {
|
|
@@ -905,12 +949,14 @@ export interface ResCompany {
|
|
|
905
949
|
readonly website: F.Char;
|
|
906
950
|
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
907
951
|
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
952
|
+
readonly saleValidityDays: F.Integer<{ readonly default: true }>; // sales
|
|
953
|
+
readonly saleTerms: F.Text; // sales
|
|
908
954
|
};
|
|
909
955
|
readonly methods: ResCompanyMethods;
|
|
910
956
|
}
|
|
911
957
|
|
|
912
958
|
/** Methods of `res.company`: declared ones and transitions. */
|
|
913
|
-
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'> {
|
|
959
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../../sales/index.js').salesShutro, 'res.company'> {
|
|
914
960
|
}
|
|
915
961
|
|
|
916
962
|
/** `res.currency` (owner: base). */
|
|
@@ -934,7 +980,7 @@ export interface ResCurrency {
|
|
|
934
980
|
export interface ResCurrencyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.currency'> {
|
|
935
981
|
}
|
|
936
982
|
|
|
937
|
-
/** `res.partner` (owner: contacts). */
|
|
983
|
+
/** `res.partner` (owner: contacts; extended by: sales). */
|
|
938
984
|
export interface ResPartner {
|
|
939
985
|
readonly name: 'res.partner';
|
|
940
986
|
readonly fields: {
|
|
@@ -955,6 +1001,7 @@ export interface ResPartner {
|
|
|
955
1001
|
readonly parent: F.Many2one<'res.partner'>;
|
|
956
1002
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
957
1003
|
readonly email: F.Char;
|
|
1004
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
958
1005
|
readonly phone: F.Char;
|
|
959
1006
|
readonly mobile: F.Char;
|
|
960
1007
|
readonly website: F.Char;
|
|
@@ -968,12 +1015,13 @@ export interface ResPartner {
|
|
|
968
1015
|
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
969
1016
|
readonly currency: F.Many2one<'res.currency'>;
|
|
970
1017
|
readonly notes: F.Text;
|
|
1018
|
+
readonly pricelist: F.Many2one<'product.pricelist'>; // sales
|
|
971
1019
|
};
|
|
972
1020
|
readonly methods: ResPartnerMethods;
|
|
973
1021
|
}
|
|
974
1022
|
|
|
975
1023
|
/** Methods of `res.partner`: declared ones and transitions. */
|
|
976
|
-
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'> {
|
|
1024
|
+
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../sales/index.js').salesShutro, 'res.partner'> {
|
|
977
1025
|
}
|
|
978
1026
|
|
|
979
1027
|
/** `res.partner.tag` (owner: contacts). */
|
|
@@ -1023,11 +1071,11 @@ export interface ResUsers {
|
|
|
1023
1071
|
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
1024
1072
|
}
|
|
1025
1073
|
|
|
1026
|
-
/** `
|
|
1027
|
-
export interface
|
|
1028
|
-
readonly name: '
|
|
1074
|
+
/** `sale.order` (owner: sales; extended by: sale_crm). */
|
|
1075
|
+
export interface SaleOrder {
|
|
1076
|
+
readonly name: 'sale.order';
|
|
1029
1077
|
readonly fields: {
|
|
1030
|
-
readonly id: F.Id<'
|
|
1078
|
+
readonly id: F.Id<'sale.order'>;
|
|
1031
1079
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1032
1080
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1033
1081
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
@@ -1035,371 +1083,145 @@ export interface StockCount {
|
|
|
1035
1083
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1036
1084
|
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1037
1085
|
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1038
|
-
readonly
|
|
1039
|
-
readonly
|
|
1040
|
-
readonly
|
|
1041
|
-
readonly
|
|
1042
|
-
readonly
|
|
1086
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
1087
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
1088
|
+
readonly partnerInvoice: F.Many2one<'res.partner'>;
|
|
1089
|
+
readonly partnerShipping: F.Many2one<'res.partner'>;
|
|
1090
|
+
readonly pricelist: F.Many2one<'product.pricelist'>;
|
|
1091
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
1092
|
+
readonly dateOrder: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1093
|
+
readonly validityDate: F.DateOnly;
|
|
1094
|
+
readonly clientReference: F.Char;
|
|
1043
1095
|
readonly note: F.Text;
|
|
1044
|
-
readonly
|
|
1096
|
+
readonly lines: F.One2many<'sale.order.line', { readonly required: true }>;
|
|
1097
|
+
readonly template: F.Many2one<'sale.order.template'>;
|
|
1098
|
+
readonly options: F.One2many<'sale.order.option', { readonly required: true }>;
|
|
1099
|
+
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1100
|
+
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1101
|
+
readonly amountTotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1102
|
+
readonly margin: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1103
|
+
readonly marginPercent: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1104
|
+
readonly state: F.State<'draft' | 'sent' | 'sale' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1105
|
+
readonly deal: F.Many2one<'crm.deal'>; // sale_crm
|
|
1045
1106
|
};
|
|
1046
|
-
readonly methods:
|
|
1107
|
+
readonly methods: SaleOrderMethods;
|
|
1047
1108
|
}
|
|
1048
1109
|
|
|
1049
|
-
/** Methods of `
|
|
1050
|
-
export interface
|
|
1051
|
-
readonly 'apply': () => Promise<void>;
|
|
1110
|
+
/** Methods of `sale.order`: declared ones and transitions. */
|
|
1111
|
+
export interface SaleOrderMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order'>, F.Methods<typeof import('../module.js').saleCrmShutro, 'sale.order'> {
|
|
1052
1112
|
readonly 'cancel': () => Promise<void>;
|
|
1113
|
+
readonly 'confirm': () => Promise<void>;
|
|
1114
|
+
readonly 'fill': () => Promise<void>;
|
|
1115
|
+
readonly 'lock': () => Promise<void>;
|
|
1053
1116
|
readonly 'redraft': () => Promise<void>;
|
|
1054
|
-
readonly '
|
|
1117
|
+
readonly 'send': () => Promise<void>;
|
|
1118
|
+
readonly 'unlock': () => Promise<void>;
|
|
1055
1119
|
}
|
|
1056
1120
|
|
|
1057
|
-
/** `
|
|
1058
|
-
export interface
|
|
1059
|
-
readonly name: '
|
|
1121
|
+
/** `sale.order.line` (owner: sales). */
|
|
1122
|
+
export interface SaleOrderLine {
|
|
1123
|
+
readonly name: 'sale.order.line';
|
|
1060
1124
|
readonly fields: {
|
|
1061
|
-
readonly id: F.Id<'
|
|
1125
|
+
readonly id: F.Id<'sale.order.line'>;
|
|
1062
1126
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1063
1127
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1064
1128
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1065
1129
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1066
1130
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1067
|
-
readonly
|
|
1131
|
+
readonly order: F.Many2one<'sale.order', { readonly required: true }>;
|
|
1068
1132
|
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1069
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1070
|
-
readonly expected: F.Decimal;
|
|
1071
|
-
readonly counted: F.Decimal;
|
|
1072
|
-
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1073
|
-
};
|
|
1074
|
-
readonly methods: StockCountLineMethods;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
/** Methods of `stock.count.line`: declared ones and transitions. */
|
|
1078
|
-
export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/** `stock.location` (owner: stock). */
|
|
1082
|
-
export interface StockLocation {
|
|
1083
|
-
readonly name: 'stock.location';
|
|
1084
|
-
readonly fields: {
|
|
1085
|
-
readonly id: F.Id<'stock.location'>;
|
|
1086
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1087
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1088
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1089
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1090
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1091
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1092
|
-
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1093
|
-
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1094
|
-
readonly parent: F.Many2one<'stock.location'>;
|
|
1095
|
-
readonly parentPath: F.Char<{ readonly readonly: true }>;
|
|
1096
|
-
readonly children: F.One2many<'stock.location', { readonly required: true }>;
|
|
1097
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1098
|
-
readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
|
|
1099
|
-
readonly step: F.Selection<'input' | 'quality' | 'packing' | 'output'>;
|
|
1100
|
-
readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1101
|
-
};
|
|
1102
|
-
readonly methods: StockLocationMethods;
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
/** Methods of `stock.location`: declared ones and transitions. */
|
|
1106
|
-
export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'> {
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
/** `stock.lot` (owner: stock). */
|
|
1110
|
-
export interface StockLot {
|
|
1111
|
-
readonly name: 'stock.lot';
|
|
1112
|
-
readonly fields: {
|
|
1113
|
-
readonly id: F.Id<'stock.lot'>;
|
|
1114
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1115
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1116
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1117
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1118
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1119
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1120
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1121
1133
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1122
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1123
|
-
readonly expiryDate: F.DateOnly;
|
|
1124
|
-
readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
|
|
1125
|
-
readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1126
|
-
readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1127
|
-
readonly note: F.Text;
|
|
1128
|
-
};
|
|
1129
|
-
readonly methods: StockLotMethods;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
/** Methods of `stock.lot`: declared ones and transitions. */
|
|
1133
|
-
export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
/** `stock.lot.line` (owner: stock). */
|
|
1137
|
-
export interface StockLotLine {
|
|
1138
|
-
readonly name: 'stock.lot.line';
|
|
1139
|
-
readonly fields: {
|
|
1140
|
-
readonly id: F.Id<'stock.lot.line'>;
|
|
1141
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1142
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1143
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1144
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1145
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1146
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1147
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1148
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1149
|
-
readonly lotName: F.Char;
|
|
1150
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1151
|
-
};
|
|
1152
|
-
readonly methods: StockLotLineMethods;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
/** Methods of `stock.lot.line`: declared ones and transitions. */
|
|
1156
|
-
export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/** `stock.move` (owner: stock). */
|
|
1160
|
-
export interface StockMove {
|
|
1161
|
-
readonly name: 'stock.move';
|
|
1162
|
-
readonly fields: {
|
|
1163
|
-
readonly id: F.Id<'stock.move'>;
|
|
1164
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1165
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1166
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1167
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1168
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1169
|
-
readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
|
|
1170
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1171
|
-
readonly name: F.Char;
|
|
1172
1134
|
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1173
1135
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1174
|
-
readonly
|
|
1175
|
-
readonly
|
|
1176
|
-
readonly
|
|
1177
|
-
readonly
|
|
1178
|
-
readonly
|
|
1179
|
-
readonly
|
|
1180
|
-
readonly
|
|
1181
|
-
readonly
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
/** Methods of `stock.move`: declared ones and transitions. */
|
|
1187
|
-
export interface StockMoveMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.move'> {
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
/** `stock.picking` (owner: stock). */
|
|
1191
|
-
export interface StockPicking {
|
|
1192
|
-
readonly name: 'stock.picking';
|
|
1193
|
-
readonly fields: {
|
|
1194
|
-
readonly id: F.Id<'stock.picking'>;
|
|
1195
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1196
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1197
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1198
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1199
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1200
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1201
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1202
|
-
readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1203
|
-
readonly partner: F.Many2one<'res.partner'>;
|
|
1204
|
-
readonly warehouse: F.Many2one<'stock.warehouse'>;
|
|
1205
|
-
readonly source: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1206
|
-
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1207
|
-
readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1208
|
-
readonly doneDate: F.DateOnly;
|
|
1209
|
-
readonly origin: F.Char;
|
|
1210
|
-
readonly note: F.Text;
|
|
1211
|
-
readonly moves: F.One2many<'stock.move', { readonly required: true }>;
|
|
1212
|
-
readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
|
|
1213
|
-
readonly count: F.Many2one<'stock.count'>;
|
|
1214
|
-
readonly backorderOf: F.Many2one<'stock.picking'>;
|
|
1215
|
-
readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1216
|
-
readonly next: F.Many2one<'stock.picking'>;
|
|
1217
|
-
readonly previousSteps: F.One2many<'stock.picking', { readonly required: true }>;
|
|
1218
|
-
readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1219
|
-
readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1220
|
-
readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1221
|
-
};
|
|
1222
|
-
readonly methods: StockPickingMethods;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
/** Methods of `stock.picking`: declared ones and transitions. */
|
|
1226
|
-
export interface StockPickingMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking'> {
|
|
1227
|
-
readonly 'cancel': () => Promise<void>;
|
|
1228
|
-
readonly 'confirm': () => Promise<void>;
|
|
1229
|
-
readonly 'redraft': () => Promise<void>;
|
|
1230
|
-
readonly 'reserve': () => Promise<void>;
|
|
1231
|
-
readonly 'unreserve': () => Promise<void>;
|
|
1232
|
-
readonly 'validate': () => Promise<void>;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
/** `stock.putaway` (owner: stock). */
|
|
1236
|
-
export interface StockPutaway {
|
|
1237
|
-
readonly name: 'stock.putaway';
|
|
1238
|
-
readonly fields: {
|
|
1239
|
-
readonly id: F.Id<'stock.putaway'>;
|
|
1240
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1241
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1242
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1243
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1244
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1245
|
-
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1246
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1247
|
-
readonly location: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1248
|
-
readonly product: F.Many2one<'product.product'>;
|
|
1249
|
-
readonly category: F.Many2one<'product.category'>;
|
|
1250
|
-
readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
|
|
1251
|
-
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1136
|
+
readonly priceUnit: F.Decimal<{ readonly compute: true; readonly store: true; readonly inverse: true }>;
|
|
1137
|
+
readonly manualPrice: F.Decimal;
|
|
1138
|
+
readonly priceReason: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1139
|
+
readonly discount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1140
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1141
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1142
|
+
readonly currency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1143
|
+
readonly subtotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1144
|
+
readonly margin: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1145
|
+
readonly taxAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1252
1146
|
};
|
|
1253
|
-
readonly methods:
|
|
1147
|
+
readonly methods: SaleOrderLineMethods;
|
|
1254
1148
|
}
|
|
1255
1149
|
|
|
1256
|
-
/** Methods of `
|
|
1257
|
-
export interface
|
|
1150
|
+
/** Methods of `sale.order.line`: declared ones and transitions. */
|
|
1151
|
+
export interface SaleOrderLineMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order.line'> {
|
|
1258
1152
|
}
|
|
1259
1153
|
|
|
1260
|
-
/** `
|
|
1261
|
-
export interface
|
|
1262
|
-
readonly name: '
|
|
1154
|
+
/** `sale.order.option` (owner: sales). */
|
|
1155
|
+
export interface SaleOrderOption {
|
|
1156
|
+
readonly name: 'sale.order.option';
|
|
1263
1157
|
readonly fields: {
|
|
1264
|
-
readonly id: F.Id<'
|
|
1158
|
+
readonly id: F.Id<'sale.order.option'>;
|
|
1265
1159
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1266
1160
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1267
1161
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1268
1162
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1269
1163
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1270
|
-
readonly
|
|
1164
|
+
readonly order: F.Many2one<'sale.order', { readonly required: true }>;
|
|
1271
1165
|
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1166
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1274
1167
|
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1275
|
-
readonly
|
|
1276
|
-
readonly
|
|
1277
|
-
readonly
|
|
1168
|
+
readonly priceUnit: F.Decimal;
|
|
1169
|
+
readonly line: F.Many2one<'sale.order.line'>;
|
|
1170
|
+
readonly state: F.State<'offered' | 'added', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1278
1171
|
};
|
|
1279
|
-
readonly methods:
|
|
1172
|
+
readonly methods: SaleOrderOptionMethods;
|
|
1280
1173
|
}
|
|
1281
1174
|
|
|
1282
|
-
/** Methods of `
|
|
1283
|
-
export interface
|
|
1175
|
+
/** Methods of `sale.order.option`: declared ones and transitions. */
|
|
1176
|
+
export interface SaleOrderOptionMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order.option'> {
|
|
1177
|
+
readonly 'add': () => Promise<void>;
|
|
1284
1178
|
}
|
|
1285
1179
|
|
|
1286
|
-
/** `
|
|
1287
|
-
export interface
|
|
1288
|
-
readonly name: '
|
|
1180
|
+
/** `sale.order.template` (owner: sales). */
|
|
1181
|
+
export interface SaleOrderTemplate {
|
|
1182
|
+
readonly name: 'sale.order.template';
|
|
1289
1183
|
readonly fields: {
|
|
1290
|
-
readonly id: F.Id<'
|
|
1184
|
+
readonly id: F.Id<'sale.order.template'>;
|
|
1291
1185
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1292
1186
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1293
1187
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1294
1188
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1295
1189
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1296
1190
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1297
|
-
readonly
|
|
1298
|
-
readonly
|
|
1299
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1300
|
-
readonly warehouse: F.Many2one<'stock.warehouse', { readonly required: true }>;
|
|
1301
|
-
readonly minimum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1302
|
-
readonly maximum: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1303
|
-
readonly multiple: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1304
|
-
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1305
|
-
readonly method: F.Selection<'buy' | 'make' | 'transfer' | 'dropship', { readonly required: true; readonly default: true }>;
|
|
1306
|
-
readonly trigger: F.Selection<'minmax' | 'order', { readonly required: true; readonly default: true }>;
|
|
1307
|
-
readonly vendor: F.Many2one<'res.partner'>;
|
|
1308
|
-
readonly sourceWarehouse: F.Many2one<'stock.warehouse'>;
|
|
1309
|
-
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1310
|
-
readonly snoozedUntil: F.DateOnly;
|
|
1311
|
-
readonly onHand: F.Decimal;
|
|
1312
|
-
readonly forecast: F.Decimal;
|
|
1313
|
-
readonly proposed: F.Decimal;
|
|
1314
|
-
readonly explanation: F.Text;
|
|
1315
|
-
readonly refreshedAt: F.Datetime;
|
|
1316
|
-
readonly lastOrder: F.Char;
|
|
1317
|
-
};
|
|
1318
|
-
readonly methods: StockReorderMethods;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/** Methods of `stock.reorder`: declared ones and transitions. */
|
|
1322
|
-
export interface StockReorderMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reorder'>, F.Methods<typeof import('../module.js').mrpShutro, 'stock.reorder'> {
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
/** `stock.reservation` (owner: stock). */
|
|
1326
|
-
export interface StockReservation {
|
|
1327
|
-
readonly name: 'stock.reservation';
|
|
1328
|
-
readonly fields: {
|
|
1329
|
-
readonly id: F.Id<'stock.reservation'>;
|
|
1330
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1331
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1332
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1333
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1334
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1335
|
-
readonly move: F.Many2one<'stock.move', { readonly required: true }>;
|
|
1336
|
-
readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
|
|
1337
|
-
readonly quantity: F.Decimal<{ readonly required: true }>;
|
|
1338
|
-
readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1339
|
-
};
|
|
1340
|
-
readonly methods: StockReservationMethods;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
/** Methods of `stock.reservation`: declared ones and transitions. */
|
|
1344
|
-
export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
/** `stock.scrap` (owner: stock; extended by: mrp). */
|
|
1348
|
-
export interface StockScrap {
|
|
1349
|
-
readonly name: 'stock.scrap';
|
|
1350
|
-
readonly fields: {
|
|
1351
|
-
readonly id: F.Id<'stock.scrap'>;
|
|
1352
|
-
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1353
|
-
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1354
|
-
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1355
|
-
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1356
|
-
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1357
|
-
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1358
|
-
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1359
|
-
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1360
|
-
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1361
|
-
readonly location: F.Many2one<'stock.location'>;
|
|
1362
|
-
readonly lot: F.Many2one<'stock.lot'>;
|
|
1363
|
-
readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
|
|
1191
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1192
|
+
readonly validityDays: F.Integer<{ readonly default: true }>;
|
|
1364
1193
|
readonly note: F.Text;
|
|
1365
|
-
readonly
|
|
1366
|
-
readonly picking: F.Many2one<'stock.picking'>;
|
|
1367
|
-
readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1368
|
-
readonly production: F.Many2one<'mrp.production'>; // mrp
|
|
1194
|
+
readonly lines: F.One2many<'sale.order.template.line', { readonly required: true }>;
|
|
1369
1195
|
};
|
|
1370
|
-
readonly methods:
|
|
1196
|
+
readonly methods: SaleOrderTemplateMethods;
|
|
1371
1197
|
}
|
|
1372
1198
|
|
|
1373
|
-
/** Methods of `
|
|
1374
|
-
export interface
|
|
1375
|
-
readonly 'cancel': () => Promise<void>;
|
|
1376
|
-
readonly 'validate': () => Promise<void>;
|
|
1199
|
+
/** Methods of `sale.order.template`: declared ones and transitions. */
|
|
1200
|
+
export interface SaleOrderTemplateMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order.template'> {
|
|
1377
1201
|
}
|
|
1378
1202
|
|
|
1379
|
-
/** `
|
|
1380
|
-
export interface
|
|
1381
|
-
readonly name: '
|
|
1203
|
+
/** `sale.order.template.line` (owner: sales). */
|
|
1204
|
+
export interface SaleOrderTemplateLine {
|
|
1205
|
+
readonly name: 'sale.order.template.line';
|
|
1382
1206
|
readonly fields: {
|
|
1383
|
-
readonly id: F.Id<'
|
|
1207
|
+
readonly id: F.Id<'sale.order.template.line'>;
|
|
1384
1208
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1385
1209
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1386
1210
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1387
1211
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1388
1212
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1389
|
-
readonly
|
|
1390
|
-
readonly
|
|
1213
|
+
readonly template: F.Many2one<'sale.order.template', { readonly required: true }>;
|
|
1214
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1215
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1391
1216
|
readonly name: F.Char<{ readonly required: true }>;
|
|
1392
|
-
readonly
|
|
1393
|
-
readonly
|
|
1394
|
-
readonly address: F.Many2one<'res.partner'>;
|
|
1395
|
-
readonly receptionSteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
1396
|
-
readonly deliverySteps: F.Selection<'one' | 'two' | 'three', { readonly required: true; readonly default: true }>;
|
|
1217
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1218
|
+
readonly optional: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1397
1219
|
};
|
|
1398
|
-
readonly methods:
|
|
1220
|
+
readonly methods: SaleOrderTemplateLineMethods;
|
|
1399
1221
|
}
|
|
1400
1222
|
|
|
1401
|
-
/** Methods of `
|
|
1402
|
-
export interface
|
|
1223
|
+
/** Methods of `sale.order.template.line`: declared ones and transitions. */
|
|
1224
|
+
export interface SaleOrderTemplateLineMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order.template.line'> {
|
|
1403
1225
|
}
|
|
1404
1226
|
|
|
1405
1227
|
/** `storage.attachment` (owner: storage). */
|