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
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Overheads and costing (RFC 0031 §3.5). A **costing master** on a product or a category, valid between dates,
|
|
3
|
+
* lists overheads: a fixed amount per order, a percentage of the material cost or an amount per unit produced,
|
|
4
|
+
* each absorbed into an account. When an order produces, its overheads are **applied** (lines kept on the order,
|
|
5
|
+
* part of what the product is valued at, posted into Work in progress against the absorbed-overhead accounts). At
|
|
6
|
+
* **month end** an allocation compares each account's actual overhead (its debits in the month) with what the
|
|
7
|
+
* month's orders absorbed and spreads the difference over those orders by produced quantity or by cost — onto the
|
|
8
|
+
* stock still on hand and the cost of what was sold —, posted once; a posted month is closed.
|
|
9
|
+
*/
|
|
10
|
+
import { type Decimal, type Id } from '../server/orm.js';
|
|
11
|
+
import { type Env } from './.kosh/bindings.js';
|
|
12
|
+
/** The first and last day of the month of a date. */
|
|
13
|
+
export declare function monthOf(day: string): {
|
|
14
|
+
from: string;
|
|
15
|
+
to: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const ProductionCosting: import("../server/orm.js").Model<"production.costing", {
|
|
18
|
+
readonly id: import("../server/orm.js").IdField<"production.costing">;
|
|
19
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
20
|
+
required: true;
|
|
21
|
+
readonly: true;
|
|
22
|
+
computed: false;
|
|
23
|
+
inverse: false;
|
|
24
|
+
hasDefault: false;
|
|
25
|
+
sequence: false;
|
|
26
|
+
}>;
|
|
27
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
28
|
+
required: true;
|
|
29
|
+
readonly: true;
|
|
30
|
+
computed: false;
|
|
31
|
+
inverse: false;
|
|
32
|
+
hasDefault: false;
|
|
33
|
+
sequence: false;
|
|
34
|
+
}>;
|
|
35
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
36
|
+
required: false;
|
|
37
|
+
readonly: true;
|
|
38
|
+
computed: false;
|
|
39
|
+
inverse: false;
|
|
40
|
+
hasDefault: false;
|
|
41
|
+
sequence: false;
|
|
42
|
+
}>;
|
|
43
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
44
|
+
required: false;
|
|
45
|
+
readonly: true;
|
|
46
|
+
computed: false;
|
|
47
|
+
inverse: false;
|
|
48
|
+
hasDefault: false;
|
|
49
|
+
sequence: false;
|
|
50
|
+
}>;
|
|
51
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
52
|
+
required: true;
|
|
53
|
+
readonly: true;
|
|
54
|
+
computed: true;
|
|
55
|
+
inverse: false;
|
|
56
|
+
hasDefault: false;
|
|
57
|
+
sequence: false;
|
|
58
|
+
}>;
|
|
59
|
+
readonly company: import("../server/orm.js").CompanyField<true>;
|
|
60
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
61
|
+
readonly required: true;
|
|
62
|
+
readonly computed: false;
|
|
63
|
+
readonly inverse: false;
|
|
64
|
+
readonly sequence: false;
|
|
65
|
+
readonly computeName: undefined;
|
|
66
|
+
readonly store: true;
|
|
67
|
+
readonly hasDefault: false;
|
|
68
|
+
readonly readonly: false;
|
|
69
|
+
}, string>;
|
|
70
|
+
readonly active: import("../server/orm.js").ScalarField<"boolean", boolean, boolean, {
|
|
71
|
+
readonly required: true;
|
|
72
|
+
readonly computed: false;
|
|
73
|
+
readonly inverse: false;
|
|
74
|
+
readonly sequence: false;
|
|
75
|
+
readonly computeName: undefined;
|
|
76
|
+
readonly store: true;
|
|
77
|
+
readonly hasDefault: true;
|
|
78
|
+
readonly readonly: false;
|
|
79
|
+
}>;
|
|
80
|
+
readonly product: import("../server/orm.js").Many2oneField<"product.product", {
|
|
81
|
+
readonly required: false;
|
|
82
|
+
readonly computed: false;
|
|
83
|
+
readonly inverse: false;
|
|
84
|
+
readonly sequence: false;
|
|
85
|
+
readonly computeName: undefined;
|
|
86
|
+
readonly store: true;
|
|
87
|
+
readonly hasDefault: false;
|
|
88
|
+
readonly readonly: false;
|
|
89
|
+
}>;
|
|
90
|
+
readonly category: import("../server/orm.js").Many2oneField<"product.category", {
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly computed: false;
|
|
93
|
+
readonly inverse: false;
|
|
94
|
+
readonly sequence: false;
|
|
95
|
+
readonly computeName: undefined;
|
|
96
|
+
readonly store: true;
|
|
97
|
+
readonly hasDefault: false;
|
|
98
|
+
readonly readonly: false;
|
|
99
|
+
}>;
|
|
100
|
+
readonly validFrom: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
101
|
+
readonly required: false;
|
|
102
|
+
readonly computed: false;
|
|
103
|
+
readonly inverse: false;
|
|
104
|
+
readonly sequence: false;
|
|
105
|
+
readonly computeName: undefined;
|
|
106
|
+
readonly store: true;
|
|
107
|
+
readonly hasDefault: false;
|
|
108
|
+
readonly readonly: false;
|
|
109
|
+
}>;
|
|
110
|
+
readonly validTo: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
111
|
+
readonly required: false;
|
|
112
|
+
readonly computed: false;
|
|
113
|
+
readonly inverse: false;
|
|
114
|
+
readonly sequence: false;
|
|
115
|
+
readonly computeName: undefined;
|
|
116
|
+
readonly store: true;
|
|
117
|
+
readonly hasDefault: false;
|
|
118
|
+
readonly readonly: false;
|
|
119
|
+
}>;
|
|
120
|
+
readonly lines: import("../server/orm.js").One2manyField<"production.costing.line", {
|
|
121
|
+
readonly required: true;
|
|
122
|
+
readonly computed: false;
|
|
123
|
+
readonly inverse: false;
|
|
124
|
+
readonly sequence: false;
|
|
125
|
+
readonly computeName: undefined;
|
|
126
|
+
readonly store: true;
|
|
127
|
+
readonly hasDefault: true;
|
|
128
|
+
readonly readonly: false;
|
|
129
|
+
}>;
|
|
130
|
+
readonly note: import("../server/orm.js").ScalarField<"text", string, string, {
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly computed: false;
|
|
133
|
+
readonly inverse: false;
|
|
134
|
+
readonly sequence: false;
|
|
135
|
+
readonly computeName: undefined;
|
|
136
|
+
readonly store: true;
|
|
137
|
+
readonly hasDefault: false;
|
|
138
|
+
readonly readonly: false;
|
|
139
|
+
}>;
|
|
140
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
141
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
142
|
+
readonly required: true;
|
|
143
|
+
readonly computed: false;
|
|
144
|
+
readonly inverse: false;
|
|
145
|
+
readonly sequence: false;
|
|
146
|
+
readonly computeName: undefined;
|
|
147
|
+
readonly store: true;
|
|
148
|
+
readonly hasDefault: false;
|
|
149
|
+
readonly readonly: false;
|
|
150
|
+
}, string>;
|
|
151
|
+
readonly active: import("../server/orm.js").ScalarField<"boolean", boolean, boolean, {
|
|
152
|
+
readonly required: true;
|
|
153
|
+
readonly computed: false;
|
|
154
|
+
readonly inverse: false;
|
|
155
|
+
readonly sequence: false;
|
|
156
|
+
readonly computeName: undefined;
|
|
157
|
+
readonly store: true;
|
|
158
|
+
readonly hasDefault: true;
|
|
159
|
+
readonly readonly: false;
|
|
160
|
+
}>;
|
|
161
|
+
readonly product: import("../server/orm.js").Many2oneField<"product.product", {
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly computed: false;
|
|
164
|
+
readonly inverse: false;
|
|
165
|
+
readonly sequence: false;
|
|
166
|
+
readonly computeName: undefined;
|
|
167
|
+
readonly store: true;
|
|
168
|
+
readonly hasDefault: false;
|
|
169
|
+
readonly readonly: false;
|
|
170
|
+
}>;
|
|
171
|
+
readonly category: import("../server/orm.js").Many2oneField<"product.category", {
|
|
172
|
+
readonly required: false;
|
|
173
|
+
readonly computed: false;
|
|
174
|
+
readonly inverse: false;
|
|
175
|
+
readonly sequence: false;
|
|
176
|
+
readonly computeName: undefined;
|
|
177
|
+
readonly store: true;
|
|
178
|
+
readonly hasDefault: false;
|
|
179
|
+
readonly readonly: false;
|
|
180
|
+
}>;
|
|
181
|
+
readonly validFrom: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly computed: false;
|
|
184
|
+
readonly inverse: false;
|
|
185
|
+
readonly sequence: false;
|
|
186
|
+
readonly computeName: undefined;
|
|
187
|
+
readonly store: true;
|
|
188
|
+
readonly hasDefault: false;
|
|
189
|
+
readonly readonly: false;
|
|
190
|
+
}>;
|
|
191
|
+
readonly validTo: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
192
|
+
readonly required: false;
|
|
193
|
+
readonly computed: false;
|
|
194
|
+
readonly inverse: false;
|
|
195
|
+
readonly sequence: false;
|
|
196
|
+
readonly computeName: undefined;
|
|
197
|
+
readonly store: true;
|
|
198
|
+
readonly hasDefault: false;
|
|
199
|
+
readonly readonly: false;
|
|
200
|
+
}>;
|
|
201
|
+
readonly lines: import("../server/orm.js").One2manyField<"production.costing.line", {
|
|
202
|
+
readonly required: true;
|
|
203
|
+
readonly computed: false;
|
|
204
|
+
readonly inverse: false;
|
|
205
|
+
readonly sequence: false;
|
|
206
|
+
readonly computeName: undefined;
|
|
207
|
+
readonly store: true;
|
|
208
|
+
readonly hasDefault: true;
|
|
209
|
+
readonly readonly: false;
|
|
210
|
+
}>;
|
|
211
|
+
readonly note: import("../server/orm.js").ScalarField<"text", string, string, {
|
|
212
|
+
readonly required: false;
|
|
213
|
+
readonly computed: false;
|
|
214
|
+
readonly inverse: false;
|
|
215
|
+
readonly sequence: false;
|
|
216
|
+
readonly computeName: undefined;
|
|
217
|
+
readonly store: true;
|
|
218
|
+
readonly hasDefault: false;
|
|
219
|
+
readonly readonly: false;
|
|
220
|
+
}>;
|
|
221
|
+
}>>;
|
|
222
|
+
export declare const ProductionCostingLine: import("../server/orm.js").Model<"production.costing.line", {
|
|
223
|
+
readonly id: import("../server/orm.js").IdField<"production.costing.line">;
|
|
224
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
225
|
+
required: true;
|
|
226
|
+
readonly: true;
|
|
227
|
+
computed: false;
|
|
228
|
+
inverse: false;
|
|
229
|
+
hasDefault: false;
|
|
230
|
+
sequence: false;
|
|
231
|
+
}>;
|
|
232
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
233
|
+
required: true;
|
|
234
|
+
readonly: true;
|
|
235
|
+
computed: false;
|
|
236
|
+
inverse: false;
|
|
237
|
+
hasDefault: false;
|
|
238
|
+
sequence: false;
|
|
239
|
+
}>;
|
|
240
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
241
|
+
required: false;
|
|
242
|
+
readonly: true;
|
|
243
|
+
computed: false;
|
|
244
|
+
inverse: false;
|
|
245
|
+
hasDefault: false;
|
|
246
|
+
sequence: false;
|
|
247
|
+
}>;
|
|
248
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
249
|
+
required: false;
|
|
250
|
+
readonly: true;
|
|
251
|
+
computed: false;
|
|
252
|
+
inverse: false;
|
|
253
|
+
hasDefault: false;
|
|
254
|
+
sequence: false;
|
|
255
|
+
}>;
|
|
256
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
257
|
+
required: true;
|
|
258
|
+
readonly: true;
|
|
259
|
+
computed: true;
|
|
260
|
+
inverse: false;
|
|
261
|
+
hasDefault: false;
|
|
262
|
+
sequence: false;
|
|
263
|
+
}>;
|
|
264
|
+
readonly costing: import("../server/orm.js").Many2oneField<"production.costing", {
|
|
265
|
+
readonly required: true;
|
|
266
|
+
readonly computed: false;
|
|
267
|
+
readonly inverse: false;
|
|
268
|
+
readonly sequence: false;
|
|
269
|
+
readonly computeName: undefined;
|
|
270
|
+
readonly store: true;
|
|
271
|
+
readonly hasDefault: false;
|
|
272
|
+
readonly readonly: false;
|
|
273
|
+
}>;
|
|
274
|
+
readonly sequence: import("../server/orm.js").ScalarField<"integer", number, number, {
|
|
275
|
+
readonly required: true;
|
|
276
|
+
readonly computed: false;
|
|
277
|
+
readonly inverse: false;
|
|
278
|
+
readonly sequence: false;
|
|
279
|
+
readonly computeName: undefined;
|
|
280
|
+
readonly store: true;
|
|
281
|
+
readonly hasDefault: true;
|
|
282
|
+
readonly readonly: false;
|
|
283
|
+
}>;
|
|
284
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
285
|
+
readonly required: true;
|
|
286
|
+
readonly computed: false;
|
|
287
|
+
readonly inverse: false;
|
|
288
|
+
readonly sequence: false;
|
|
289
|
+
readonly computeName: undefined;
|
|
290
|
+
readonly store: true;
|
|
291
|
+
readonly hasDefault: false;
|
|
292
|
+
readonly readonly: false;
|
|
293
|
+
}, string>;
|
|
294
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
295
|
+
readonly required: true;
|
|
296
|
+
readonly computed: false;
|
|
297
|
+
readonly inverse: false;
|
|
298
|
+
readonly sequence: false;
|
|
299
|
+
readonly computeName: undefined;
|
|
300
|
+
readonly store: true;
|
|
301
|
+
readonly hasDefault: false;
|
|
302
|
+
readonly readonly: false;
|
|
303
|
+
}>;
|
|
304
|
+
readonly method: import("../server/orm.js").SelectionField<"fixed" | "percent" | "unit", {
|
|
305
|
+
readonly required: true;
|
|
306
|
+
readonly computed: false;
|
|
307
|
+
readonly inverse: false;
|
|
308
|
+
readonly sequence: false;
|
|
309
|
+
readonly computeName: undefined;
|
|
310
|
+
readonly store: true;
|
|
311
|
+
readonly hasDefault: true;
|
|
312
|
+
readonly readonly: false;
|
|
313
|
+
}>;
|
|
314
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
315
|
+
readonly required: true;
|
|
316
|
+
readonly computed: false;
|
|
317
|
+
readonly inverse: false;
|
|
318
|
+
readonly sequence: false;
|
|
319
|
+
readonly computeName: undefined;
|
|
320
|
+
readonly store: true;
|
|
321
|
+
readonly hasDefault: true;
|
|
322
|
+
readonly readonly: false;
|
|
323
|
+
}>;
|
|
324
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
325
|
+
readonly costing: import("../server/orm.js").Many2oneField<"production.costing", {
|
|
326
|
+
readonly required: true;
|
|
327
|
+
readonly computed: false;
|
|
328
|
+
readonly inverse: false;
|
|
329
|
+
readonly sequence: false;
|
|
330
|
+
readonly computeName: undefined;
|
|
331
|
+
readonly store: true;
|
|
332
|
+
readonly hasDefault: false;
|
|
333
|
+
readonly readonly: false;
|
|
334
|
+
}>;
|
|
335
|
+
readonly sequence: import("../server/orm.js").ScalarField<"integer", number, number, {
|
|
336
|
+
readonly required: true;
|
|
337
|
+
readonly computed: false;
|
|
338
|
+
readonly inverse: false;
|
|
339
|
+
readonly sequence: false;
|
|
340
|
+
readonly computeName: undefined;
|
|
341
|
+
readonly store: true;
|
|
342
|
+
readonly hasDefault: true;
|
|
343
|
+
readonly readonly: false;
|
|
344
|
+
}>;
|
|
345
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
346
|
+
readonly required: true;
|
|
347
|
+
readonly computed: false;
|
|
348
|
+
readonly inverse: false;
|
|
349
|
+
readonly sequence: false;
|
|
350
|
+
readonly computeName: undefined;
|
|
351
|
+
readonly store: true;
|
|
352
|
+
readonly hasDefault: false;
|
|
353
|
+
readonly readonly: false;
|
|
354
|
+
}, string>;
|
|
355
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
356
|
+
readonly required: true;
|
|
357
|
+
readonly computed: false;
|
|
358
|
+
readonly inverse: false;
|
|
359
|
+
readonly sequence: false;
|
|
360
|
+
readonly computeName: undefined;
|
|
361
|
+
readonly store: true;
|
|
362
|
+
readonly hasDefault: false;
|
|
363
|
+
readonly readonly: false;
|
|
364
|
+
}>;
|
|
365
|
+
readonly method: import("../server/orm.js").SelectionField<"fixed" | "percent" | "unit", {
|
|
366
|
+
readonly required: true;
|
|
367
|
+
readonly computed: false;
|
|
368
|
+
readonly inverse: false;
|
|
369
|
+
readonly sequence: false;
|
|
370
|
+
readonly computeName: undefined;
|
|
371
|
+
readonly store: true;
|
|
372
|
+
readonly hasDefault: true;
|
|
373
|
+
readonly readonly: false;
|
|
374
|
+
}>;
|
|
375
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
376
|
+
readonly required: true;
|
|
377
|
+
readonly computed: false;
|
|
378
|
+
readonly inverse: false;
|
|
379
|
+
readonly sequence: false;
|
|
380
|
+
readonly computeName: undefined;
|
|
381
|
+
readonly store: true;
|
|
382
|
+
readonly hasDefault: true;
|
|
383
|
+
readonly readonly: false;
|
|
384
|
+
}>;
|
|
385
|
+
}>>;
|
|
386
|
+
export declare const ProductionOrderOverhead: import("../server/orm.js").Model<"production.order.overhead", {
|
|
387
|
+
readonly id: import("../server/orm.js").IdField<"production.order.overhead">;
|
|
388
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
389
|
+
required: true;
|
|
390
|
+
readonly: true;
|
|
391
|
+
computed: false;
|
|
392
|
+
inverse: false;
|
|
393
|
+
hasDefault: false;
|
|
394
|
+
sequence: false;
|
|
395
|
+
}>;
|
|
396
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
397
|
+
required: true;
|
|
398
|
+
readonly: true;
|
|
399
|
+
computed: false;
|
|
400
|
+
inverse: false;
|
|
401
|
+
hasDefault: false;
|
|
402
|
+
sequence: false;
|
|
403
|
+
}>;
|
|
404
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
405
|
+
required: false;
|
|
406
|
+
readonly: true;
|
|
407
|
+
computed: false;
|
|
408
|
+
inverse: false;
|
|
409
|
+
hasDefault: false;
|
|
410
|
+
sequence: false;
|
|
411
|
+
}>;
|
|
412
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
413
|
+
required: false;
|
|
414
|
+
readonly: true;
|
|
415
|
+
computed: false;
|
|
416
|
+
inverse: false;
|
|
417
|
+
hasDefault: false;
|
|
418
|
+
sequence: false;
|
|
419
|
+
}>;
|
|
420
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
421
|
+
required: true;
|
|
422
|
+
readonly: true;
|
|
423
|
+
computed: true;
|
|
424
|
+
inverse: false;
|
|
425
|
+
hasDefault: false;
|
|
426
|
+
sequence: false;
|
|
427
|
+
}>;
|
|
428
|
+
readonly production: import("../server/orm.js").Many2oneField<"production.order", {
|
|
429
|
+
readonly required: true;
|
|
430
|
+
readonly computed: false;
|
|
431
|
+
readonly inverse: false;
|
|
432
|
+
readonly sequence: false;
|
|
433
|
+
readonly computeName: undefined;
|
|
434
|
+
readonly store: true;
|
|
435
|
+
readonly hasDefault: false;
|
|
436
|
+
readonly readonly: false;
|
|
437
|
+
}>;
|
|
438
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
439
|
+
readonly required: true;
|
|
440
|
+
readonly computed: false;
|
|
441
|
+
readonly inverse: false;
|
|
442
|
+
readonly sequence: false;
|
|
443
|
+
readonly computeName: undefined;
|
|
444
|
+
readonly store: true;
|
|
445
|
+
readonly hasDefault: false;
|
|
446
|
+
readonly readonly: false;
|
|
447
|
+
}, string>;
|
|
448
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
449
|
+
readonly required: true;
|
|
450
|
+
readonly computed: false;
|
|
451
|
+
readonly inverse: false;
|
|
452
|
+
readonly sequence: false;
|
|
453
|
+
readonly computeName: undefined;
|
|
454
|
+
readonly store: true;
|
|
455
|
+
readonly hasDefault: false;
|
|
456
|
+
readonly readonly: false;
|
|
457
|
+
}>;
|
|
458
|
+
readonly method: import("../server/orm.js").SelectionField<"fixed" | "percent" | "unit", {
|
|
459
|
+
readonly required: true;
|
|
460
|
+
readonly computed: false;
|
|
461
|
+
readonly inverse: false;
|
|
462
|
+
readonly sequence: false;
|
|
463
|
+
readonly computeName: undefined;
|
|
464
|
+
readonly store: true;
|
|
465
|
+
readonly hasDefault: false;
|
|
466
|
+
readonly readonly: false;
|
|
467
|
+
}>;
|
|
468
|
+
readonly rate: import("../server/orm.js").DecimalField<{
|
|
469
|
+
readonly required: true;
|
|
470
|
+
readonly computed: false;
|
|
471
|
+
readonly inverse: false;
|
|
472
|
+
readonly sequence: false;
|
|
473
|
+
readonly computeName: undefined;
|
|
474
|
+
readonly store: true;
|
|
475
|
+
readonly hasDefault: true;
|
|
476
|
+
readonly readonly: false;
|
|
477
|
+
}>;
|
|
478
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
479
|
+
readonly required: true;
|
|
480
|
+
readonly computed: false;
|
|
481
|
+
readonly inverse: false;
|
|
482
|
+
readonly sequence: false;
|
|
483
|
+
readonly computeName: undefined;
|
|
484
|
+
readonly store: true;
|
|
485
|
+
readonly hasDefault: true;
|
|
486
|
+
readonly readonly: false;
|
|
487
|
+
}>;
|
|
488
|
+
readonly costing: import("../server/orm.js").Many2oneField<"production.costing", {
|
|
489
|
+
readonly required: false;
|
|
490
|
+
readonly computed: false;
|
|
491
|
+
readonly inverse: false;
|
|
492
|
+
readonly sequence: false;
|
|
493
|
+
readonly computeName: undefined;
|
|
494
|
+
readonly store: true;
|
|
495
|
+
readonly hasDefault: false;
|
|
496
|
+
readonly readonly: false;
|
|
497
|
+
}>;
|
|
498
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
499
|
+
readonly production: import("../server/orm.js").Many2oneField<"production.order", {
|
|
500
|
+
readonly required: true;
|
|
501
|
+
readonly computed: false;
|
|
502
|
+
readonly inverse: false;
|
|
503
|
+
readonly sequence: false;
|
|
504
|
+
readonly computeName: undefined;
|
|
505
|
+
readonly store: true;
|
|
506
|
+
readonly hasDefault: false;
|
|
507
|
+
readonly readonly: false;
|
|
508
|
+
}>;
|
|
509
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
510
|
+
readonly required: true;
|
|
511
|
+
readonly computed: false;
|
|
512
|
+
readonly inverse: false;
|
|
513
|
+
readonly sequence: false;
|
|
514
|
+
readonly computeName: undefined;
|
|
515
|
+
readonly store: true;
|
|
516
|
+
readonly hasDefault: false;
|
|
517
|
+
readonly readonly: false;
|
|
518
|
+
}, string>;
|
|
519
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
520
|
+
readonly required: true;
|
|
521
|
+
readonly computed: false;
|
|
522
|
+
readonly inverse: false;
|
|
523
|
+
readonly sequence: false;
|
|
524
|
+
readonly computeName: undefined;
|
|
525
|
+
readonly store: true;
|
|
526
|
+
readonly hasDefault: false;
|
|
527
|
+
readonly readonly: false;
|
|
528
|
+
}>;
|
|
529
|
+
readonly method: import("../server/orm.js").SelectionField<"fixed" | "percent" | "unit", {
|
|
530
|
+
readonly required: true;
|
|
531
|
+
readonly computed: false;
|
|
532
|
+
readonly inverse: false;
|
|
533
|
+
readonly sequence: false;
|
|
534
|
+
readonly computeName: undefined;
|
|
535
|
+
readonly store: true;
|
|
536
|
+
readonly hasDefault: false;
|
|
537
|
+
readonly readonly: false;
|
|
538
|
+
}>;
|
|
539
|
+
readonly rate: import("../server/orm.js").DecimalField<{
|
|
540
|
+
readonly required: true;
|
|
541
|
+
readonly computed: false;
|
|
542
|
+
readonly inverse: false;
|
|
543
|
+
readonly sequence: false;
|
|
544
|
+
readonly computeName: undefined;
|
|
545
|
+
readonly store: true;
|
|
546
|
+
readonly hasDefault: true;
|
|
547
|
+
readonly readonly: false;
|
|
548
|
+
}>;
|
|
549
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
550
|
+
readonly required: true;
|
|
551
|
+
readonly computed: false;
|
|
552
|
+
readonly inverse: false;
|
|
553
|
+
readonly sequence: false;
|
|
554
|
+
readonly computeName: undefined;
|
|
555
|
+
readonly store: true;
|
|
556
|
+
readonly hasDefault: true;
|
|
557
|
+
readonly readonly: false;
|
|
558
|
+
}>;
|
|
559
|
+
readonly costing: import("../server/orm.js").Many2oneField<"production.costing", {
|
|
560
|
+
readonly required: false;
|
|
561
|
+
readonly computed: false;
|
|
562
|
+
readonly inverse: false;
|
|
563
|
+
readonly sequence: false;
|
|
564
|
+
readonly computeName: undefined;
|
|
565
|
+
readonly store: true;
|
|
566
|
+
readonly hasDefault: false;
|
|
567
|
+
readonly readonly: false;
|
|
568
|
+
}>;
|
|
569
|
+
}>>;
|
|
570
|
+
/** The order's overheads: applied when it produces, part of the product's value beside materials and operations. */
|
|
571
|
+
export declare const OrderOverhead: import("../server/orm.js").Extension<"production.order", {
|
|
572
|
+
readonly overheads: import("../server/orm.js").One2manyField<"production.order.overhead", {
|
|
573
|
+
readonly required: true;
|
|
574
|
+
readonly computed: false;
|
|
575
|
+
readonly inverse: false;
|
|
576
|
+
readonly sequence: false;
|
|
577
|
+
readonly computeName: undefined;
|
|
578
|
+
readonly store: true;
|
|
579
|
+
readonly hasDefault: true;
|
|
580
|
+
readonly readonly: false;
|
|
581
|
+
}>;
|
|
582
|
+
readonly overheadCost: import("../server/orm.js").DecimalField<{
|
|
583
|
+
readonly required: false;
|
|
584
|
+
readonly computed: true;
|
|
585
|
+
readonly inverse: false;
|
|
586
|
+
readonly sequence: false;
|
|
587
|
+
readonly computeName: undefined;
|
|
588
|
+
readonly store: true;
|
|
589
|
+
readonly hasDefault: false;
|
|
590
|
+
readonly readonly: true;
|
|
591
|
+
}>;
|
|
592
|
+
readonly fullCost: import("../server/orm.js").DecimalField<{
|
|
593
|
+
readonly required: false;
|
|
594
|
+
readonly computed: true;
|
|
595
|
+
readonly inverse: false;
|
|
596
|
+
readonly sequence: false;
|
|
597
|
+
readonly computeName: undefined;
|
|
598
|
+
readonly store: true;
|
|
599
|
+
readonly hasDefault: false;
|
|
600
|
+
readonly readonly: true;
|
|
601
|
+
}>;
|
|
602
|
+
}, Record<never, never>>;
|
|
603
|
+
/**
|
|
604
|
+
* Applies the costing master to an order once, when it produces: a line per overhead with the amount it works out
|
|
605
|
+
* to for what was consumed and produced. Returns the lines (the ones already applied on a second call).
|
|
606
|
+
*/
|
|
607
|
+
export declare function applyOverheads(env: Env, order: Id<'production.order'>, consumedValue: Decimal, produced: Decimal): Promise<{
|
|
608
|
+
total: Decimal;
|
|
609
|
+
lines: {
|
|
610
|
+
account: Id<'account.account'>;
|
|
611
|
+
amount: Decimal;
|
|
612
|
+
name: string;
|
|
613
|
+
}[];
|
|
614
|
+
}>;
|
|
615
|
+
export declare const ProductionOverheadAllocation: import("../server/orm.js").Model<"production.overhead.allocation", {
|
|
616
|
+
readonly id: import("../server/orm.js").IdField<"production.overhead.allocation">;
|
|
617
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
618
|
+
required: true;
|
|
619
|
+
readonly: true;
|
|
620
|
+
computed: false;
|
|
621
|
+
inverse: false;
|
|
622
|
+
hasDefault: false;
|
|
623
|
+
sequence: false;
|
|
624
|
+
}>;
|
|
625
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
626
|
+
required: true;
|
|
627
|
+
readonly: true;
|
|
628
|
+
computed: false;
|
|
629
|
+
inverse: false;
|
|
630
|
+
hasDefault: false;
|
|
631
|
+
sequence: false;
|
|
632
|
+
}>;
|
|
633
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
634
|
+
required: false;
|
|
635
|
+
readonly: true;
|
|
636
|
+
computed: false;
|
|
637
|
+
inverse: false;
|
|
638
|
+
hasDefault: false;
|
|
639
|
+
sequence: false;
|
|
640
|
+
}>;
|
|
641
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
642
|
+
required: false;
|
|
643
|
+
readonly: true;
|
|
644
|
+
computed: false;
|
|
645
|
+
inverse: false;
|
|
646
|
+
hasDefault: false;
|
|
647
|
+
sequence: false;
|
|
648
|
+
}>;
|
|
649
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
650
|
+
required: true;
|
|
651
|
+
readonly: true;
|
|
652
|
+
computed: true;
|
|
653
|
+
inverse: false;
|
|
654
|
+
hasDefault: false;
|
|
655
|
+
sequence: false;
|
|
656
|
+
}>;
|
|
657
|
+
readonly company: import("../server/orm.js").CompanyField<true>;
|
|
658
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
659
|
+
readonly required: true;
|
|
660
|
+
readonly computed: false;
|
|
661
|
+
readonly inverse: false;
|
|
662
|
+
readonly sequence: true;
|
|
663
|
+
readonly computeName: undefined;
|
|
664
|
+
readonly store: true;
|
|
665
|
+
readonly hasDefault: false;
|
|
666
|
+
readonly readonly: true;
|
|
667
|
+
}, string>;
|
|
668
|
+
readonly month: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
669
|
+
readonly required: true;
|
|
670
|
+
readonly computed: false;
|
|
671
|
+
readonly inverse: false;
|
|
672
|
+
readonly sequence: false;
|
|
673
|
+
readonly computeName: undefined;
|
|
674
|
+
readonly store: true;
|
|
675
|
+
readonly hasDefault: false;
|
|
676
|
+
readonly readonly: false;
|
|
677
|
+
}>;
|
|
678
|
+
readonly distribution: import("../server/orm.js").SelectionField<"cost" | "quantity", {
|
|
679
|
+
readonly required: true;
|
|
680
|
+
readonly computed: false;
|
|
681
|
+
readonly inverse: false;
|
|
682
|
+
readonly sequence: false;
|
|
683
|
+
readonly computeName: undefined;
|
|
684
|
+
readonly store: true;
|
|
685
|
+
readonly hasDefault: true;
|
|
686
|
+
readonly readonly: false;
|
|
687
|
+
}>;
|
|
688
|
+
readonly lines: import("../server/orm.js").One2manyField<"production.overhead.allocation.line", {
|
|
689
|
+
readonly required: true;
|
|
690
|
+
readonly computed: false;
|
|
691
|
+
readonly inverse: false;
|
|
692
|
+
readonly sequence: false;
|
|
693
|
+
readonly computeName: undefined;
|
|
694
|
+
readonly store: true;
|
|
695
|
+
readonly hasDefault: true;
|
|
696
|
+
readonly readonly: false;
|
|
697
|
+
}>;
|
|
698
|
+
readonly shares: import("../server/orm.js").One2manyField<"production.overhead.allocation.share", {
|
|
699
|
+
readonly required: true;
|
|
700
|
+
readonly computed: false;
|
|
701
|
+
readonly inverse: false;
|
|
702
|
+
readonly sequence: false;
|
|
703
|
+
readonly computeName: undefined;
|
|
704
|
+
readonly store: true;
|
|
705
|
+
readonly hasDefault: true;
|
|
706
|
+
readonly readonly: false;
|
|
707
|
+
}>;
|
|
708
|
+
readonly difference: import("../server/orm.js").DecimalField<{
|
|
709
|
+
readonly required: false;
|
|
710
|
+
readonly computed: true;
|
|
711
|
+
readonly inverse: false;
|
|
712
|
+
readonly sequence: false;
|
|
713
|
+
readonly computeName: undefined;
|
|
714
|
+
readonly store: true;
|
|
715
|
+
readonly hasDefault: false;
|
|
716
|
+
readonly readonly: true;
|
|
717
|
+
}>;
|
|
718
|
+
readonly move: import("../server/orm.js").Many2oneField<"account.move", {
|
|
719
|
+
readonly required: false;
|
|
720
|
+
readonly computed: false;
|
|
721
|
+
readonly inverse: false;
|
|
722
|
+
readonly sequence: false;
|
|
723
|
+
readonly computeName: undefined;
|
|
724
|
+
readonly store: true;
|
|
725
|
+
readonly hasDefault: false;
|
|
726
|
+
readonly readonly: false;
|
|
727
|
+
}>;
|
|
728
|
+
readonly note: import("../server/orm.js").ScalarField<"text", string, string, {
|
|
729
|
+
readonly required: false;
|
|
730
|
+
readonly computed: false;
|
|
731
|
+
readonly inverse: false;
|
|
732
|
+
readonly sequence: false;
|
|
733
|
+
readonly computeName: undefined;
|
|
734
|
+
readonly store: true;
|
|
735
|
+
readonly hasDefault: false;
|
|
736
|
+
readonly readonly: false;
|
|
737
|
+
}>;
|
|
738
|
+
readonly state: import("../server/orm.js").StateField<"cancel" | "draft" | "posted", {
|
|
739
|
+
/** The month's actual against absorbed per account, and the shares of the difference. */
|
|
740
|
+
readonly reckon: {
|
|
741
|
+
readonly from: readonly ["draft"];
|
|
742
|
+
readonly to: "draft";
|
|
743
|
+
readonly after: (records: never) => unknown;
|
|
744
|
+
};
|
|
745
|
+
readonly post: {
|
|
746
|
+
readonly from: readonly ["draft"];
|
|
747
|
+
readonly to: "posted";
|
|
748
|
+
readonly guard: (records: never) => unknown;
|
|
749
|
+
readonly message: "Work the month out first, with a difference to allocate and done orders to carry it; a month with a posted allocation is closed.";
|
|
750
|
+
readonly after: (records: never) => unknown;
|
|
751
|
+
};
|
|
752
|
+
readonly cancel: {
|
|
753
|
+
readonly from: readonly ["draft"];
|
|
754
|
+
readonly to: "cancel";
|
|
755
|
+
};
|
|
756
|
+
readonly redraft: {
|
|
757
|
+
readonly from: readonly ["cancel"];
|
|
758
|
+
readonly to: "draft";
|
|
759
|
+
};
|
|
760
|
+
}, {
|
|
761
|
+
required: true;
|
|
762
|
+
readonly: true;
|
|
763
|
+
computed: false;
|
|
764
|
+
inverse: false;
|
|
765
|
+
hasDefault: true;
|
|
766
|
+
sequence: false;
|
|
767
|
+
}>;
|
|
768
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
769
|
+
readonly name: import("../server/orm.js").CharField<{
|
|
770
|
+
readonly required: true;
|
|
771
|
+
readonly computed: false;
|
|
772
|
+
readonly inverse: false;
|
|
773
|
+
readonly sequence: true;
|
|
774
|
+
readonly computeName: undefined;
|
|
775
|
+
readonly store: true;
|
|
776
|
+
readonly hasDefault: false;
|
|
777
|
+
readonly readonly: true;
|
|
778
|
+
}, string>;
|
|
779
|
+
readonly month: import("../server/orm.js").ScalarField<"date", string, string, {
|
|
780
|
+
readonly required: true;
|
|
781
|
+
readonly computed: false;
|
|
782
|
+
readonly inverse: false;
|
|
783
|
+
readonly sequence: false;
|
|
784
|
+
readonly computeName: undefined;
|
|
785
|
+
readonly store: true;
|
|
786
|
+
readonly hasDefault: false;
|
|
787
|
+
readonly readonly: false;
|
|
788
|
+
}>;
|
|
789
|
+
readonly distribution: import("../server/orm.js").SelectionField<"cost" | "quantity", {
|
|
790
|
+
readonly required: true;
|
|
791
|
+
readonly computed: false;
|
|
792
|
+
readonly inverse: false;
|
|
793
|
+
readonly sequence: false;
|
|
794
|
+
readonly computeName: undefined;
|
|
795
|
+
readonly store: true;
|
|
796
|
+
readonly hasDefault: true;
|
|
797
|
+
readonly readonly: false;
|
|
798
|
+
}>;
|
|
799
|
+
readonly lines: import("../server/orm.js").One2manyField<"production.overhead.allocation.line", {
|
|
800
|
+
readonly required: true;
|
|
801
|
+
readonly computed: false;
|
|
802
|
+
readonly inverse: false;
|
|
803
|
+
readonly sequence: false;
|
|
804
|
+
readonly computeName: undefined;
|
|
805
|
+
readonly store: true;
|
|
806
|
+
readonly hasDefault: true;
|
|
807
|
+
readonly readonly: false;
|
|
808
|
+
}>;
|
|
809
|
+
readonly shares: import("../server/orm.js").One2manyField<"production.overhead.allocation.share", {
|
|
810
|
+
readonly required: true;
|
|
811
|
+
readonly computed: false;
|
|
812
|
+
readonly inverse: false;
|
|
813
|
+
readonly sequence: false;
|
|
814
|
+
readonly computeName: undefined;
|
|
815
|
+
readonly store: true;
|
|
816
|
+
readonly hasDefault: true;
|
|
817
|
+
readonly readonly: false;
|
|
818
|
+
}>;
|
|
819
|
+
readonly difference: import("../server/orm.js").DecimalField<{
|
|
820
|
+
readonly required: false;
|
|
821
|
+
readonly computed: true;
|
|
822
|
+
readonly inverse: false;
|
|
823
|
+
readonly sequence: false;
|
|
824
|
+
readonly computeName: undefined;
|
|
825
|
+
readonly store: true;
|
|
826
|
+
readonly hasDefault: false;
|
|
827
|
+
readonly readonly: true;
|
|
828
|
+
}>;
|
|
829
|
+
readonly move: import("../server/orm.js").Many2oneField<"account.move", {
|
|
830
|
+
readonly required: false;
|
|
831
|
+
readonly computed: false;
|
|
832
|
+
readonly inverse: false;
|
|
833
|
+
readonly sequence: false;
|
|
834
|
+
readonly computeName: undefined;
|
|
835
|
+
readonly store: true;
|
|
836
|
+
readonly hasDefault: false;
|
|
837
|
+
readonly readonly: false;
|
|
838
|
+
}>;
|
|
839
|
+
readonly note: import("../server/orm.js").ScalarField<"text", string, string, {
|
|
840
|
+
readonly required: false;
|
|
841
|
+
readonly computed: false;
|
|
842
|
+
readonly inverse: false;
|
|
843
|
+
readonly sequence: false;
|
|
844
|
+
readonly computeName: undefined;
|
|
845
|
+
readonly store: true;
|
|
846
|
+
readonly hasDefault: false;
|
|
847
|
+
readonly readonly: false;
|
|
848
|
+
}>;
|
|
849
|
+
readonly state: import("../server/orm.js").StateField<"cancel" | "draft" | "posted", {
|
|
850
|
+
/** The month's actual against absorbed per account, and the shares of the difference. */
|
|
851
|
+
readonly reckon: {
|
|
852
|
+
readonly from: readonly ["draft"];
|
|
853
|
+
readonly to: "draft";
|
|
854
|
+
readonly after: (records: never) => unknown;
|
|
855
|
+
};
|
|
856
|
+
readonly post: {
|
|
857
|
+
readonly from: readonly ["draft"];
|
|
858
|
+
readonly to: "posted";
|
|
859
|
+
readonly guard: (records: never) => unknown;
|
|
860
|
+
readonly message: "Work the month out first, with a difference to allocate and done orders to carry it; a month with a posted allocation is closed.";
|
|
861
|
+
readonly after: (records: never) => unknown;
|
|
862
|
+
};
|
|
863
|
+
readonly cancel: {
|
|
864
|
+
readonly from: readonly ["draft"];
|
|
865
|
+
readonly to: "cancel";
|
|
866
|
+
};
|
|
867
|
+
readonly redraft: {
|
|
868
|
+
readonly from: readonly ["cancel"];
|
|
869
|
+
readonly to: "draft";
|
|
870
|
+
};
|
|
871
|
+
}, {
|
|
872
|
+
required: true;
|
|
873
|
+
readonly: true;
|
|
874
|
+
computed: false;
|
|
875
|
+
inverse: false;
|
|
876
|
+
hasDefault: true;
|
|
877
|
+
sequence: false;
|
|
878
|
+
}>;
|
|
879
|
+
}>>;
|
|
880
|
+
export declare const ProductionOverheadAllocationLine: import("../server/orm.js").Model<"production.overhead.allocation.line", {
|
|
881
|
+
readonly id: import("../server/orm.js").IdField<"production.overhead.allocation.line">;
|
|
882
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
883
|
+
required: true;
|
|
884
|
+
readonly: true;
|
|
885
|
+
computed: false;
|
|
886
|
+
inverse: false;
|
|
887
|
+
hasDefault: false;
|
|
888
|
+
sequence: false;
|
|
889
|
+
}>;
|
|
890
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
891
|
+
required: true;
|
|
892
|
+
readonly: true;
|
|
893
|
+
computed: false;
|
|
894
|
+
inverse: false;
|
|
895
|
+
hasDefault: false;
|
|
896
|
+
sequence: false;
|
|
897
|
+
}>;
|
|
898
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
899
|
+
required: false;
|
|
900
|
+
readonly: true;
|
|
901
|
+
computed: false;
|
|
902
|
+
inverse: false;
|
|
903
|
+
hasDefault: false;
|
|
904
|
+
sequence: false;
|
|
905
|
+
}>;
|
|
906
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
907
|
+
required: false;
|
|
908
|
+
readonly: true;
|
|
909
|
+
computed: false;
|
|
910
|
+
inverse: false;
|
|
911
|
+
hasDefault: false;
|
|
912
|
+
sequence: false;
|
|
913
|
+
}>;
|
|
914
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
915
|
+
required: true;
|
|
916
|
+
readonly: true;
|
|
917
|
+
computed: true;
|
|
918
|
+
inverse: false;
|
|
919
|
+
hasDefault: false;
|
|
920
|
+
sequence: false;
|
|
921
|
+
}>;
|
|
922
|
+
readonly allocation: import("../server/orm.js").Many2oneField<"production.overhead.allocation", {
|
|
923
|
+
readonly required: true;
|
|
924
|
+
readonly computed: false;
|
|
925
|
+
readonly inverse: false;
|
|
926
|
+
readonly sequence: false;
|
|
927
|
+
readonly computeName: undefined;
|
|
928
|
+
readonly store: true;
|
|
929
|
+
readonly hasDefault: false;
|
|
930
|
+
readonly readonly: false;
|
|
931
|
+
}>;
|
|
932
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
933
|
+
readonly required: true;
|
|
934
|
+
readonly computed: false;
|
|
935
|
+
readonly inverse: false;
|
|
936
|
+
readonly sequence: false;
|
|
937
|
+
readonly computeName: undefined;
|
|
938
|
+
readonly store: true;
|
|
939
|
+
readonly hasDefault: false;
|
|
940
|
+
readonly readonly: false;
|
|
941
|
+
}>;
|
|
942
|
+
readonly actual: import("../server/orm.js").DecimalField<{
|
|
943
|
+
readonly required: true;
|
|
944
|
+
readonly computed: false;
|
|
945
|
+
readonly inverse: false;
|
|
946
|
+
readonly sequence: false;
|
|
947
|
+
readonly computeName: undefined;
|
|
948
|
+
readonly store: true;
|
|
949
|
+
readonly hasDefault: true;
|
|
950
|
+
readonly readonly: false;
|
|
951
|
+
}>;
|
|
952
|
+
readonly absorbed: import("../server/orm.js").DecimalField<{
|
|
953
|
+
readonly required: true;
|
|
954
|
+
readonly computed: false;
|
|
955
|
+
readonly inverse: false;
|
|
956
|
+
readonly sequence: false;
|
|
957
|
+
readonly computeName: undefined;
|
|
958
|
+
readonly store: true;
|
|
959
|
+
readonly hasDefault: true;
|
|
960
|
+
readonly readonly: false;
|
|
961
|
+
}>;
|
|
962
|
+
readonly difference: import("../server/orm.js").DecimalField<{
|
|
963
|
+
readonly required: false;
|
|
964
|
+
readonly computed: true;
|
|
965
|
+
readonly inverse: false;
|
|
966
|
+
readonly sequence: false;
|
|
967
|
+
readonly computeName: undefined;
|
|
968
|
+
readonly store: true;
|
|
969
|
+
readonly hasDefault: false;
|
|
970
|
+
readonly readonly: true;
|
|
971
|
+
}>;
|
|
972
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
973
|
+
readonly allocation: import("../server/orm.js").Many2oneField<"production.overhead.allocation", {
|
|
974
|
+
readonly required: true;
|
|
975
|
+
readonly computed: false;
|
|
976
|
+
readonly inverse: false;
|
|
977
|
+
readonly sequence: false;
|
|
978
|
+
readonly computeName: undefined;
|
|
979
|
+
readonly store: true;
|
|
980
|
+
readonly hasDefault: false;
|
|
981
|
+
readonly readonly: false;
|
|
982
|
+
}>;
|
|
983
|
+
readonly account: import("../server/orm.js").Many2oneField<"account.account", {
|
|
984
|
+
readonly required: true;
|
|
985
|
+
readonly computed: false;
|
|
986
|
+
readonly inverse: false;
|
|
987
|
+
readonly sequence: false;
|
|
988
|
+
readonly computeName: undefined;
|
|
989
|
+
readonly store: true;
|
|
990
|
+
readonly hasDefault: false;
|
|
991
|
+
readonly readonly: false;
|
|
992
|
+
}>;
|
|
993
|
+
readonly actual: import("../server/orm.js").DecimalField<{
|
|
994
|
+
readonly required: true;
|
|
995
|
+
readonly computed: false;
|
|
996
|
+
readonly inverse: false;
|
|
997
|
+
readonly sequence: false;
|
|
998
|
+
readonly computeName: undefined;
|
|
999
|
+
readonly store: true;
|
|
1000
|
+
readonly hasDefault: true;
|
|
1001
|
+
readonly readonly: false;
|
|
1002
|
+
}>;
|
|
1003
|
+
readonly absorbed: import("../server/orm.js").DecimalField<{
|
|
1004
|
+
readonly required: true;
|
|
1005
|
+
readonly computed: false;
|
|
1006
|
+
readonly inverse: false;
|
|
1007
|
+
readonly sequence: false;
|
|
1008
|
+
readonly computeName: undefined;
|
|
1009
|
+
readonly store: true;
|
|
1010
|
+
readonly hasDefault: true;
|
|
1011
|
+
readonly readonly: false;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly difference: import("../server/orm.js").DecimalField<{
|
|
1014
|
+
readonly required: false;
|
|
1015
|
+
readonly computed: true;
|
|
1016
|
+
readonly inverse: false;
|
|
1017
|
+
readonly sequence: false;
|
|
1018
|
+
readonly computeName: undefined;
|
|
1019
|
+
readonly store: true;
|
|
1020
|
+
readonly hasDefault: false;
|
|
1021
|
+
readonly readonly: true;
|
|
1022
|
+
}>;
|
|
1023
|
+
}>>;
|
|
1024
|
+
export declare const ProductionOverheadAllocationShare: import("../server/orm.js").Model<"production.overhead.allocation.share", {
|
|
1025
|
+
readonly id: import("../server/orm.js").IdField<"production.overhead.allocation.share">;
|
|
1026
|
+
readonly createdAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
1027
|
+
required: true;
|
|
1028
|
+
readonly: true;
|
|
1029
|
+
computed: false;
|
|
1030
|
+
inverse: false;
|
|
1031
|
+
hasDefault: false;
|
|
1032
|
+
sequence: false;
|
|
1033
|
+
}>;
|
|
1034
|
+
readonly updatedAt: import("../server/orm.js").ScalarField<'datetime', Date, Date, {
|
|
1035
|
+
required: true;
|
|
1036
|
+
readonly: true;
|
|
1037
|
+
computed: false;
|
|
1038
|
+
inverse: false;
|
|
1039
|
+
hasDefault: false;
|
|
1040
|
+
sequence: false;
|
|
1041
|
+
}>;
|
|
1042
|
+
readonly createdBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
1043
|
+
required: false;
|
|
1044
|
+
readonly: true;
|
|
1045
|
+
computed: false;
|
|
1046
|
+
inverse: false;
|
|
1047
|
+
hasDefault: false;
|
|
1048
|
+
sequence: false;
|
|
1049
|
+
}>;
|
|
1050
|
+
readonly updatedBy: import("../server/orm.js").Many2oneField<'res.users', {
|
|
1051
|
+
required: false;
|
|
1052
|
+
readonly: true;
|
|
1053
|
+
computed: false;
|
|
1054
|
+
inverse: false;
|
|
1055
|
+
hasDefault: false;
|
|
1056
|
+
sequence: false;
|
|
1057
|
+
}>;
|
|
1058
|
+
readonly displayName: import("../server/orm.js").CharField<{
|
|
1059
|
+
required: true;
|
|
1060
|
+
readonly: true;
|
|
1061
|
+
computed: true;
|
|
1062
|
+
inverse: false;
|
|
1063
|
+
hasDefault: false;
|
|
1064
|
+
sequence: false;
|
|
1065
|
+
}>;
|
|
1066
|
+
readonly allocation: import("../server/orm.js").Many2oneField<"production.overhead.allocation", {
|
|
1067
|
+
readonly required: true;
|
|
1068
|
+
readonly computed: false;
|
|
1069
|
+
readonly inverse: false;
|
|
1070
|
+
readonly sequence: false;
|
|
1071
|
+
readonly computeName: undefined;
|
|
1072
|
+
readonly store: true;
|
|
1073
|
+
readonly hasDefault: false;
|
|
1074
|
+
readonly readonly: false;
|
|
1075
|
+
}>;
|
|
1076
|
+
readonly order: import("../server/orm.js").Many2oneField<"production.order", {
|
|
1077
|
+
readonly required: true;
|
|
1078
|
+
readonly computed: false;
|
|
1079
|
+
readonly inverse: false;
|
|
1080
|
+
readonly sequence: false;
|
|
1081
|
+
readonly computeName: undefined;
|
|
1082
|
+
readonly store: true;
|
|
1083
|
+
readonly hasDefault: false;
|
|
1084
|
+
readonly readonly: false;
|
|
1085
|
+
}>;
|
|
1086
|
+
readonly product: import("../server/orm.js").Many2oneField<"product.product", {
|
|
1087
|
+
readonly required: true;
|
|
1088
|
+
readonly computed: false;
|
|
1089
|
+
readonly inverse: false;
|
|
1090
|
+
readonly sequence: false;
|
|
1091
|
+
readonly computeName: undefined;
|
|
1092
|
+
readonly store: true;
|
|
1093
|
+
readonly hasDefault: false;
|
|
1094
|
+
readonly readonly: false;
|
|
1095
|
+
}>;
|
|
1096
|
+
readonly quantity: import("../server/orm.js").DecimalField<{
|
|
1097
|
+
readonly required: true;
|
|
1098
|
+
readonly computed: false;
|
|
1099
|
+
readonly inverse: false;
|
|
1100
|
+
readonly sequence: false;
|
|
1101
|
+
readonly computeName: undefined;
|
|
1102
|
+
readonly store: true;
|
|
1103
|
+
readonly hasDefault: true;
|
|
1104
|
+
readonly readonly: false;
|
|
1105
|
+
}>;
|
|
1106
|
+
readonly share: import("../server/orm.js").DecimalField<{
|
|
1107
|
+
readonly required: true;
|
|
1108
|
+
readonly computed: false;
|
|
1109
|
+
readonly inverse: false;
|
|
1110
|
+
readonly sequence: false;
|
|
1111
|
+
readonly computeName: undefined;
|
|
1112
|
+
readonly store: true;
|
|
1113
|
+
readonly hasDefault: true;
|
|
1114
|
+
readonly readonly: false;
|
|
1115
|
+
}>;
|
|
1116
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
1117
|
+
readonly required: true;
|
|
1118
|
+
readonly computed: false;
|
|
1119
|
+
readonly inverse: false;
|
|
1120
|
+
readonly sequence: false;
|
|
1121
|
+
readonly computeName: undefined;
|
|
1122
|
+
readonly store: true;
|
|
1123
|
+
readonly hasDefault: true;
|
|
1124
|
+
readonly readonly: false;
|
|
1125
|
+
}>;
|
|
1126
|
+
}, {} & import("../server/orm.js").TransitionMethods<{
|
|
1127
|
+
readonly allocation: import("../server/orm.js").Many2oneField<"production.overhead.allocation", {
|
|
1128
|
+
readonly required: true;
|
|
1129
|
+
readonly computed: false;
|
|
1130
|
+
readonly inverse: false;
|
|
1131
|
+
readonly sequence: false;
|
|
1132
|
+
readonly computeName: undefined;
|
|
1133
|
+
readonly store: true;
|
|
1134
|
+
readonly hasDefault: false;
|
|
1135
|
+
readonly readonly: false;
|
|
1136
|
+
}>;
|
|
1137
|
+
readonly order: import("../server/orm.js").Many2oneField<"production.order", {
|
|
1138
|
+
readonly required: true;
|
|
1139
|
+
readonly computed: false;
|
|
1140
|
+
readonly inverse: false;
|
|
1141
|
+
readonly sequence: false;
|
|
1142
|
+
readonly computeName: undefined;
|
|
1143
|
+
readonly store: true;
|
|
1144
|
+
readonly hasDefault: false;
|
|
1145
|
+
readonly readonly: false;
|
|
1146
|
+
}>;
|
|
1147
|
+
readonly product: import("../server/orm.js").Many2oneField<"product.product", {
|
|
1148
|
+
readonly required: true;
|
|
1149
|
+
readonly computed: false;
|
|
1150
|
+
readonly inverse: false;
|
|
1151
|
+
readonly sequence: false;
|
|
1152
|
+
readonly computeName: undefined;
|
|
1153
|
+
readonly store: true;
|
|
1154
|
+
readonly hasDefault: false;
|
|
1155
|
+
readonly readonly: false;
|
|
1156
|
+
}>;
|
|
1157
|
+
readonly quantity: import("../server/orm.js").DecimalField<{
|
|
1158
|
+
readonly required: true;
|
|
1159
|
+
readonly computed: false;
|
|
1160
|
+
readonly inverse: false;
|
|
1161
|
+
readonly sequence: false;
|
|
1162
|
+
readonly computeName: undefined;
|
|
1163
|
+
readonly store: true;
|
|
1164
|
+
readonly hasDefault: true;
|
|
1165
|
+
readonly readonly: false;
|
|
1166
|
+
}>;
|
|
1167
|
+
readonly share: import("../server/orm.js").DecimalField<{
|
|
1168
|
+
readonly required: true;
|
|
1169
|
+
readonly computed: false;
|
|
1170
|
+
readonly inverse: false;
|
|
1171
|
+
readonly sequence: false;
|
|
1172
|
+
readonly computeName: undefined;
|
|
1173
|
+
readonly store: true;
|
|
1174
|
+
readonly hasDefault: true;
|
|
1175
|
+
readonly readonly: false;
|
|
1176
|
+
}>;
|
|
1177
|
+
readonly amount: import("../server/orm.js").DecimalField<{
|
|
1178
|
+
readonly required: true;
|
|
1179
|
+
readonly computed: false;
|
|
1180
|
+
readonly inverse: false;
|
|
1181
|
+
readonly sequence: false;
|
|
1182
|
+
readonly computeName: undefined;
|
|
1183
|
+
readonly store: true;
|
|
1184
|
+
readonly hasDefault: true;
|
|
1185
|
+
readonly readonly: false;
|
|
1186
|
+
}>;
|
|
1187
|
+
}>>;
|
|
1188
|
+
/** Actual against absorbed per overhead account, and the month's done orders' shares of the difference. */
|
|
1189
|
+
export declare function reckonAllocation(env: Env, id: Id<'production.overhead.allocation'>): Promise<void>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Posts the allocation once: each account's difference credited (debited when over-absorbed) against the stock
|
|
1192
|
+
* valuation account for what is still on hand and the cost of sales for what was sold, per order; the layers and
|
|
1193
|
+
* the average costs follow.
|
|
1194
|
+
*/
|
|
1195
|
+
export declare function postAllocation(env: Env, id: Id<'production.overhead.allocation'>): Promise<void>;
|