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,4 +1,4 @@
|
|
|
1
|
-
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash:
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: f5cdb2ac40836cbb
|
|
2
2
|
// Schema view of module `purchase_account` (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
|
|
|
@@ -6,7 +6,15 @@ import type { F } from '../../server/orm.js';
|
|
|
6
6
|
export interface SchemaView {
|
|
7
7
|
readonly 'account.account': AccountAccount;
|
|
8
8
|
readonly 'account.analytic': AccountAnalytic;
|
|
9
|
+
readonly 'account.bank.statement': AccountBankStatement;
|
|
10
|
+
readonly 'account.bank.statement.line': AccountBankStatementLine;
|
|
11
|
+
readonly 'account.fiscal.position': AccountFiscalPosition;
|
|
12
|
+
readonly 'account.fiscal.position.account': AccountFiscalPositionAccount;
|
|
13
|
+
readonly 'account.fiscal.position.tax': AccountFiscalPositionTax;
|
|
9
14
|
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
15
|
+
readonly 'account.followup': AccountFollowup;
|
|
16
|
+
readonly 'account.followup.level': AccountFollowupLevel;
|
|
17
|
+
readonly 'account.followup.sent': AccountFollowupSent;
|
|
10
18
|
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
11
19
|
readonly 'account.journal': AccountJournal;
|
|
12
20
|
readonly 'account.move': AccountMove;
|
|
@@ -16,10 +24,12 @@ export interface SchemaView {
|
|
|
16
24
|
readonly 'account.payment.term': AccountPaymentTerm;
|
|
17
25
|
readonly 'account.payment.term.line': AccountPaymentTermLine;
|
|
18
26
|
readonly 'account.payment.withholding': AccountPaymentWithholding;
|
|
27
|
+
readonly 'account.reconcile.rule': AccountReconcileRule;
|
|
19
28
|
readonly 'account.tax': AccountTax;
|
|
20
29
|
readonly 'account.tax.component': AccountTaxComponent;
|
|
21
30
|
readonly 'account.withholding': AccountWithholding;
|
|
22
31
|
readonly 'approval.delegation': ApprovalDelegation;
|
|
32
|
+
readonly 'approval.event': ApprovalEvent;
|
|
23
33
|
readonly 'approval.level': ApprovalLevel;
|
|
24
34
|
readonly 'approval.link': ApprovalLink;
|
|
25
35
|
readonly 'approval.policy': ApprovalPolicy;
|
|
@@ -46,10 +56,33 @@ export interface SchemaView {
|
|
|
46
56
|
readonly 'oauth.code': OauthCode;
|
|
47
57
|
readonly 'oauth.grant': OauthGrant;
|
|
48
58
|
readonly 'oauth.token': OauthToken;
|
|
59
|
+
readonly 'product.attribute': ProductAttribute;
|
|
60
|
+
readonly 'product.attribute.value': ProductAttributeValue;
|
|
49
61
|
readonly 'product.category': ProductCategory;
|
|
62
|
+
readonly 'product.pricelist': ProductPricelist;
|
|
63
|
+
readonly 'product.pricelist.rule': ProductPricelistRule;
|
|
50
64
|
readonly 'product.product': ProductProduct;
|
|
65
|
+
readonly 'product.template': ProductTemplate;
|
|
66
|
+
readonly 'product.template.exclusion': ProductTemplateExclusion;
|
|
67
|
+
readonly 'product.template.line': ProductTemplateLine;
|
|
68
|
+
readonly 'product.vendor.price': ProductVendorPrice;
|
|
69
|
+
readonly 'purchase.agreement': PurchaseAgreement;
|
|
70
|
+
readonly 'purchase.agreement.line': PurchaseAgreementLine;
|
|
71
|
+
readonly 'purchase.comparison': PurchaseComparison;
|
|
72
|
+
readonly 'purchase.comparison.line': PurchaseComparisonLine;
|
|
51
73
|
readonly 'purchase.order': PurchaseOrder;
|
|
52
74
|
readonly 'purchase.order.line': PurchaseOrderLine;
|
|
75
|
+
readonly 'purchase.request': PurchaseRequest;
|
|
76
|
+
readonly 'purchase.request.line': PurchaseRequestLine;
|
|
77
|
+
readonly 'purchase.technical.comparison': PurchaseTechnicalComparison;
|
|
78
|
+
readonly 'purchase.technical.comparison.line': PurchaseTechnicalComparisonLine;
|
|
79
|
+
readonly 'purchase.tender': PurchaseTender;
|
|
80
|
+
readonly 'purchase.tender.line': PurchaseTenderLine;
|
|
81
|
+
readonly 'purchase.tender.response': PurchaseTenderResponse;
|
|
82
|
+
readonly 'purchase.tender.response.line': PurchaseTenderResponseLine;
|
|
83
|
+
readonly 'purchase.vendor.request': PurchaseVendorRequest;
|
|
84
|
+
readonly 'purchase.work.acceptance': PurchaseWorkAcceptance;
|
|
85
|
+
readonly 'purchase.work.acceptance.line': PurchaseWorkAcceptanceLine;
|
|
53
86
|
readonly 'report.dashboard': ReportDashboard;
|
|
54
87
|
readonly 'report.output': ReportOutput;
|
|
55
88
|
readonly 'report.schedule': ReportSchedule;
|
|
@@ -61,6 +94,7 @@ export interface SchemaView {
|
|
|
61
94
|
readonly 'res.currency.rate': ResCurrencyRate;
|
|
62
95
|
readonly 'res.partner': ResPartner;
|
|
63
96
|
readonly 'res.partner.tag': ResPartnerTag;
|
|
97
|
+
readonly 'res.segment': ResSegment;
|
|
64
98
|
readonly 'res.users': ResUsers;
|
|
65
99
|
readonly 'storage.attachment': StorageAttachment;
|
|
66
100
|
readonly 'uom.uom': UomUom;
|
|
@@ -116,6 +150,134 @@ export interface AccountAnalytic {
|
|
|
116
150
|
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
117
151
|
}
|
|
118
152
|
|
|
153
|
+
/** `account.bank.statement` (owner: accounting). */
|
|
154
|
+
export interface AccountBankStatement {
|
|
155
|
+
readonly name: 'account.bank.statement';
|
|
156
|
+
readonly fields: {
|
|
157
|
+
readonly id: F.Id<'account.bank.statement'>;
|
|
158
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
159
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
160
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
161
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
162
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
163
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
164
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
165
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
166
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
167
|
+
readonly balanceStart: F.Decimal<{ readonly default: true }>;
|
|
168
|
+
readonly balanceEnd: F.Decimal<{ readonly default: true }>;
|
|
169
|
+
readonly lines: F.One2many<'account.bank.statement.line', { readonly required: true }>;
|
|
170
|
+
readonly state: F.State<'open' | 'done', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
171
|
+
};
|
|
172
|
+
readonly methods: AccountBankStatementMethods;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/** Methods of `account.bank.statement`: declared ones and transitions. */
|
|
176
|
+
export interface AccountBankStatementMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement'> {
|
|
177
|
+
readonly 'close': () => Promise<void>;
|
|
178
|
+
readonly 'reopen': () => Promise<void>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/** `account.bank.statement.line` (owner: accounting). */
|
|
182
|
+
export interface AccountBankStatementLine {
|
|
183
|
+
readonly name: 'account.bank.statement.line';
|
|
184
|
+
readonly fields: {
|
|
185
|
+
readonly id: F.Id<'account.bank.statement.line'>;
|
|
186
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
187
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
188
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
189
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
190
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
191
|
+
readonly statement: F.Many2one<'account.bank.statement', { readonly required: true }>;
|
|
192
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
193
|
+
readonly label: F.Char<{ readonly required: true }>;
|
|
194
|
+
readonly reference: F.Char;
|
|
195
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
196
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
197
|
+
readonly uniqueKey: F.Char;
|
|
198
|
+
readonly payment: F.Many2one<'account.payment'>;
|
|
199
|
+
readonly move: F.Many2one<'account.move'>;
|
|
200
|
+
readonly rule: F.Many2one<'account.reconcile.rule'>;
|
|
201
|
+
readonly state: F.Selection<'open' | 'matched', { readonly required: true; readonly default: true }>;
|
|
202
|
+
};
|
|
203
|
+
readonly methods: AccountBankStatementLineMethods;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Methods of `account.bank.statement.line`: declared ones and transitions. */
|
|
207
|
+
export interface AccountBankStatementLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.bank.statement.line'> {
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/** `account.fiscal.position` (owner: accounting). */
|
|
211
|
+
export interface AccountFiscalPosition {
|
|
212
|
+
readonly name: 'account.fiscal.position';
|
|
213
|
+
readonly fields: {
|
|
214
|
+
readonly id: F.Id<'account.fiscal.position'>;
|
|
215
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
216
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
217
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
218
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
219
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
220
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
221
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
222
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
223
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
224
|
+
readonly autoApply: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
225
|
+
readonly countries: F.Char;
|
|
226
|
+
readonly states: F.Char;
|
|
227
|
+
readonly vatRequired: F.Selection<'any' | 'with' | 'without', { readonly required: true; readonly default: true }>;
|
|
228
|
+
readonly note: F.Text<{ readonly translate: true }>;
|
|
229
|
+
readonly taxes: F.One2many<'account.fiscal.position.tax', { readonly required: true }>;
|
|
230
|
+
readonly accounts: F.One2many<'account.fiscal.position.account', { readonly required: true }>;
|
|
231
|
+
};
|
|
232
|
+
readonly methods: AccountFiscalPositionMethods;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/** Methods of `account.fiscal.position`: declared ones and transitions. */
|
|
236
|
+
export interface AccountFiscalPositionMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position'> {
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/** `account.fiscal.position.account` (owner: accounting). */
|
|
240
|
+
export interface AccountFiscalPositionAccount {
|
|
241
|
+
readonly name: 'account.fiscal.position.account';
|
|
242
|
+
readonly fields: {
|
|
243
|
+
readonly id: F.Id<'account.fiscal.position.account'>;
|
|
244
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
245
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
246
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
247
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
248
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
249
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
250
|
+
readonly accountSrc: F.Many2one<'account.account', { readonly required: true }>;
|
|
251
|
+
readonly accountDest: F.Many2one<'account.account', { readonly required: true }>;
|
|
252
|
+
};
|
|
253
|
+
readonly methods: AccountFiscalPositionAccountMethods;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/** Methods of `account.fiscal.position.account`: declared ones and transitions. */
|
|
257
|
+
export interface AccountFiscalPositionAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.account'> {
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** `account.fiscal.position.tax` (owner: accounting). */
|
|
261
|
+
export interface AccountFiscalPositionTax {
|
|
262
|
+
readonly name: 'account.fiscal.position.tax';
|
|
263
|
+
readonly fields: {
|
|
264
|
+
readonly id: F.Id<'account.fiscal.position.tax'>;
|
|
265
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
266
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
267
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
268
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
269
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
270
|
+
readonly position: F.Many2one<'account.fiscal.position', { readonly required: true }>;
|
|
271
|
+
readonly taxSrc: F.Many2one<'account.tax', { readonly required: true }>;
|
|
272
|
+
readonly taxDest: F.Many2one<'account.tax'>;
|
|
273
|
+
};
|
|
274
|
+
readonly methods: AccountFiscalPositionTaxMethods;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/** Methods of `account.fiscal.position.tax`: declared ones and transitions. */
|
|
278
|
+
export interface AccountFiscalPositionTaxMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.position.tax'> {
|
|
279
|
+
}
|
|
280
|
+
|
|
119
281
|
/** `account.fiscal.year` (owner: accounting). */
|
|
120
282
|
export interface AccountFiscalYear {
|
|
121
283
|
readonly name: 'account.fiscal.year';
|
|
@@ -142,6 +304,84 @@ export interface AccountFiscalYear {
|
|
|
142
304
|
export interface AccountFiscalYearMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.year'> {
|
|
143
305
|
}
|
|
144
306
|
|
|
307
|
+
/** `account.followup` (owner: accounting). */
|
|
308
|
+
export interface AccountFollowup {
|
|
309
|
+
readonly name: 'account.followup';
|
|
310
|
+
readonly fields: {
|
|
311
|
+
readonly id: F.Id<'account.followup'>;
|
|
312
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
313
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
314
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
315
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
316
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
317
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
318
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
319
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
320
|
+
readonly sentAt: F.Datetime;
|
|
321
|
+
readonly pausedUntil: F.DateOnly;
|
|
322
|
+
readonly pauseNote: F.Char;
|
|
323
|
+
};
|
|
324
|
+
readonly methods: AccountFollowupMethods;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/** Methods of `account.followup`: declared ones and transitions. */
|
|
328
|
+
export interface AccountFollowupMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup'> {
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** `account.followup.level` (owner: accounting). */
|
|
332
|
+
export interface AccountFollowupLevel {
|
|
333
|
+
readonly name: 'account.followup.level';
|
|
334
|
+
readonly fields: {
|
|
335
|
+
readonly id: F.Id<'account.followup.level'>;
|
|
336
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
337
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
338
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
339
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
340
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
341
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
342
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
343
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
344
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
345
|
+
readonly sendEmail: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
346
|
+
readonly sendSms: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
347
|
+
readonly sendWhatsapp: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
348
|
+
readonly subject: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
349
|
+
readonly body: F.Text<{ readonly required: true; readonly translate: true }>;
|
|
350
|
+
readonly shortText: F.Char<{ readonly translate: true }>;
|
|
351
|
+
readonly blockSales: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
352
|
+
};
|
|
353
|
+
readonly methods: AccountFollowupLevelMethods;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** Methods of `account.followup.level`: declared ones and transitions. */
|
|
357
|
+
export interface AccountFollowupLevelMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.level'> {
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** `account.followup.sent` (owner: accounting). */
|
|
361
|
+
export interface AccountFollowupSent {
|
|
362
|
+
readonly name: 'account.followup.sent';
|
|
363
|
+
readonly fields: {
|
|
364
|
+
readonly id: F.Id<'account.followup.sent'>;
|
|
365
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
366
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
367
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
368
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
369
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
370
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
371
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
372
|
+
readonly level: F.Many2one<'account.followup.level'>;
|
|
373
|
+
readonly amount: F.Char;
|
|
374
|
+
readonly invoices: F.Many2many<'account.move', { readonly required: true }>;
|
|
375
|
+
readonly channels: F.Char;
|
|
376
|
+
readonly automatic: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
377
|
+
};
|
|
378
|
+
readonly methods: AccountFollowupSentMethods;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/** Methods of `account.followup.sent`: declared ones and transitions. */
|
|
382
|
+
export interface AccountFollowupSentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.followup.sent'> {
|
|
383
|
+
}
|
|
384
|
+
|
|
145
385
|
/** `account.full.reconcile` (owner: accounting). */
|
|
146
386
|
export interface AccountFullReconcile {
|
|
147
387
|
readonly name: 'account.full.reconcile';
|
|
@@ -179,6 +419,8 @@ export interface AccountJournal {
|
|
|
179
419
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
180
420
|
readonly type: F.Selection<'sale' | 'purchase' | 'cash' | 'bank' | 'general', { readonly required: true; readonly default: true }>;
|
|
181
421
|
readonly defaultAccount: F.Many2one<'account.account'>;
|
|
422
|
+
readonly bankFeed: F.Char;
|
|
423
|
+
readonly bankFeedCursor: F.Char;
|
|
182
424
|
};
|
|
183
425
|
readonly methods: AccountJournalMethods;
|
|
184
426
|
}
|
|
@@ -220,6 +462,7 @@ export interface AccountMove {
|
|
|
220
462
|
readonly dateDue: F.DateOnly;
|
|
221
463
|
readonly paymentDetails: F.Text<{ readonly readonly: true; readonly compute: true }>;
|
|
222
464
|
readonly paymentTerm: F.Many2one<'account.payment.term'>;
|
|
465
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>;
|
|
223
466
|
readonly invoiceOrigin: F.Char;
|
|
224
467
|
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
225
468
|
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
@@ -248,7 +491,7 @@ export interface AccountMoveMethods extends F.Methods<typeof import('../../accou
|
|
|
248
491
|
readonly 'submit': () => Promise<void>;
|
|
249
492
|
}
|
|
250
493
|
|
|
251
|
-
/** `account.move.line` (owner: accounting). */
|
|
494
|
+
/** `account.move.line` (owner: accounting; extended by: purchase_account). */
|
|
252
495
|
export interface AccountMoveLine {
|
|
253
496
|
readonly name: 'account.move.line';
|
|
254
497
|
readonly fields: {
|
|
@@ -294,12 +537,14 @@ export interface AccountMoveLine {
|
|
|
294
537
|
readonly amountResidual: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
295
538
|
readonly amountResidualCurrency: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
296
539
|
readonly reconciled: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
540
|
+
readonly purchaseLine: F.Many2one<'purchase.order.line'>; // purchase_account
|
|
541
|
+
readonly matchNote: F.Char<{ readonly readonly: true; readonly compute: true }>; // purchase_account
|
|
297
542
|
};
|
|
298
543
|
readonly methods: AccountMoveLineMethods;
|
|
299
544
|
}
|
|
300
545
|
|
|
301
546
|
/** Methods of `account.move.line`: declared ones and transitions. */
|
|
302
|
-
export interface AccountMoveLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move.line'> {
|
|
547
|
+
export interface AccountMoveLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move.line'>, F.Methods<typeof import('../module.js').purchaseAccountShutro, 'account.move.line'> {
|
|
303
548
|
}
|
|
304
549
|
|
|
305
550
|
/** `account.partial.reconcile` (owner: accounting). */
|
|
@@ -428,6 +673,38 @@ export interface AccountPaymentWithholding {
|
|
|
428
673
|
export interface AccountPaymentWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.withholding'> {
|
|
429
674
|
}
|
|
430
675
|
|
|
676
|
+
/** `account.reconcile.rule` (owner: accounting). */
|
|
677
|
+
export interface AccountReconcileRule {
|
|
678
|
+
readonly name: 'account.reconcile.rule';
|
|
679
|
+
readonly fields: {
|
|
680
|
+
readonly id: F.Id<'account.reconcile.rule'>;
|
|
681
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
682
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
683
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
684
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
685
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
686
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
687
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
688
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
689
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
690
|
+
readonly journals: F.Many2many<'account.journal', { readonly required: true }>;
|
|
691
|
+
readonly labelContains: F.Char;
|
|
692
|
+
readonly direction: F.Selection<'both' | 'in' | 'out', { readonly required: true; readonly default: true }>;
|
|
693
|
+
readonly amountMin: F.Decimal;
|
|
694
|
+
readonly amountMax: F.Decimal;
|
|
695
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
696
|
+
readonly outcome: F.Selection<'match' | 'write_off' | 'suggest', { readonly required: true; readonly default: true }>;
|
|
697
|
+
readonly writeOffAccount: F.Many2one<'account.account'>;
|
|
698
|
+
readonly writeOffLabel: F.Char;
|
|
699
|
+
readonly hits: F.Integer<{ readonly default: true }>;
|
|
700
|
+
};
|
|
701
|
+
readonly methods: AccountReconcileRuleMethods;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** Methods of `account.reconcile.rule`: declared ones and transitions. */
|
|
705
|
+
export interface AccountReconcileRuleMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.reconcile.rule'> {
|
|
706
|
+
}
|
|
707
|
+
|
|
431
708
|
/** `account.tax` (owner: product; extended by: accounting). */
|
|
432
709
|
export interface AccountTax {
|
|
433
710
|
readonly name: 'account.tax';
|
|
@@ -537,6 +814,29 @@ export interface ApprovalDelegation {
|
|
|
537
814
|
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
538
815
|
}
|
|
539
816
|
|
|
817
|
+
/** `approval.event` (owner: permissions). */
|
|
818
|
+
export interface ApprovalEvent {
|
|
819
|
+
readonly name: 'approval.event';
|
|
820
|
+
readonly fields: {
|
|
821
|
+
readonly id: F.Id<'approval.event'>;
|
|
822
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
823
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
824
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
825
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
826
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
827
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
828
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
829
|
+
readonly user: F.Many2one<'res.users'>;
|
|
830
|
+
readonly kind: F.Selection<'created' | 'started' | 'voted' | 'approved' | 'rejected' | 'sent_back' | 'cancelled' | 'skipped' | 'reminded' | 'escalated' | 'auto' | 'reassigned' | 'synced' | 'notified', { readonly required: true }>;
|
|
831
|
+
readonly note: F.Text;
|
|
832
|
+
};
|
|
833
|
+
readonly methods: ApprovalEventMethods;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/** Methods of `approval.event`: declared ones and transitions. */
|
|
837
|
+
export interface ApprovalEventMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.event'> {
|
|
838
|
+
}
|
|
839
|
+
|
|
540
840
|
/** `approval.level` (owner: permissions). */
|
|
541
841
|
export interface ApprovalLevel {
|
|
542
842
|
readonly name: 'approval.level';
|
|
@@ -551,7 +851,9 @@ export interface ApprovalLevel {
|
|
|
551
851
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
552
852
|
readonly name: F.Char<{ readonly required: true }>;
|
|
553
853
|
readonly condition: F.Json;
|
|
554
|
-
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'field', { readonly required: true; readonly default: true }>;
|
|
854
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'department_head' | 'department_approvers' | 'employee' | 'field' | 'record', { readonly required: true; readonly default: true }>;
|
|
855
|
+
readonly extraUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
856
|
+
readonly backupUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
555
857
|
readonly approverRole: F.Char;
|
|
556
858
|
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
557
859
|
readonly approverField: F.Char;
|
|
@@ -605,11 +907,18 @@ export interface ApprovalPolicy {
|
|
|
605
907
|
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
606
908
|
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
607
909
|
readonly company: F.Many2one<'res.company'>;
|
|
910
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
911
|
+
readonly segment: F.Many2one<'res.segment'>;
|
|
608
912
|
readonly onApproved: F.Char;
|
|
609
913
|
readonly onRejected: F.Char;
|
|
610
914
|
readonly onSentBack: F.Char;
|
|
611
915
|
readonly onWithdrawn: F.Char;
|
|
612
916
|
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
917
|
+
readonly condition: F.Json;
|
|
918
|
+
readonly whenNobody: F.Selection<'refuse' | 'admins' | 'skip', { readonly required: true; readonly default: true }>;
|
|
919
|
+
readonly skipDuplicates: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
920
|
+
readonly syncPending: F.Selection<'off' | 'add' | 'replace', { readonly required: true; readonly default: true }>;
|
|
921
|
+
readonly notifyOnSync: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
613
922
|
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
614
923
|
};
|
|
615
924
|
readonly methods: ApprovalPolicyMethods;
|
|
@@ -638,6 +947,7 @@ export interface ApprovalRequest {
|
|
|
638
947
|
readonly company: F.Many2one<'res.company'>;
|
|
639
948
|
readonly approverRole: F.Char;
|
|
640
949
|
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
950
|
+
readonly backups: F.Many2many<'res.users', { readonly required: true }>;
|
|
641
951
|
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
642
952
|
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
643
953
|
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
@@ -645,6 +955,8 @@ export interface ApprovalRequest {
|
|
|
645
955
|
readonly remindedAt: F.Datetime;
|
|
646
956
|
readonly escalatedTo: F.Char;
|
|
647
957
|
readonly escalatedAt: F.Datetime;
|
|
958
|
+
readonly startedAt: F.Datetime;
|
|
959
|
+
readonly explanation: F.Text;
|
|
648
960
|
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
649
961
|
readonly requestedBy: F.Many2one<'res.users'>;
|
|
650
962
|
readonly decidedBy: F.Many2one<'res.users'>;
|
|
@@ -675,6 +987,8 @@ export interface ApprovalVote {
|
|
|
675
987
|
readonly at: F.Datetime<{ readonly required: true }>;
|
|
676
988
|
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
677
989
|
readonly ip: F.Char;
|
|
990
|
+
readonly auto: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
991
|
+
readonly asBackup: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
678
992
|
};
|
|
679
993
|
readonly methods: ApprovalVoteMethods;
|
|
680
994
|
}
|
|
@@ -1196,7 +1510,54 @@ export interface OauthToken {
|
|
|
1196
1510
|
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
1197
1511
|
}
|
|
1198
1512
|
|
|
1199
|
-
/** `product.
|
|
1513
|
+
/** `product.attribute` (owner: product). */
|
|
1514
|
+
export interface ProductAttribute {
|
|
1515
|
+
readonly name: 'product.attribute';
|
|
1516
|
+
readonly fields: {
|
|
1517
|
+
readonly id: F.Id<'product.attribute'>;
|
|
1518
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1519
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1520
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1521
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1522
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1523
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1524
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1525
|
+
readonly display: F.Selection<'list' | 'radio' | 'swatch' | 'size', { readonly required: true; readonly default: true }>;
|
|
1526
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1527
|
+
readonly values: F.One2many<'product.attribute.value', { readonly required: true }>;
|
|
1528
|
+
};
|
|
1529
|
+
readonly methods: ProductAttributeMethods;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
/** Methods of `product.attribute`: declared ones and transitions. */
|
|
1533
|
+
export interface ProductAttributeMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute'> {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** `product.attribute.value` (owner: product). */
|
|
1537
|
+
export interface ProductAttributeValue {
|
|
1538
|
+
readonly name: 'product.attribute.value';
|
|
1539
|
+
readonly fields: {
|
|
1540
|
+
readonly id: F.Id<'product.attribute.value'>;
|
|
1541
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1542
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1543
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1544
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1545
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1546
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1547
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1548
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1549
|
+
readonly color: F.Char;
|
|
1550
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1551
|
+
readonly extraPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1552
|
+
};
|
|
1553
|
+
readonly methods: ProductAttributeValueMethods;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/** Methods of `product.attribute.value`: declared ones and transitions. */
|
|
1557
|
+
export interface ProductAttributeValueMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.attribute.value'> {
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/** `product.category` (owner: product; extended by: accounting). */
|
|
1200
1561
|
export interface ProductCategory {
|
|
1201
1562
|
readonly name: 'product.category';
|
|
1202
1563
|
readonly fields: {
|
|
@@ -1209,15 +1570,78 @@ export interface ProductCategory {
|
|
|
1209
1570
|
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1210
1571
|
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1211
1572
|
readonly parent: F.Many2one<'product.category'>;
|
|
1573
|
+
readonly approvalUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
1574
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1575
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1212
1576
|
};
|
|
1213
1577
|
readonly methods: ProductCategoryMethods;
|
|
1214
1578
|
}
|
|
1215
1579
|
|
|
1216
1580
|
/** Methods of `product.category`: declared ones and transitions. */
|
|
1217
|
-
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
1581
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.category'> {
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/** `product.pricelist` (owner: product). */
|
|
1585
|
+
export interface ProductPricelist {
|
|
1586
|
+
readonly name: 'product.pricelist';
|
|
1587
|
+
readonly fields: {
|
|
1588
|
+
readonly id: F.Id<'product.pricelist'>;
|
|
1589
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1590
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1591
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1592
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1593
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1594
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1595
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1596
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1597
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1598
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1599
|
+
readonly rules: F.One2many<'product.pricelist.rule', { readonly required: true }>;
|
|
1600
|
+
readonly note: F.Text;
|
|
1601
|
+
};
|
|
1602
|
+
readonly methods: ProductPricelistMethods;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/** Methods of `product.pricelist`: declared ones and transitions. */
|
|
1606
|
+
export interface ProductPricelistMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist'> {
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/** `product.pricelist.rule` (owner: product). */
|
|
1610
|
+
export interface ProductPricelistRule {
|
|
1611
|
+
readonly name: 'product.pricelist.rule';
|
|
1612
|
+
readonly fields: {
|
|
1613
|
+
readonly id: F.Id<'product.pricelist.rule'>;
|
|
1614
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1615
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1616
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1617
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1618
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1619
|
+
readonly pricelist: F.Many2one<'product.pricelist', { readonly required: true }>;
|
|
1620
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1621
|
+
readonly appliesTo: F.Selection<'all' | 'category' | 'product', { readonly required: true; readonly default: true }>;
|
|
1622
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1623
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1624
|
+
readonly minQuantity: F.Decimal<{ readonly default: true }>;
|
|
1625
|
+
readonly dateFrom: F.DateOnly;
|
|
1626
|
+
readonly dateTo: F.DateOnly;
|
|
1627
|
+
readonly compute: F.Selection<'fixed' | 'discount' | 'formula', { readonly required: true; readonly default: true }>;
|
|
1628
|
+
readonly fixedPrice: F.Decimal;
|
|
1629
|
+
readonly base: F.Selection<'list' | 'cost' | 'pricelist', { readonly required: true; readonly default: true }>;
|
|
1630
|
+
readonly basePricelist: F.Many2one<'product.pricelist'>;
|
|
1631
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
1632
|
+
readonly surcharge: F.Decimal<{ readonly default: true }>;
|
|
1633
|
+
readonly rounding: F.Decimal<{ readonly default: true }>;
|
|
1634
|
+
readonly minMargin: F.Decimal;
|
|
1635
|
+
readonly maxMargin: F.Decimal;
|
|
1636
|
+
};
|
|
1637
|
+
readonly methods: ProductPricelistRuleMethods;
|
|
1218
1638
|
}
|
|
1219
1639
|
|
|
1220
|
-
/** `product.
|
|
1640
|
+
/** Methods of `product.pricelist.rule`: declared ones and transitions. */
|
|
1641
|
+
export interface ProductPricelistRuleMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.pricelist.rule'> {
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/** `product.product` (owner: product; extended by: accounting). */
|
|
1221
1645
|
export interface ProductProduct {
|
|
1222
1646
|
readonly name: 'product.product';
|
|
1223
1647
|
readonly fields: {
|
|
@@ -1232,8 +1656,11 @@ export interface ProductProduct {
|
|
|
1232
1656
|
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1233
1657
|
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1234
1658
|
readonly category: F.Many2one<'product.category'>;
|
|
1659
|
+
readonly invoicePolicy: F.Selection<'ordered' | 'delivered', { readonly default: true }>;
|
|
1235
1660
|
readonly uom: F.Many2one<'uom.uom'>;
|
|
1236
1661
|
readonly barcode: F.Char;
|
|
1662
|
+
readonly weight: F.Decimal;
|
|
1663
|
+
readonly volume: F.Decimal;
|
|
1237
1664
|
readonly image: F.Many2one<'storage.attachment'>;
|
|
1238
1665
|
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1239
1666
|
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
@@ -1244,87 +1671,705 @@ export interface ProductProduct {
|
|
|
1244
1671
|
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1245
1672
|
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1246
1673
|
readonly description: F.Text<{ readonly translate: true }>;
|
|
1674
|
+
readonly template: F.Many2one<'product.template'>;
|
|
1675
|
+
readonly attributeValues: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1676
|
+
readonly followsTemplatePrice: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1677
|
+
readonly incomeAccount: F.Many2one<'account.account'>; // accounting
|
|
1678
|
+
readonly expenseAccount: F.Many2one<'account.account'>; // accounting
|
|
1247
1679
|
};
|
|
1248
1680
|
readonly methods: ProductProductMethods;
|
|
1249
1681
|
}
|
|
1250
1682
|
|
|
1251
1683
|
/** Methods of `product.product`: declared ones and transitions. */
|
|
1252
|
-
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'> {
|
|
1684
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'product.product'> {
|
|
1253
1685
|
}
|
|
1254
1686
|
|
|
1255
|
-
/** `
|
|
1256
|
-
export interface
|
|
1257
|
-
readonly name: '
|
|
1687
|
+
/** `product.template` (owner: product). */
|
|
1688
|
+
export interface ProductTemplate {
|
|
1689
|
+
readonly name: 'product.template';
|
|
1258
1690
|
readonly fields: {
|
|
1259
|
-
readonly id: F.Id<'
|
|
1691
|
+
readonly id: F.Id<'product.template'>;
|
|
1260
1692
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1261
1693
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1262
1694
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1263
1695
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1264
1696
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1265
|
-
readonly
|
|
1266
|
-
readonly name: F.Char<{ readonly required: true; readonly
|
|
1267
|
-
readonly
|
|
1268
|
-
readonly
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly
|
|
1271
|
-
readonly
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly
|
|
1274
|
-
readonly
|
|
1275
|
-
readonly
|
|
1276
|
-
readonly
|
|
1277
|
-
readonly
|
|
1278
|
-
readonly
|
|
1279
|
-
readonly
|
|
1280
|
-
readonly
|
|
1281
|
-
readonly
|
|
1697
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1698
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1699
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1700
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1701
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1702
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1703
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1704
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1705
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1706
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1707
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1708
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1709
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1710
|
+
readonly lines: F.One2many<'product.template.line', { readonly required: true }>;
|
|
1711
|
+
readonly exclusions: F.One2many<'product.template.exclusion', { readonly required: true }>;
|
|
1712
|
+
readonly variants: F.One2many<'product.product', { readonly required: true }>;
|
|
1713
|
+
readonly variantCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1714
|
+
readonly state: F.State<'draft' | 'ready', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1282
1715
|
};
|
|
1283
|
-
readonly methods:
|
|
1716
|
+
readonly methods: ProductTemplateMethods;
|
|
1284
1717
|
}
|
|
1285
1718
|
|
|
1286
|
-
/** Methods of `
|
|
1287
|
-
export interface
|
|
1288
|
-
readonly '
|
|
1289
|
-
readonly 'cancel': () => Promise<void>;
|
|
1290
|
-
readonly 'confirm': () => Promise<void>;
|
|
1291
|
-
readonly 'lock': () => Promise<void>;
|
|
1292
|
-
readonly 'redraft': () => Promise<void>;
|
|
1293
|
-
readonly 'reject': () => Promise<void>;
|
|
1294
|
-
readonly 'send': () => Promise<void>;
|
|
1295
|
-
readonly 'submit': () => Promise<void>;
|
|
1296
|
-
readonly 'unlock': () => Promise<void>;
|
|
1719
|
+
/** Methods of `product.template`: declared ones and transitions. */
|
|
1720
|
+
export interface ProductTemplateMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template'> {
|
|
1721
|
+
readonly 'generate': () => Promise<void>;
|
|
1297
1722
|
}
|
|
1298
1723
|
|
|
1299
|
-
/** `
|
|
1300
|
-
export interface
|
|
1301
|
-
readonly name: '
|
|
1724
|
+
/** `product.template.exclusion` (owner: product). */
|
|
1725
|
+
export interface ProductTemplateExclusion {
|
|
1726
|
+
readonly name: 'product.template.exclusion';
|
|
1302
1727
|
readonly fields: {
|
|
1303
|
-
readonly id: F.Id<'
|
|
1728
|
+
readonly id: F.Id<'product.template.exclusion'>;
|
|
1304
1729
|
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1305
1730
|
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1306
1731
|
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1307
1732
|
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1308
1733
|
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1309
|
-
readonly
|
|
1310
|
-
readonly
|
|
1311
|
-
readonly
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1734
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1735
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1736
|
+
readonly note: F.Char;
|
|
1737
|
+
};
|
|
1738
|
+
readonly methods: ProductTemplateExclusionMethods;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
/** Methods of `product.template.exclusion`: declared ones and transitions. */
|
|
1742
|
+
export interface ProductTemplateExclusionMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.exclusion'> {
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
/** `product.template.line` (owner: product). */
|
|
1746
|
+
export interface ProductTemplateLine {
|
|
1747
|
+
readonly name: 'product.template.line';
|
|
1748
|
+
readonly fields: {
|
|
1749
|
+
readonly id: F.Id<'product.template.line'>;
|
|
1750
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1751
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1752
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1753
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1754
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1755
|
+
readonly template: F.Many2one<'product.template', { readonly required: true }>;
|
|
1756
|
+
readonly attribute: F.Many2one<'product.attribute', { readonly required: true }>;
|
|
1757
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1758
|
+
readonly values: F.Many2many<'product.attribute.value', { readonly required: true }>;
|
|
1759
|
+
};
|
|
1760
|
+
readonly methods: ProductTemplateLineMethods;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
/** Methods of `product.template.line`: declared ones and transitions. */
|
|
1764
|
+
export interface ProductTemplateLineMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.template.line'> {
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/** `product.vendor.price` (owner: purchase). */
|
|
1768
|
+
export interface ProductVendorPrice {
|
|
1769
|
+
readonly name: 'product.vendor.price';
|
|
1770
|
+
readonly fields: {
|
|
1771
|
+
readonly id: F.Id<'product.vendor.price'>;
|
|
1772
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1773
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1774
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1775
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1776
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1777
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1778
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
1779
|
+
readonly vendor: F.Many2one<'res.partner', { readonly required: true }>;
|
|
1780
|
+
readonly product: F.Many2one<'product.product'>;
|
|
1781
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1782
|
+
readonly vendorCode: F.Char;
|
|
1783
|
+
readonly vendorName: F.Char;
|
|
1784
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1785
|
+
readonly minQuantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1786
|
+
readonly price: F.Decimal<{ readonly required: true }>;
|
|
1787
|
+
readonly dateFrom: F.DateOnly;
|
|
1788
|
+
readonly dateTo: F.DateOnly;
|
|
1789
|
+
readonly leadDays: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1790
|
+
readonly preferred: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1791
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1792
|
+
};
|
|
1793
|
+
readonly methods: ProductVendorPriceMethods;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/** Methods of `product.vendor.price`: declared ones and transitions. */
|
|
1797
|
+
export interface ProductVendorPriceMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'product.vendor.price'> {
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/** `purchase.agreement` (owner: purchase). */
|
|
1801
|
+
export interface PurchaseAgreement {
|
|
1802
|
+
readonly name: 'purchase.agreement';
|
|
1803
|
+
readonly fields: {
|
|
1804
|
+
readonly id: F.Id<'purchase.agreement'>;
|
|
1805
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1806
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1807
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1808
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1809
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1810
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1811
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1812
|
+
readonly vendor: F.Many2one<'res.partner', { readonly required: true }>;
|
|
1813
|
+
readonly buyer: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
1814
|
+
readonly kind: F.Selection<'blanket' | 'contract', { readonly required: true; readonly default: true }>;
|
|
1815
|
+
readonly reference: F.Char;
|
|
1816
|
+
readonly dateStart: F.DateOnly;
|
|
1817
|
+
readonly dateEnd: F.DateOnly;
|
|
1818
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
1819
|
+
readonly note: F.Text;
|
|
1820
|
+
readonly lines: F.One2many<'purchase.agreement.line', { readonly required: true }>;
|
|
1821
|
+
readonly orders: F.One2many<'purchase.order', { readonly required: true }>;
|
|
1822
|
+
readonly state: F.State<'draft' | 'confirmed' | 'closed' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1823
|
+
};
|
|
1824
|
+
readonly methods: PurchaseAgreementMethods;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/** Methods of `purchase.agreement`: declared ones and transitions. */
|
|
1828
|
+
export interface PurchaseAgreementMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.agreement'> {
|
|
1829
|
+
readonly 'cancel': () => Promise<void>;
|
|
1830
|
+
readonly 'close': () => Promise<void>;
|
|
1831
|
+
readonly 'confirm': () => Promise<void>;
|
|
1832
|
+
readonly 'redraft': () => Promise<void>;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
/** `purchase.agreement.line` (owner: purchase). */
|
|
1836
|
+
export interface PurchaseAgreementLine {
|
|
1837
|
+
readonly name: 'purchase.agreement.line';
|
|
1838
|
+
readonly fields: {
|
|
1839
|
+
readonly id: F.Id<'purchase.agreement.line'>;
|
|
1840
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1841
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1842
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1843
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1844
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1845
|
+
readonly agreement: F.Many2one<'purchase.agreement', { readonly required: true }>;
|
|
1846
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1847
|
+
readonly name: F.Char;
|
|
1848
|
+
readonly quantity: F.Decimal;
|
|
1849
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1850
|
+
readonly priceUnit: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1851
|
+
readonly qtyOrdered: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1852
|
+
};
|
|
1853
|
+
readonly methods: PurchaseAgreementLineMethods;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
/** Methods of `purchase.agreement.line`: declared ones and transitions. */
|
|
1857
|
+
export interface PurchaseAgreementLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.agreement.line'> {
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/** `purchase.comparison` (owner: purchase). */
|
|
1861
|
+
export interface PurchaseComparison {
|
|
1862
|
+
readonly name: 'purchase.comparison';
|
|
1863
|
+
readonly fields: {
|
|
1864
|
+
readonly id: F.Id<'purchase.comparison'>;
|
|
1865
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1866
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1867
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1868
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1869
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1870
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1871
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1872
|
+
readonly tender: F.Many2one<'purchase.tender', { readonly required: true }>;
|
|
1873
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1874
|
+
readonly expiryDate: F.DateOnly;
|
|
1875
|
+
readonly dateDelivery: F.DateOnly;
|
|
1876
|
+
readonly multiVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1877
|
+
readonly note: F.Text;
|
|
1878
|
+
readonly lines: F.One2many<'purchase.comparison.line', { readonly required: true }>;
|
|
1879
|
+
readonly amountTotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1880
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'confirmed' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1881
|
+
};
|
|
1882
|
+
readonly methods: PurchaseComparisonMethods;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
/** Methods of `purchase.comparison`: declared ones and transitions. */
|
|
1886
|
+
export interface PurchaseComparisonMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.comparison'> {
|
|
1887
|
+
readonly 'approve': () => Promise<void>;
|
|
1888
|
+
readonly 'cancel': () => Promise<void>;
|
|
1889
|
+
readonly 'confirm': () => Promise<void>;
|
|
1890
|
+
readonly 'fill': () => Promise<void>;
|
|
1891
|
+
readonly 'redraft': () => Promise<void>;
|
|
1892
|
+
readonly 'reject': () => Promise<void>;
|
|
1893
|
+
readonly 'submit': () => Promise<void>;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
/** `purchase.comparison.line` (owner: purchase). */
|
|
1897
|
+
export interface PurchaseComparisonLine {
|
|
1898
|
+
readonly name: 'purchase.comparison.line';
|
|
1899
|
+
readonly fields: {
|
|
1900
|
+
readonly id: F.Id<'purchase.comparison.line'>;
|
|
1901
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1902
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1903
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1904
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1905
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1906
|
+
readonly comparison: F.Many2one<'purchase.comparison', { readonly required: true }>;
|
|
1907
|
+
readonly tenderLine: F.Many2one<'purchase.tender.line', { readonly required: true }>;
|
|
1908
|
+
readonly response: F.Many2one<'purchase.tender.response', { readonly required: true }>;
|
|
1909
|
+
readonly csQty: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1910
|
+
readonly quote: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1911
|
+
readonly nego1: F.Decimal;
|
|
1912
|
+
readonly nego2: F.Decimal;
|
|
1913
|
+
readonly finalPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1914
|
+
readonly total: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1915
|
+
readonly selected: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1916
|
+
readonly lowest: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
1917
|
+
};
|
|
1918
|
+
readonly methods: PurchaseComparisonLineMethods;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
/** Methods of `purchase.comparison.line`: declared ones and transitions. */
|
|
1922
|
+
export interface PurchaseComparisonLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.comparison.line'> {
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/** `purchase.order` (owner: purchase; extended by: purchase_account). */
|
|
1926
|
+
export interface PurchaseOrder {
|
|
1927
|
+
readonly name: 'purchase.order';
|
|
1928
|
+
readonly fields: {
|
|
1929
|
+
readonly id: F.Id<'purchase.order'>;
|
|
1930
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1931
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1932
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1933
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1934
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1935
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1936
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1937
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
1938
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
1939
|
+
readonly partnerReference: F.Char;
|
|
1940
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
1941
|
+
readonly dateOrder: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
1942
|
+
readonly datePlanned: F.DateOnly;
|
|
1943
|
+
readonly origin: F.Char;
|
|
1944
|
+
readonly note: F.Text;
|
|
1945
|
+
readonly poType: F.Selection<'general' | 'service' | 'capital', { readonly required: true; readonly default: true }>;
|
|
1946
|
+
readonly sourcing: F.Selection<'local' | 'import', { readonly required: true; readonly default: true }>;
|
|
1947
|
+
readonly advancePercent: F.Decimal<{ readonly default: true }>;
|
|
1948
|
+
readonly agreement: F.Many2one<'purchase.agreement'>;
|
|
1949
|
+
readonly acceptances: F.One2many<'purchase.work.acceptance', { readonly required: true }>;
|
|
1950
|
+
readonly acceptanceCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1951
|
+
readonly lines: F.One2many<'purchase.order.line', { readonly required: true }>;
|
|
1952
|
+
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1953
|
+
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1954
|
+
readonly amountTotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1955
|
+
readonly state: F.State<'draft' | 'sent' | 'to_approve' | 'purchase' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1956
|
+
readonly bills: F.One2many<'account.move', { readonly required: true }>; // purchase_account
|
|
1957
|
+
readonly billState: F.Selection<'no' | 'to_bill' | 'billed', { readonly readonly: true; readonly compute: true; readonly store: true }>; // purchase_account
|
|
1958
|
+
};
|
|
1959
|
+
readonly methods: PurchaseOrderMethods;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
/** Methods of `purchase.order`: declared ones and transitions. */
|
|
1963
|
+
export interface PurchaseOrderMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.order'>, F.Methods<typeof import('../module.js').purchaseAccountShutro, 'purchase.order'> {
|
|
1964
|
+
readonly 'bill': () => Promise<void>;
|
|
1965
|
+
readonly 'cancel': () => Promise<void>;
|
|
1966
|
+
readonly 'confirm': () => Promise<void>;
|
|
1967
|
+
readonly 'lock': () => Promise<void>;
|
|
1968
|
+
readonly 'redraft': () => Promise<void>;
|
|
1969
|
+
readonly 'refund': () => Promise<void>;
|
|
1970
|
+
readonly 'reject': () => Promise<void>;
|
|
1971
|
+
readonly 'send': () => Promise<void>;
|
|
1972
|
+
readonly 'submit': () => Promise<void>;
|
|
1973
|
+
readonly 'unlock': () => Promise<void>;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
/** `purchase.order.line` (owner: purchase; extended by: purchase_account, purchase_account). */
|
|
1977
|
+
export interface PurchaseOrderLine {
|
|
1978
|
+
readonly name: 'purchase.order.line';
|
|
1979
|
+
readonly fields: {
|
|
1980
|
+
readonly id: F.Id<'purchase.order.line'>;
|
|
1981
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1982
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1983
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1984
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1985
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1986
|
+
readonly order: F.Many2one<'purchase.order', { readonly required: true }>;
|
|
1987
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
1988
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1989
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1990
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1991
|
+
readonly priceUnit: F.Decimal<{ readonly compute: true; readonly store: true; readonly inverse: true }>;
|
|
1992
|
+
readonly manualPrice: F.Decimal;
|
|
1993
|
+
readonly priceReason: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1994
|
+
readonly vendorCode: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1995
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1996
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1997
|
+
readonly datePlanned: F.DateOnly;
|
|
1998
|
+
readonly acceptanceLines: F.One2many<'purchase.work.acceptance.line', { readonly required: true }>;
|
|
1999
|
+
readonly qtyAccepted: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2000
|
+
readonly requestLine: F.Many2one<'purchase.request.line'>;
|
|
1318
2001
|
readonly currency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1319
2002
|
readonly subtotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1320
2003
|
readonly taxAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1321
2004
|
readonly analytic: F.Many2one<'account.analytic'>; // purchase_account
|
|
2005
|
+
readonly billLines: F.One2many<'account.move.line', { readonly required: true }>; // purchase_account
|
|
2006
|
+
readonly qtyBilled: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // purchase_account
|
|
1322
2007
|
};
|
|
1323
2008
|
readonly methods: PurchaseOrderLineMethods;
|
|
1324
2009
|
}
|
|
1325
2010
|
|
|
1326
2011
|
/** Methods of `purchase.order.line`: declared ones and transitions. */
|
|
1327
|
-
export interface PurchaseOrderLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.order.line'>, F.Methods<typeof import('../module.js').purchaseAccountShutro, 'purchase.order.line'> {
|
|
2012
|
+
export interface PurchaseOrderLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.order.line'>, F.Methods<typeof import('../module.js').purchaseAccountShutro, 'purchase.order.line'>, F.Methods<typeof import('../module.js').purchaseAccountShutro, 'purchase.order.line'> {
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/** `purchase.request` (owner: purchase). */
|
|
2016
|
+
export interface PurchaseRequest {
|
|
2017
|
+
readonly name: 'purchase.request';
|
|
2018
|
+
readonly fields: {
|
|
2019
|
+
readonly id: F.Id<'purchase.request'>;
|
|
2020
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2021
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2022
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2023
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2024
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2025
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2026
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2027
|
+
readonly requester: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
2028
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2029
|
+
readonly dateRequired: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2030
|
+
readonly priority: F.Selection<'normal' | 'high' | 'urgent' | 'critical', { readonly required: true; readonly default: true }>;
|
|
2031
|
+
readonly vendor: F.Many2one<'res.partner'>;
|
|
2032
|
+
readonly purpose: F.Text;
|
|
2033
|
+
readonly lines: F.One2many<'purchase.request.line', { readonly required: true }>;
|
|
2034
|
+
readonly amountEstimate: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2035
|
+
readonly rejectReason: F.Char;
|
|
2036
|
+
readonly state: F.State<'draft' | 'to_approve' | 'approved' | 'done' | 'rejected' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2037
|
+
};
|
|
2038
|
+
readonly methods: PurchaseRequestMethods;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
/** Methods of `purchase.request`: declared ones and transitions. */
|
|
2042
|
+
export interface PurchaseRequestMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.request'> {
|
|
2043
|
+
readonly 'approve': () => Promise<void>;
|
|
2044
|
+
readonly 'cancel': () => Promise<void>;
|
|
2045
|
+
readonly 'close': () => Promise<void>;
|
|
2046
|
+
readonly 'redraft': () => Promise<void>;
|
|
2047
|
+
readonly 'reject': () => Promise<void>;
|
|
2048
|
+
readonly 'rfq': () => Promise<void>;
|
|
2049
|
+
readonly 'submit': () => Promise<void>;
|
|
2050
|
+
readonly 'tender': () => Promise<void>;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
/** `purchase.request.line` (owner: purchase). */
|
|
2054
|
+
export interface PurchaseRequestLine {
|
|
2055
|
+
readonly name: 'purchase.request.line';
|
|
2056
|
+
readonly fields: {
|
|
2057
|
+
readonly id: F.Id<'purchase.request.line'>;
|
|
2058
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2059
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2060
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2061
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2062
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2063
|
+
readonly request: F.Many2one<'purchase.request', { readonly required: true }>;
|
|
2064
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2065
|
+
readonly name: F.Char;
|
|
2066
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
2067
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2068
|
+
readonly qtyApproved: F.Decimal;
|
|
2069
|
+
readonly dateRequired: F.DateOnly;
|
|
2070
|
+
readonly buyers: F.Many2many<'res.users', { readonly required: true }>;
|
|
2071
|
+
readonly purchaseLines: F.One2many<'purchase.order.line', { readonly required: true }>;
|
|
2072
|
+
readonly tenderLines: F.One2many<'purchase.tender.line', { readonly required: true }>;
|
|
2073
|
+
readonly qtyOnRfq: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2074
|
+
readonly qtyOrdered: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2075
|
+
readonly qtyRemaining: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2076
|
+
readonly status: F.Selection<'draft' | 'to_approve' | 'approved' | 'rfq' | 'ordered' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2077
|
+
};
|
|
2078
|
+
readonly methods: PurchaseRequestLineMethods;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
/** Methods of `purchase.request.line`: declared ones and transitions. */
|
|
2082
|
+
export interface PurchaseRequestLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.request.line'> {
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
/** `purchase.technical.comparison` (owner: purchase). */
|
|
2086
|
+
export interface PurchaseTechnicalComparison {
|
|
2087
|
+
readonly name: 'purchase.technical.comparison';
|
|
2088
|
+
readonly fields: {
|
|
2089
|
+
readonly id: F.Id<'purchase.technical.comparison'>;
|
|
2090
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2091
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2092
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2093
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2094
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2095
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2096
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2097
|
+
readonly tender: F.Many2one<'purchase.tender', { readonly required: true }>;
|
|
2098
|
+
readonly engineer: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
2099
|
+
readonly kind: F.Selection<'simple' | 'detailed', { readonly required: true; readonly default: true }>;
|
|
2100
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2101
|
+
readonly remarks: F.Text;
|
|
2102
|
+
readonly lines: F.One2many<'purchase.technical.comparison.line', { readonly required: true }>;
|
|
2103
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'confirmed' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2104
|
+
};
|
|
2105
|
+
readonly methods: PurchaseTechnicalComparisonMethods;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
/** Methods of `purchase.technical.comparison`: declared ones and transitions. */
|
|
2109
|
+
export interface PurchaseTechnicalComparisonMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.technical.comparison'> {
|
|
2110
|
+
readonly 'approve': () => Promise<void>;
|
|
2111
|
+
readonly 'cancel': () => Promise<void>;
|
|
2112
|
+
readonly 'confirm': () => Promise<void>;
|
|
2113
|
+
readonly 'fill': () => Promise<void>;
|
|
2114
|
+
readonly 'redraft': () => Promise<void>;
|
|
2115
|
+
readonly 'submit': () => Promise<void>;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
/** `purchase.technical.comparison.line` (owner: purchase). */
|
|
2119
|
+
export interface PurchaseTechnicalComparisonLine {
|
|
2120
|
+
readonly name: 'purchase.technical.comparison.line';
|
|
2121
|
+
readonly fields: {
|
|
2122
|
+
readonly id: F.Id<'purchase.technical.comparison.line'>;
|
|
2123
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2124
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2125
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2126
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2127
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2128
|
+
readonly comparison: F.Many2one<'purchase.technical.comparison', { readonly required: true }>;
|
|
2129
|
+
readonly response: F.Many2one<'purchase.tender.response', { readonly required: true }>;
|
|
2130
|
+
readonly score: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2131
|
+
readonly meetsSpecifications: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2132
|
+
readonly note: F.Char;
|
|
2133
|
+
};
|
|
2134
|
+
readonly methods: PurchaseTechnicalComparisonLineMethods;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
/** Methods of `purchase.technical.comparison.line`: declared ones and transitions. */
|
|
2138
|
+
export interface PurchaseTechnicalComparisonLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.technical.comparison.line'> {
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/** `purchase.tender` (owner: purchase). */
|
|
2142
|
+
export interface PurchaseTender {
|
|
2143
|
+
readonly name: 'purchase.tender';
|
|
2144
|
+
readonly fields: {
|
|
2145
|
+
readonly id: F.Id<'purchase.tender'>;
|
|
2146
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2147
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2148
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2149
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2150
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2151
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2152
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2153
|
+
readonly buyer: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
2154
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2155
|
+
readonly deadline: F.DateOnly<{ readonly required: true }>;
|
|
2156
|
+
readonly dateDelivery: F.DateOnly;
|
|
2157
|
+
readonly sourcing: F.Selection<'local' | 'import', { readonly required: true; readonly default: true }>;
|
|
2158
|
+
readonly topic: F.Char;
|
|
2159
|
+
readonly vendors: F.Many2many<'res.partner', { readonly required: true }>;
|
|
2160
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
2161
|
+
readonly paymentTerms: F.Char;
|
|
2162
|
+
readonly technical: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2163
|
+
readonly note: F.Text;
|
|
2164
|
+
readonly request: F.Many2one<'purchase.request'>;
|
|
2165
|
+
readonly lines: F.One2many<'purchase.tender.line', { readonly required: true }>;
|
|
2166
|
+
readonly responses: F.One2many<'purchase.tender.response', { readonly required: true }>;
|
|
2167
|
+
readonly responseCount: F.Integer<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2168
|
+
readonly state: F.State<'draft' | 'sent' | 'received' | 'comparing' | 'selected' | 'ordered' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2169
|
+
};
|
|
2170
|
+
readonly methods: PurchaseTenderMethods;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/** Methods of `purchase.tender`: declared ones and transitions. */
|
|
2174
|
+
export interface PurchaseTenderMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.tender'> {
|
|
2175
|
+
readonly 'cancel': () => Promise<void>;
|
|
2176
|
+
readonly 'close': () => Promise<void>;
|
|
2177
|
+
readonly 'compare': () => Promise<void>;
|
|
2178
|
+
readonly 'order': () => Promise<void>;
|
|
2179
|
+
readonly 'redraft': () => Promise<void>;
|
|
2180
|
+
readonly 'select': () => Promise<void>;
|
|
2181
|
+
readonly 'send': () => Promise<void>;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
/** `purchase.tender.line` (owner: purchase). */
|
|
2185
|
+
export interface PurchaseTenderLine {
|
|
2186
|
+
readonly name: 'purchase.tender.line';
|
|
2187
|
+
readonly fields: {
|
|
2188
|
+
readonly id: F.Id<'purchase.tender.line'>;
|
|
2189
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2190
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2191
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2192
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2193
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2194
|
+
readonly tender: F.Many2one<'purchase.tender', { readonly required: true }>;
|
|
2195
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
2196
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2197
|
+
readonly name: F.Char;
|
|
2198
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
2199
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2200
|
+
readonly requestLine: F.Many2one<'purchase.request.line'>;
|
|
2201
|
+
};
|
|
2202
|
+
readonly methods: PurchaseTenderLineMethods;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
/** Methods of `purchase.tender.line`: declared ones and transitions. */
|
|
2206
|
+
export interface PurchaseTenderLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.tender.line'> {
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
/** `purchase.tender.response` (owner: purchase). */
|
|
2210
|
+
export interface PurchaseTenderResponse {
|
|
2211
|
+
readonly name: 'purchase.tender.response';
|
|
2212
|
+
readonly fields: {
|
|
2213
|
+
readonly id: F.Id<'purchase.tender.response'>;
|
|
2214
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2215
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2216
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2217
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2218
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2219
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2220
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2221
|
+
readonly tender: F.Many2one<'purchase.tender', { readonly required: true }>;
|
|
2222
|
+
readonly vendor: F.Many2one<'res.partner', { readonly required: true }>;
|
|
2223
|
+
readonly responseDate: F.Datetime;
|
|
2224
|
+
readonly dateDelivery: F.DateOnly;
|
|
2225
|
+
readonly paymentTerms: F.Char;
|
|
2226
|
+
readonly advancePercent: F.Decimal<{ readonly default: true }>;
|
|
2227
|
+
readonly technicalRank: F.Integer<{ readonly default: true }>;
|
|
2228
|
+
readonly remark: F.Text;
|
|
2229
|
+
readonly lines: F.One2many<'purchase.tender.response.line', { readonly required: true }>;
|
|
2230
|
+
readonly amountTotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2231
|
+
readonly tokenHash: F.Char;
|
|
2232
|
+
readonly tokenExpiresAt: F.Datetime;
|
|
2233
|
+
readonly state: F.State<'invited' | 'quoted' | 'submitted' | 'not_responded' | 'rejected', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2234
|
+
};
|
|
2235
|
+
readonly methods: PurchaseTenderResponseMethods;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
/** Methods of `purchase.tender.response`: declared ones and transitions. */
|
|
2239
|
+
export interface PurchaseTenderResponseMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.tender.response'> {
|
|
2240
|
+
readonly 'quote': () => Promise<void>;
|
|
2241
|
+
readonly 'reject': () => Promise<void>;
|
|
2242
|
+
readonly 'reopen': () => Promise<void>;
|
|
2243
|
+
readonly 'submit': () => Promise<void>;
|
|
2244
|
+
readonly 'unanswered': () => Promise<void>;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
/** `purchase.tender.response.line` (owner: purchase). */
|
|
2248
|
+
export interface PurchaseTenderResponseLine {
|
|
2249
|
+
readonly name: 'purchase.tender.response.line';
|
|
2250
|
+
readonly fields: {
|
|
2251
|
+
readonly id: F.Id<'purchase.tender.response.line'>;
|
|
2252
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2253
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2254
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2255
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2256
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2257
|
+
readonly response: F.Many2one<'purchase.tender.response', { readonly required: true }>;
|
|
2258
|
+
readonly tenderLine: F.Many2one<'purchase.tender.line', { readonly required: true }>;
|
|
2259
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2260
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2261
|
+
readonly priceUnit: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2262
|
+
readonly subtotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2263
|
+
readonly note: F.Char;
|
|
2264
|
+
};
|
|
2265
|
+
readonly methods: PurchaseTenderResponseLineMethods;
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
/** Methods of `purchase.tender.response.line`: declared ones and transitions. */
|
|
2269
|
+
export interface PurchaseTenderResponseLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.tender.response.line'> {
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
/** `purchase.vendor.request` (owner: purchase). */
|
|
2273
|
+
export interface PurchaseVendorRequest {
|
|
2274
|
+
readonly name: 'purchase.vendor.request';
|
|
2275
|
+
readonly fields: {
|
|
2276
|
+
readonly id: F.Id<'purchase.vendor.request'>;
|
|
2277
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2278
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2279
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2280
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2281
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2282
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2283
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2284
|
+
readonly kind: F.Selection<'vendor' | 'contractor' | 'service', { readonly required: true; readonly default: true }>;
|
|
2285
|
+
readonly street: F.Char;
|
|
2286
|
+
readonly street2: F.Char;
|
|
2287
|
+
readonly city: F.Char;
|
|
2288
|
+
readonly zip: F.Char;
|
|
2289
|
+
readonly country: F.Char<{ readonly default: true }>;
|
|
2290
|
+
readonly nid: F.Char;
|
|
2291
|
+
readonly tradeLicense: F.Char;
|
|
2292
|
+
readonly proprietorName: F.Char;
|
|
2293
|
+
readonly proprietorMobile: F.Char;
|
|
2294
|
+
readonly email: F.Char;
|
|
2295
|
+
readonly phone: F.Char;
|
|
2296
|
+
readonly requester: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
2297
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2298
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
2299
|
+
readonly rejectReason: F.Char;
|
|
2300
|
+
readonly note: F.Text;
|
|
2301
|
+
readonly state: F.State<'draft' | 'to_approve' | 'approved' | 'rejected', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2302
|
+
};
|
|
2303
|
+
readonly methods: PurchaseVendorRequestMethods;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
/** Methods of `purchase.vendor.request`: declared ones and transitions. */
|
|
2307
|
+
export interface PurchaseVendorRequestMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.vendor.request'> {
|
|
2308
|
+
readonly 'approve': () => Promise<void>;
|
|
2309
|
+
readonly 'redraft': () => Promise<void>;
|
|
2310
|
+
readonly 'reject': () => Promise<void>;
|
|
2311
|
+
readonly 'submit': () => Promise<void>;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
/** `purchase.work.acceptance` (owner: purchase). */
|
|
2315
|
+
export interface PurchaseWorkAcceptance {
|
|
2316
|
+
readonly name: 'purchase.work.acceptance';
|
|
2317
|
+
readonly fields: {
|
|
2318
|
+
readonly id: F.Id<'purchase.work.acceptance'>;
|
|
2319
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2320
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2321
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2322
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2323
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2324
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2325
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
2326
|
+
readonly vendor: F.Many2one<'res.partner', { readonly required: true }>;
|
|
2327
|
+
readonly order: F.Many2one<'purchase.order', { readonly required: true }>;
|
|
2328
|
+
readonly responsible: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
2329
|
+
readonly invoiceReference: F.Char;
|
|
2330
|
+
readonly dueDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2331
|
+
readonly acceptedOn: F.DateOnly;
|
|
2332
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
2333
|
+
readonly note: F.Text;
|
|
2334
|
+
readonly lines: F.One2many<'purchase.work.acceptance.line', { readonly required: true }>;
|
|
2335
|
+
readonly amountTotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2336
|
+
readonly state: F.State<'draft' | 'accepted' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
2337
|
+
};
|
|
2338
|
+
readonly methods: PurchaseWorkAcceptanceMethods;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/** Methods of `purchase.work.acceptance`: declared ones and transitions. */
|
|
2342
|
+
export interface PurchaseWorkAcceptanceMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.work.acceptance'> {
|
|
2343
|
+
readonly 'accept': () => Promise<void>;
|
|
2344
|
+
readonly 'cancel': () => Promise<void>;
|
|
2345
|
+
readonly 'fill': () => Promise<void>;
|
|
2346
|
+
readonly 'redraft': () => Promise<void>;
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
/** `purchase.work.acceptance.line` (owner: purchase). */
|
|
2350
|
+
export interface PurchaseWorkAcceptanceLine {
|
|
2351
|
+
readonly name: 'purchase.work.acceptance.line';
|
|
2352
|
+
readonly fields: {
|
|
2353
|
+
readonly id: F.Id<'purchase.work.acceptance.line'>;
|
|
2354
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2355
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2356
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2357
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2358
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2359
|
+
readonly acceptance: F.Many2one<'purchase.work.acceptance', { readonly required: true }>;
|
|
2360
|
+
readonly orderLine: F.Many2one<'purchase.order.line', { readonly required: true }>;
|
|
2361
|
+
readonly product: F.Many2one<'product.product', { readonly required: true }>;
|
|
2362
|
+
readonly name: F.Char;
|
|
2363
|
+
readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2364
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
2365
|
+
readonly priceUnit: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2366
|
+
readonly subtotal: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
2367
|
+
};
|
|
2368
|
+
readonly methods: PurchaseWorkAcceptanceLineMethods;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/** Methods of `purchase.work.acceptance.line`: declared ones and transitions. */
|
|
2372
|
+
export interface PurchaseWorkAcceptanceLineMethods extends F.Methods<typeof import('../../purchase/index.js').purchaseShutro, 'purchase.work.acceptance.line'> {
|
|
1328
2373
|
}
|
|
1329
2374
|
|
|
1330
2375
|
/** `report.dashboard` (owner: reporting). */
|
|
@@ -1566,7 +2611,7 @@ export interface ResCurrencyRate {
|
|
|
1566
2611
|
export interface ResCurrencyRateMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.currency.rate'> {
|
|
1567
2612
|
}
|
|
1568
2613
|
|
|
1569
|
-
/** `res.partner` (owner: contacts; extended by: accounting). */
|
|
2614
|
+
/** `res.partner` (owner: contacts; extended by: accounting, accounting). */
|
|
1570
2615
|
export interface ResPartner {
|
|
1571
2616
|
readonly name: 'res.partner';
|
|
1572
2617
|
readonly fields: {
|
|
@@ -1587,6 +2632,7 @@ export interface ResPartner {
|
|
|
1587
2632
|
readonly parent: F.Many2one<'res.partner'>;
|
|
1588
2633
|
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
1589
2634
|
readonly email: F.Char;
|
|
2635
|
+
readonly lang: F.Selection<'en' | 'bn'>;
|
|
1590
2636
|
readonly phone: F.Char;
|
|
1591
2637
|
readonly mobile: F.Char;
|
|
1592
2638
|
readonly website: F.Char;
|
|
@@ -1600,13 +2646,17 @@ export interface ResPartner {
|
|
|
1600
2646
|
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1601
2647
|
readonly currency: F.Many2one<'res.currency'>;
|
|
1602
2648
|
readonly notes: F.Text;
|
|
2649
|
+
readonly sendInvoicesByEmail: F.Bool<{ readonly required: true; readonly default: true }>; // accounting
|
|
1603
2650
|
readonly withholdings: F.Many2many<'account.withholding', { readonly required: true }>; // accounting
|
|
2651
|
+
readonly receivableAccount: F.Many2one<'account.account'>; // accounting
|
|
2652
|
+
readonly payableAccount: F.Many2one<'account.account'>; // accounting
|
|
2653
|
+
readonly fiscalPosition: F.Many2one<'account.fiscal.position'>; // accounting
|
|
1604
2654
|
};
|
|
1605
2655
|
readonly methods: ResPartnerMethods;
|
|
1606
2656
|
}
|
|
1607
2657
|
|
|
1608
2658
|
/** Methods of `res.partner`: declared ones and transitions. */
|
|
1609
|
-
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'> {
|
|
2659
|
+
export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.partner'> {
|
|
1610
2660
|
}
|
|
1611
2661
|
|
|
1612
2662
|
/** `res.partner.tag` (owner: contacts). */
|
|
@@ -1628,6 +2678,29 @@ export interface ResPartnerTag {
|
|
|
1628
2678
|
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
1629
2679
|
}
|
|
1630
2680
|
|
|
2681
|
+
/** `res.segment` (owner: permissions). */
|
|
2682
|
+
export interface ResSegment {
|
|
2683
|
+
readonly name: 'res.segment';
|
|
2684
|
+
readonly fields: {
|
|
2685
|
+
readonly id: F.Id<'res.segment'>;
|
|
2686
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2687
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2688
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2689
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2690
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2691
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2692
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2693
|
+
readonly code: F.Char;
|
|
2694
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
2695
|
+
readonly note: F.Text;
|
|
2696
|
+
};
|
|
2697
|
+
readonly methods: ResSegmentMethods;
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
/** Methods of `res.segment`: declared ones and transitions. */
|
|
2701
|
+
export interface ResSegmentMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'res.segment'> {
|
|
2702
|
+
}
|
|
2703
|
+
|
|
1631
2704
|
/** `res.users` (owner: base). */
|
|
1632
2705
|
export interface ResUsers {
|
|
1633
2706
|
readonly name: 'res.users';
|