shutro-erp 0.3.4 → 0.3.6
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.d.ts +22 -0
- package/dist/account_asset/.kosh/bindings.js +15 -0
- package/dist/account_asset/.kosh/schema.d.ts +1755 -0
- package/dist/account_asset/board.d.ts +61 -0
- package/dist/account_asset/board.js +86 -0
- package/dist/account_asset/books.d.ts +42 -0
- package/dist/account_asset/books.js +398 -0
- package/dist/account_asset/demo.d.ts +7 -0
- package/dist/account_asset/demo.js +72 -0
- package/dist/account_asset/index.d.ts +9 -0
- package/dist/account_asset/index.js +335 -0
- package/dist/account_asset/module.d.ts +7622 -0
- package/dist/account_asset/module.js +230 -0
- package/dist/account_budget/.kosh/bindings.d.ts +22 -0
- package/dist/account_budget/.kosh/bindings.js +15 -0
- package/dist/account_budget/.kosh/schema.d.ts +1767 -0
- package/dist/account_budget/budget.d.ts +5 -0
- package/dist/account_budget/budget.js +142 -0
- package/dist/account_budget/demo.d.ts +6 -0
- package/dist/account_budget/demo.js +30 -0
- package/dist/account_budget/index.d.ts +4 -0
- package/dist/account_budget/index.js +223 -0
- package/dist/account_budget/module.d.ts +13863 -0
- package/dist/account_budget/module.js +167 -0
- package/dist/account_portal/.kosh/bindings.js +1 -1
- package/dist/account_portal/.kosh/schema.d.ts +176 -6
- package/dist/account_portal/module.d.ts +505 -6
- package/dist/accounting/.kosh/bindings.js +1 -1
- package/dist/accounting/.kosh/schema.d.ts +176 -6
- package/dist/accounting/index.d.ts +1 -1
- package/dist/accounting/index.js +344 -4
- package/dist/accounting/module.d.ts +513 -5
- package/dist/accounting/module.js +55 -3
- package/dist/approvals/.kosh/bindings.d.ts +22 -0
- package/dist/approvals/.kosh/bindings.js +15 -0
- package/dist/approvals/.kosh/schema.d.ts +611 -0
- package/dist/approvals/index.d.ts +18 -0
- package/dist/approvals/index.js +302 -0
- package/dist/approvals/mails.d.ts +25 -0
- package/dist/approvals/mails.js +82 -0
- package/dist/approvals/module.d.ts +1 -0
- package/dist/approvals/module.js +12 -0
- package/dist/approvals/web/History.d.ts +4 -0
- package/dist/approvals/web/History.js +13 -0
- package/dist/approvals/web/Inbox.d.ts +9 -0
- package/dist/approvals/web/Inbox.js +114 -0
- package/dist/approvals/web/Mine.d.ts +7 -0
- package/dist/approvals/web/Mine.js +27 -0
- package/dist/approvals/web/index.d.ts +13 -0
- package/dist/approvals/web/index.js +22 -0
- package/dist/approvals/web/messages.d.ts +2 -0
- package/dist/approvals/web/messages.js +119 -0
- package/dist/approvals/web/shared.d.ts +59 -0
- package/dist/approvals/web/shared.js +46 -0
- package/dist/attendance/.kosh/bindings.d.ts +22 -0
- package/dist/attendance/.kosh/bindings.js +15 -0
- package/dist/attendance/.kosh/schema.d.ts +1048 -0
- package/dist/attendance/days.d.ts +96 -0
- package/dist/attendance/days.js +430 -0
- package/dist/attendance/demo.d.ts +7 -0
- package/dist/attendance/demo.js +58 -0
- package/dist/attendance/index.d.ts +4 -0
- package/dist/attendance/index.js +513 -0
- package/dist/attendance/module.d.ts +3969 -0
- package/dist/attendance/module.js +412 -0
- package/dist/attendance/routes.d.ts +16 -0
- package/dist/attendance/routes.js +266 -0
- package/dist/attendance/web/Check.d.ts +8 -0
- package/dist/attendance/web/Check.js +40 -0
- package/dist/attendance/web/Kiosk.d.ts +8 -0
- package/dist/attendance/web/Kiosk.js +62 -0
- package/dist/attendance/web/PinButton.d.ts +7 -0
- package/dist/attendance/web/PinButton.js +29 -0
- package/dist/attendance/web/index.d.ts +13 -0
- package/dist/attendance/web/index.js +22 -0
- package/dist/attendance/web/messages.d.ts +2 -0
- package/dist/attendance/web/messages.js +61 -0
- package/dist/calendar/.kosh/bindings.d.ts +22 -0
- package/dist/calendar/.kosh/bindings.js +15 -0
- package/dist/calendar/.kosh/schema.d.ts +795 -0
- package/dist/calendar/demo.d.ts +6 -0
- package/dist/calendar/demo.js +24 -0
- package/dist/calendar/index.d.ts +3 -0
- package/dist/calendar/index.js +291 -0
- package/dist/calendar/module.d.ts +1705 -0
- package/dist/calendar/module.js +180 -0
- package/dist/cli/init.js +80 -0
- package/dist/cli/templates.d.ts +1 -1
- package/dist/cli/templates.js +226 -0
- package/dist/contacts/.kosh/bindings.js +1 -1
- package/dist/contacts/.kosh/schema.d.ts +78 -3
- package/dist/contacts/demo.js +30 -1
- package/dist/contacts/index.d.ts +1 -1
- package/dist/contacts/index.js +155 -9
- package/dist/contacts/module.d.ts +338 -2
- package/dist/contacts/module.js +93 -5
- package/dist/crm/.kosh/bindings.d.ts +22 -0
- package/dist/crm/.kosh/bindings.js +15 -0
- package/dist/crm/.kosh/schema.d.ts +800 -0
- package/dist/crm/demo.d.ts +6 -0
- package/dist/crm/demo.js +45 -0
- package/dist/crm/index.d.ts +3 -0
- package/dist/crm/index.js +361 -0
- package/dist/crm/module.d.ts +1845 -0
- package/dist/crm/module.js +208 -0
- package/dist/documents/.kosh/bindings.d.ts +22 -0
- package/dist/documents/.kosh/bindings.js +15 -0
- package/dist/documents/.kosh/schema.d.ts +862 -0
- package/dist/documents/demo.d.ts +6 -0
- package/dist/documents/demo.js +22 -0
- package/dist/documents/documents.d.ts +98 -0
- package/dist/documents/documents.js +318 -0
- package/dist/documents/index.d.ts +30 -0
- package/dist/documents/index.js +442 -0
- package/dist/documents/module.d.ts +2781 -0
- package/dist/documents/module.js +214 -0
- package/dist/documents/web/Versions.d.ts +7 -0
- package/dist/documents/web/Versions.js +45 -0
- package/dist/documents/web/index.d.ts +11 -0
- package/dist/documents/web/index.js +16 -0
- package/dist/documents/web/messages.d.ts +2 -0
- package/dist/documents/web/messages.js +21 -0
- package/dist/event/.kosh/bindings.d.ts +22 -0
- package/dist/event/.kosh/bindings.js +15 -0
- package/dist/event/.kosh/schema.d.ts +843 -0
- package/dist/event/demo.d.ts +6 -0
- package/dist/event/demo.js +65 -0
- package/dist/event/index.d.ts +14 -0
- package/dist/event/index.js +333 -0
- package/dist/event/mails.d.ts +15 -0
- package/dist/event/mails.js +112 -0
- package/dist/event/module.d.ts +2800 -0
- package/dist/event/module.js +323 -0
- package/dist/event/web/CheckInBox.d.ts +9 -0
- package/dist/event/web/CheckInBox.js +87 -0
- package/dist/event/web/index.d.ts +11 -0
- package/dist/event/web/index.js +16 -0
- package/dist/event/web/messages.d.ts +2 -0
- package/dist/event/web/messages.js +23 -0
- package/dist/event_account/.kosh/bindings.d.ts +22 -0
- package/dist/event_account/.kosh/bindings.js +15 -0
- package/dist/event_account/.kosh/schema.d.ts +1758 -0
- package/dist/event_account/index.d.ts +3 -0
- package/dist/event_account/index.js +28 -0
- package/dist/event_account/module.d.ts +7114 -0
- package/dist/event_account/module.js +90 -0
- package/dist/expense/.kosh/bindings.d.ts +22 -0
- package/dist/expense/.kosh/bindings.js +15 -0
- package/dist/expense/.kosh/schema.d.ts +1299 -0
- package/dist/expense/demo.d.ts +7 -0
- package/dist/expense/demo.js +69 -0
- package/dist/expense/index.d.ts +3 -0
- package/dist/expense/index.js +495 -0
- package/dist/expense/module.d.ts +4747 -0
- package/dist/expense/module.js +647 -0
- package/dist/expense_account/.kosh/bindings.d.ts +22 -0
- package/dist/expense_account/.kosh/bindings.js +15 -0
- package/dist/expense_account/.kosh/schema.d.ts +1936 -0
- package/dist/expense_account/index.d.ts +3 -0
- package/dist/expense_account/index.js +74 -0
- package/dist/expense_account/module.d.ts +9153 -0
- package/dist/expense_account/module.js +318 -0
- package/dist/helpdesk/.kosh/bindings.d.ts +22 -0
- package/dist/helpdesk/.kosh/bindings.js +15 -0
- package/dist/helpdesk/.kosh/schema.d.ts +885 -0
- package/dist/helpdesk/demo.d.ts +7 -0
- package/dist/helpdesk/demo.js +65 -0
- package/dist/helpdesk/hours.d.ts +17 -0
- package/dist/helpdesk/hours.js +94 -0
- package/dist/helpdesk/index.d.ts +10 -0
- package/dist/helpdesk/index.js +461 -0
- package/dist/helpdesk/module.d.ts +2940 -0
- package/dist/helpdesk/module.js +326 -0
- package/dist/helpdesk/routes.d.ts +12 -0
- package/dist/helpdesk/routes.js +132 -0
- package/dist/helpdesk/sla.d.ts +37 -0
- package/dist/helpdesk/sla.js +226 -0
- package/dist/hr/.kosh/bindings.d.ts +22 -0
- package/dist/hr/.kosh/bindings.js +15 -0
- package/dist/hr/.kosh/schema.d.ts +878 -0
- package/dist/hr/demo.d.ts +6 -0
- package/dist/hr/demo.js +60 -0
- package/dist/hr/index.d.ts +3 -0
- package/dist/hr/index.js +483 -0
- package/dist/hr/module.d.ts +2611 -0
- package/dist/hr/module.js +350 -0
- package/dist/l10n_bd/.kosh/bindings.js +1 -1
- package/dist/l10n_bd/.kosh/schema.d.ts +176 -6
- package/dist/l10n_bd/module.d.ts +505 -6
- package/dist/l10n_bd_payroll/.kosh/bindings.d.ts +22 -0
- package/dist/l10n_bd_payroll/.kosh/bindings.js +15 -0
- package/dist/l10n_bd_payroll/.kosh/schema.d.ts +2312 -0
- package/dist/l10n_bd_payroll/data.d.ts +47 -0
- package/dist/l10n_bd_payroll/data.js +347 -0
- package/dist/l10n_bd_payroll/index.d.ts +4 -0
- package/dist/l10n_bd_payroll/index.js +24 -0
- package/dist/l10n_bd_payroll/module.d.ts +12932 -0
- package/dist/l10n_bd_payroll/module.js +86 -0
- package/dist/l10n_in/.kosh/bindings.js +1 -1
- package/dist/l10n_in/.kosh/schema.d.ts +176 -6
- package/dist/l10n_in/module.d.ts +527 -7
- package/dist/mail/inbound/handle.js +6 -1
- package/dist/maintenance/.kosh/bindings.d.ts +22 -0
- package/dist/maintenance/.kosh/bindings.js +15 -0
- package/dist/maintenance/.kosh/schema.d.ts +911 -0
- package/dist/maintenance/demo.d.ts +6 -0
- package/dist/maintenance/demo.js +60 -0
- package/dist/maintenance/index.d.ts +3 -0
- package/dist/maintenance/index.js +422 -0
- package/dist/maintenance/module.d.ts +3545 -0
- package/dist/maintenance/module.js +446 -0
- package/dist/maintenance_stock/.kosh/bindings.d.ts +22 -0
- package/dist/maintenance_stock/.kosh/bindings.js +15 -0
- package/dist/maintenance_stock/.kosh/schema.d.ts +1446 -0
- package/dist/maintenance_stock/index.d.ts +9 -0
- package/dist/maintenance_stock/index.js +52 -0
- package/dist/maintenance_stock/module.d.ts +7675 -0
- package/dist/maintenance_stock/module.js +192 -0
- package/dist/modules-sdk/index.d.ts +1 -1
- package/dist/modules-sdk/manifest.d.ts +109 -2
- package/dist/modules-sdk/manifest.js +35 -1
- package/dist/mrp/.kosh/bindings.d.ts +22 -0
- package/dist/mrp/.kosh/bindings.js +15 -0
- package/dist/mrp/.kosh/schema.d.ts +1453 -0
- package/dist/mrp/demo.d.ts +7 -0
- package/dist/mrp/demo.js +42 -0
- package/dist/mrp/index.d.ts +3 -0
- package/dist/mrp/index.js +393 -0
- package/dist/mrp/module.d.ts +9335 -0
- package/dist/mrp/module.js +757 -0
- package/dist/mrp_account/.kosh/bindings.d.ts +22 -0
- package/dist/mrp_account/.kosh/bindings.js +15 -0
- package/dist/mrp_account/.kosh/schema.d.ts +2299 -0
- package/dist/mrp_account/index.d.ts +3 -0
- package/dist/mrp_account/index.js +22 -0
- package/dist/mrp_account/module.d.ts +23151 -0
- package/dist/mrp_account/module.js +123 -0
- package/dist/payment/.kosh/bindings.js +1 -1
- package/dist/payment/.kosh/schema.d.ts +178 -7
- package/dist/payment/index.d.ts +41 -0
- package/dist/payment/index.js +131 -74
- package/dist/payment/module.d.ts +569 -12
- package/dist/payment/module.js +19 -3
- package/dist/payment/settle.js +10 -1
- package/dist/payroll/.kosh/bindings.d.ts +22 -0
- package/dist/payroll/.kosh/bindings.js +15 -0
- package/dist/payroll/.kosh/schema.d.ts +1390 -0
- package/dist/payroll/compute.d.ts +35 -0
- package/dist/payroll/compute.js +398 -0
- package/dist/payroll/demo.d.ts +55 -0
- package/dist/payroll/demo.js +121 -0
- package/dist/payroll/formula.d.ts +62 -0
- package/dist/payroll/formula.js +320 -0
- package/dist/payroll/index.d.ts +230 -0
- package/dist/payroll/index.js +713 -0
- package/dist/payroll/module.d.ts +9390 -0
- package/dist/payroll/module.js +606 -0
- package/dist/payroll/routes.d.ts +10 -0
- package/dist/payroll/routes.js +112 -0
- package/dist/payroll_account/.kosh/bindings.d.ts +22 -0
- package/dist/payroll_account/.kosh/bindings.js +15 -0
- package/dist/payroll_account/.kosh/schema.d.ts +2308 -0
- package/dist/payroll_account/index.d.ts +3 -0
- package/dist/payroll_account/index.js +40 -0
- package/dist/payroll_account/module.d.ts +12396 -0
- package/dist/payroll_account/module.js +256 -0
- package/dist/permissions/approvals.d.ts +131 -9
- package/dist/permissions/approvals.js +662 -57
- package/dist/permissions/index.d.ts +1 -1
- package/dist/permissions/index.js +2 -2
- package/dist/permissions/models.js +191 -12
- package/dist/permissions/routes.d.ts +6 -1
- package/dist/permissions/routes.js +37 -4
- package/dist/permissions/web/ApprovalPanel.d.ts +5 -4
- package/dist/permissions/web/ApprovalPanel.js +39 -13
- package/dist/permissions/web/index.d.ts +6 -4
- package/dist/permissions/web/index.js +13 -4
- package/dist/permissions/web/messages.d.ts +2 -0
- package/dist/permissions/web/messages.js +43 -0
- package/dist/portal/.kosh/bindings.js +1 -1
- package/dist/portal/.kosh/schema.d.ts +78 -3
- package/dist/portal/index.js +1 -1
- package/dist/portal/module.d.ts +166 -2
- package/dist/pos/.kosh/bindings.d.ts +22 -0
- package/dist/pos/.kosh/bindings.js +15 -0
- package/dist/pos/.kosh/schema.d.ts +1809 -0
- package/dist/pos/accounting.d.ts +10 -0
- package/dist/pos/accounting.js +149 -0
- package/dist/pos/demo.d.ts +6 -0
- package/dist/pos/demo.js +90 -0
- package/dist/pos/index.d.ts +9 -0
- package/dist/pos/index.js +353 -0
- package/dist/pos/module.d.ts +9783 -0
- package/dist/pos/module.js +423 -0
- package/dist/pos/routes.d.ts +39 -0
- package/dist/pos/routes.js +368 -0
- package/dist/pos/web/Register.d.ts +9 -0
- package/dist/pos/web/Register.js +252 -0
- package/dist/pos/web/index.d.ts +11 -0
- package/dist/pos/web/index.js +16 -0
- package/dist/pos/web/messages.d.ts +2 -0
- package/dist/pos/web/messages.js +87 -0
- package/dist/pos_stock/.kosh/bindings.d.ts +22 -0
- package/dist/pos_stock/.kosh/bindings.js +15 -0
- package/dist/pos_stock/.kosh/schema.d.ts +2208 -0
- package/dist/pos_stock/index.d.ts +9 -0
- package/dist/pos_stock/index.js +35 -0
- package/dist/pos_stock/module.d.ts +12803 -0
- package/dist/pos_stock/module.js +115 -0
- package/dist/product/.kosh/bindings.js +1 -1
- package/dist/product/.kosh/schema.d.ts +52 -1
- package/dist/product/index.js +94 -4
- package/dist/product/module.d.ts +45 -1
- package/dist/product/module.js +11 -3
- package/dist/project/.kosh/bindings.js +1 -1
- package/dist/project/.kosh/schema.d.ts +725 -3
- package/dist/project/index.d.ts +3 -1
- package/dist/project/index.js +1045 -18
- package/dist/project/module.d.ts +10168 -458
- package/dist/project/module.js +1578 -14
- package/dist/project/routes.d.ts +44 -0
- package/dist/project/routes.js +314 -0
- package/dist/project/schedule.d.ts +72 -0
- package/dist/project/schedule.js +192 -0
- package/dist/project/web/Refresh.d.ts +8 -0
- package/dist/project/web/Refresh.js +29 -0
- package/dist/project/web/Schedule.d.ts +9 -0
- package/dist/project/web/Schedule.js +93 -0
- package/dist/project/web/Structure.d.ts +8 -0
- package/dist/project/web/Structure.js +86 -0
- package/dist/project/web/Workload.d.ts +8 -0
- package/dist/project/web/Workload.js +43 -0
- package/dist/project/web/index.d.ts +14 -0
- package/dist/project/web/index.js +25 -0
- package/dist/project/web/messages.d.ts +2 -0
- package/dist/project/web/messages.js +85 -0
- package/dist/project_account/.kosh/bindings.d.ts +22 -0
- package/dist/project_account/.kosh/bindings.js +15 -0
- package/dist/project_account/.kosh/schema.d.ts +2241 -0
- package/dist/project_account/index.d.ts +3 -0
- package/dist/project_account/index.js +27 -0
- package/dist/project_account/module.d.ts +11539 -0
- package/dist/project_account/module.js +76 -0
- package/dist/project_portal/.kosh/bindings.js +1 -1
- package/dist/project_portal/.kosh/schema.d.ts +725 -3
- package/dist/project_portal/module.d.ts +5137 -119
- package/dist/project_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/project_purchase/.kosh/bindings.js +15 -0
- package/dist/project_purchase/.kosh/schema.d.ts +2320 -0
- package/dist/project_purchase/index.d.ts +9 -0
- package/dist/project_purchase/index.js +22 -0
- package/dist/project_purchase/module.d.ts +25147 -0
- package/dist/project_purchase/module.js +56 -0
- package/dist/purchase/.kosh/bindings.js +1 -1
- package/dist/purchase/.kosh/schema.d.ts +150 -6
- package/dist/purchase/index.js +163 -3
- package/dist/purchase/module.d.ts +228 -5
- package/dist/purchase/module.js +30 -3
- package/dist/purchase_account/.kosh/bindings.js +1 -1
- package/dist/purchase_account/.kosh/schema.d.ts +180 -8
- package/dist/purchase_account/index.js +27 -1
- package/dist/purchase_account/module.d.ts +591 -30
- package/dist/purchase_account/module.js +13 -2
- package/dist/purchase_portal/.kosh/bindings.js +1 -1
- package/dist/purchase_portal/.kosh/schema.d.ts +150 -6
- package/dist/purchase_portal/module.d.ts +372 -6
- package/dist/purchase_stock/.kosh/bindings.d.ts +22 -0
- package/dist/purchase_stock/.kosh/bindings.js +15 -0
- package/dist/purchase_stock/.kosh/schema.d.ts +1479 -0
- package/dist/purchase_stock/index.d.ts +7 -0
- package/dist/purchase_stock/index.js +98 -0
- package/dist/purchase_stock/module.d.ts +7535 -0
- package/dist/purchase_stock/module.js +380 -0
- package/dist/purchase_stock_account/.kosh/bindings.d.ts +22 -0
- package/dist/purchase_stock_account/.kosh/bindings.js +15 -0
- package/dist/purchase_stock_account/.kosh/schema.d.ts +2155 -0
- package/dist/purchase_stock_account/index.d.ts +3 -0
- package/dist/purchase_stock_account/index.js +24 -0
- package/dist/purchase_stock_account/module.d.ts +38015 -0
- package/dist/purchase_stock_account/module.js +168 -0
- package/dist/recruitment/.kosh/bindings.d.ts +22 -0
- package/dist/recruitment/.kosh/bindings.js +15 -0
- package/dist/recruitment/.kosh/schema.d.ts +991 -0
- package/dist/recruitment/demo.d.ts +6 -0
- package/dist/recruitment/demo.js +45 -0
- package/dist/recruitment/index.d.ts +3 -0
- package/dist/recruitment/index.js +385 -0
- package/dist/recruitment/module.d.ts +3249 -0
- package/dist/recruitment/module.js +194 -0
- package/dist/recruitment/web/HireButton.d.ts +9 -0
- package/dist/recruitment/web/HireButton.js +32 -0
- package/dist/recruitment/web/index.d.ts +11 -0
- package/dist/recruitment/web/index.js +16 -0
- package/dist/recruitment/web/messages.d.ts +2 -0
- package/dist/recruitment/web/messages.js +19 -0
- package/dist/reporting/documents.d.ts +5 -0
- package/dist/reporting/documents.js +28 -1
- package/dist/reporting/index.d.ts +1 -1
- package/dist/reporting/index.js +4 -2
- package/dist/reporting/models.js +9 -0
- package/dist/reporting/overviews.d.ts +16 -0
- package/dist/reporting/overviews.js +56 -0
- package/dist/reporting/routes-documents.js +1 -1
- package/dist/reporting/routes.js +138 -80
- package/dist/reporting/web/DashboardView.d.ts +11 -0
- package/dist/reporting/web/DashboardView.js +2 -2
- package/dist/reporting/web/DesignerView.js +5 -0
- package/dist/reporting/web/Overview.d.ts +9 -0
- package/dist/reporting/web/Overview.js +53 -0
- package/dist/reporting/web/index.d.ts +1 -0
- package/dist/reporting/web/index.js +4 -1
- package/dist/reporting/web/messages.js +9 -0
- package/dist/sale_account/.kosh/bindings.js +1 -1
- package/dist/sale_account/.kosh/schema.d.ts +181 -6
- package/dist/sale_account/index.js +22 -1
- package/dist/sale_account/module.d.ts +639 -38
- package/dist/sale_portal/.kosh/bindings.js +1 -1
- package/dist/sale_portal/.kosh/schema.d.ts +59 -3
- package/dist/sale_portal/module.d.ts +435 -5
- package/dist/sale_project/.kosh/bindings.js +1 -1
- package/dist/sale_project/.kosh/schema.d.ts +732 -3
- package/dist/sale_project/module.d.ts +5349 -208
- package/dist/sale_project/module.js +17 -1
- package/dist/sale_stock/.kosh/bindings.d.ts +22 -0
- package/dist/sale_stock/.kosh/bindings.js +15 -0
- package/dist/sale_stock/.kosh/schema.d.ts +1303 -0
- package/dist/sale_stock/index.d.ts +7 -0
- package/dist/sale_stock/index.js +84 -0
- package/dist/sale_stock/module.d.ts +7514 -0
- package/dist/sale_stock/module.js +146 -0
- package/dist/sales/.kosh/bindings.js +1 -1
- package/dist/sales/.kosh/schema.d.ts +59 -3
- package/dist/sales/index.js +195 -4
- package/dist/sales/module.d.ts +356 -3
- package/dist/sales/module.js +78 -3
- package/dist/server/api/metadata.d.ts +5 -0
- package/dist/server/api/metadata.js +5 -0
- package/dist/server/api/rest.js +64 -1
- package/dist/server/api/views.js +1 -0
- package/dist/server/app-settings.d.ts +7 -0
- package/dist/server/app-settings.js +10 -0
- package/dist/server/auth/base.js +9 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +1 -0
- package/dist/settings/app-settings.d.ts +2 -0
- package/dist/settings/app-settings.js +518 -0
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +15 -0
- package/dist/settings/people.js +29 -5
- package/dist/settings/web/AppSettingsPage.d.ts +11 -0
- package/dist/settings/web/AppSettingsPage.js +210 -0
- package/dist/settings/web/OverviewPage.js +16 -3
- package/dist/settings/web/PeoplePage.js +20 -6
- package/dist/settings/web/index.d.ts +1 -0
- package/dist/settings/web/index.js +3 -0
- package/dist/settings/web/messages.js +118 -2
- package/dist/sign/.kosh/bindings.d.ts +22 -0
- package/dist/sign/.kosh/bindings.js +15 -0
- package/dist/sign/.kosh/schema.d.ts +990 -0
- package/dist/sign/index.d.ts +14 -0
- package/dist/sign/index.js +350 -0
- package/dist/sign/module.d.ts +4478 -0
- package/dist/sign/module.js +158 -0
- package/dist/sign/sign.d.ts +82 -0
- package/dist/sign/sign.js +474 -0
- package/dist/stock/.kosh/bindings.d.ts +22 -0
- package/dist/stock/.kosh/bindings.js +15 -0
- package/dist/stock/.kosh/schema.d.ts +1222 -0
- package/dist/stock/demo.d.ts +8 -0
- package/dist/stock/demo.js +82 -0
- package/dist/stock/index.d.ts +4 -0
- package/dist/stock/index.js +903 -0
- package/dist/stock/module.d.ts +7856 -0
- package/dist/stock/module.js +1880 -0
- package/dist/stock/replenish.d.ts +38 -0
- package/dist/stock/replenish.js +176 -0
- package/dist/stock/web/Replenishment.d.ts +8 -0
- package/dist/stock/web/Replenishment.js +84 -0
- package/dist/stock/web/ScanBox.d.ts +8 -0
- package/dist/stock/web/ScanBox.js +90 -0
- package/dist/stock/web/index.d.ts +13 -0
- package/dist/stock/web/index.js +20 -0
- package/dist/stock/web/messages.d.ts +2 -0
- package/dist/stock/web/messages.js +77 -0
- package/dist/stock_account/.kosh/bindings.d.ts +22 -0
- package/dist/stock_account/.kosh/bindings.js +15 -0
- package/dist/stock_account/.kosh/schema.d.ts +2068 -0
- package/dist/stock_account/index.d.ts +3 -0
- package/dist/stock_account/index.js +140 -0
- package/dist/stock_account/module.d.ts +11523 -0
- package/dist/stock_account/module.js +339 -0
- package/dist/storage/attachments.d.ts +5 -0
- package/dist/storage/attachments.js +12 -1
- package/dist/storage/models.js +3 -0
- package/dist/storage/routes.js +13 -2
- package/dist/todo/.kosh/bindings.d.ts +22 -0
- package/dist/todo/.kosh/bindings.js +15 -0
- package/dist/todo/.kosh/schema.d.ts +732 -0
- package/dist/todo/demo.d.ts +6 -0
- package/dist/todo/demo.js +35 -0
- package/dist/todo/index.d.ts +3 -0
- package/dist/todo/index.js +187 -0
- package/dist/todo/module.d.ts +1180 -0
- package/dist/todo/module.js +130 -0
- package/dist/trade_finance/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance/.kosh/bindings.js +15 -0
- package/dist/trade_finance/.kosh/schema.d.ts +884 -0
- package/dist/trade_finance/demo.d.ts +6 -0
- package/dist/trade_finance/demo.js +63 -0
- package/dist/trade_finance/index.d.ts +3 -0
- package/dist/trade_finance/index.js +415 -0
- package/dist/trade_finance/module.d.ts +3779 -0
- package/dist/trade_finance/module.js +507 -0
- package/dist/trade_finance_account/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_account/.kosh/bindings.js +15 -0
- package/dist/trade_finance_account/.kosh/schema.d.ts +1830 -0
- package/dist/trade_finance_account/index.d.ts +3 -0
- package/dist/trade_finance_account/index.js +93 -0
- package/dist/trade_finance_account/module.d.ts +8074 -0
- package/dist/trade_finance_account/module.js +245 -0
- package/dist/trade_finance_purchase/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_purchase/.kosh/bindings.js +15 -0
- package/dist/trade_finance_purchase/.kosh/schema.d.ts +1246 -0
- package/dist/trade_finance_purchase/index.d.ts +8 -0
- package/dist/trade_finance_purchase/index.js +50 -0
- package/dist/trade_finance_purchase/module.d.ts +4257 -0
- package/dist/trade_finance_purchase/module.js +44 -0
- package/dist/trade_finance_sale/.kosh/bindings.d.ts +22 -0
- package/dist/trade_finance_sale/.kosh/bindings.js +15 -0
- package/dist/trade_finance_sale/.kosh/schema.d.ts +1072 -0
- package/dist/trade_finance_sale/index.d.ts +8 -0
- package/dist/trade_finance_sale/index.js +50 -0
- package/dist/trade_finance_sale/module.d.ts +4281 -0
- package/dist/trade_finance_sale/module.js +44 -0
- package/dist/ui/api.d.ts +2 -1
- package/dist/ui/api.js +2 -1
- package/dist/ui/app.js +26 -13
- package/dist/ui/components/AppIcon.js +30 -1
- package/dist/ui/components/primitives.d.ts +2 -0
- package/dist/ui/components/primitives.js +7 -1
- package/dist/ui/i18n/messages.d.ts +27 -0
- package/dist/ui/i18n/messages.js +46 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/offline/queue.d.ts +5 -1
- package/dist/ui/offline/queue.js +2 -0
- package/dist/ui/registry.d.ts +5 -0
- package/dist/ui/shell/Home.js +55 -4
- package/dist/ui/views/FormView.js +102 -19
- package/dist/ui/views/KanbanView.d.ts +2 -0
- package/dist/ui/views/KanbanView.js +40 -3
- package/dist/ui/views/ListView.js +110 -11
- package/dist/ui/views/StatsRow.d.ts +14 -0
- package/dist/ui/views/StatsRow.js +88 -0
- package/dist/ui/views/widgets.d.ts +2 -1
- package/dist/ui/views/widgets.js +200 -1
- package/dist/views/builders.d.ts +19 -2
- package/dist/views/builders.js +21 -1
- package/dist/views/condition.d.ts +6 -0
- package/dist/views/condition.js +20 -0
- package/dist/views/documents.d.ts +8 -0
- package/dist/views/extend.d.ts +2 -2
- package/dist/views/extend.js +11 -1
- package/dist/views/index.d.ts +2 -2
- package/dist/views/index.js +2 -2
- package/dist/views/types.d.ts +52 -5
- package/dist/views/validate.js +39 -1
- package/dist/website/.kosh/bindings.d.ts +22 -0
- package/dist/website/.kosh/bindings.js +15 -0
- package/dist/website/.kosh/schema.d.ts +881 -0
- package/dist/website/demo.d.ts +6 -0
- package/dist/website/demo.js +115 -0
- package/dist/website/index.d.ts +9 -0
- package/dist/website/index.js +251 -0
- package/dist/website/module.d.ts +2987 -0
- package/dist/website/module.js +282 -0
- package/dist/website/render.d.ts +45 -0
- package/dist/website/render.js +102 -0
- package/dist/website/routes.d.ts +12 -0
- package/dist/website/routes.js +246 -0
- package/dist/website/web/PagePreview.d.ts +7 -0
- package/dist/website/web/PagePreview.js +33 -0
- package/dist/website/web/index.d.ts +11 -0
- package/dist/website/web/index.js +16 -0
- package/dist/website/web/messages.d.ts +2 -0
- package/dist/website/web/messages.js +15 -0
- package/dist/website_crm/.kosh/bindings.d.ts +22 -0
- package/dist/website_crm/.kosh/bindings.js +15 -0
- package/dist/website_crm/.kosh/schema.d.ts +967 -0
- package/dist/website_crm/index.d.ts +3 -0
- package/dist/website_crm/index.js +39 -0
- package/dist/website_crm/module.d.ts +2956 -0
- package/dist/website_crm/module.js +44 -0
- package/dist/website_sale/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale/.kosh/bindings.js +15 -0
- package/dist/website_sale/.kosh/schema.d.ts +2284 -0
- package/dist/website_sale/couriers.d.ts +50 -0
- package/dist/website_sale/couriers.js +59 -0
- package/dist/website_sale/demo.d.ts +7 -0
- package/dist/website_sale/demo.js +90 -0
- package/dist/website_sale/growth.d.ts +31 -0
- package/dist/website_sale/growth.js +163 -0
- package/dist/website_sale/index.d.ts +49 -0
- package/dist/website_sale/index.js +538 -0
- package/dist/website_sale/module.d.ts +22027 -0
- package/dist/website_sale/module.js +397 -0
- package/dist/website_sale/shipments.d.ts +16 -0
- package/dist/website_sale/shipments.js +113 -0
- package/dist/website_sale/shop.d.ts +81 -0
- package/dist/website_sale/shop.js +649 -0
- package/dist/website_sale_stock/.kosh/bindings.d.ts +22 -0
- package/dist/website_sale_stock/.kosh/bindings.js +15 -0
- package/dist/website_sale_stock/.kosh/schema.d.ts +2681 -0
- package/dist/website_sale_stock/index.d.ts +9 -0
- package/dist/website_sale_stock/index.js +20 -0
- package/dist/website_sale_stock/module.d.ts +24998 -0
- package/dist/website_sale_stock/module.js +28 -0
- package/package.json +200 -2
|
@@ -0,0 +1,2312 @@
|
|
|
1
|
+
// GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 43ac979017849a2b
|
|
2
|
+
// Schema view of module `l10n_bd_payroll` (RFC 0002 §7.7): the models it owns or depends on, with the extensions it can see.
|
|
3
|
+
import type { F } from '../../server/orm.js';
|
|
4
|
+
|
|
5
|
+
/** Model name → model type (RFC 0002 §7.7). */
|
|
6
|
+
export interface SchemaView {
|
|
7
|
+
readonly 'account.account': AccountAccount;
|
|
8
|
+
readonly 'account.analytic': AccountAnalytic;
|
|
9
|
+
readonly 'account.fiscal.year': AccountFiscalYear;
|
|
10
|
+
readonly 'account.full.reconcile': AccountFullReconcile;
|
|
11
|
+
readonly 'account.journal': AccountJournal;
|
|
12
|
+
readonly 'account.move': AccountMove;
|
|
13
|
+
readonly 'account.move.line': AccountMoveLine;
|
|
14
|
+
readonly 'account.partial.reconcile': AccountPartialReconcile;
|
|
15
|
+
readonly 'account.payment': AccountPayment;
|
|
16
|
+
readonly 'account.payment.term': AccountPaymentTerm;
|
|
17
|
+
readonly 'account.payment.term.line': AccountPaymentTermLine;
|
|
18
|
+
readonly 'account.payment.withholding': AccountPaymentWithholding;
|
|
19
|
+
readonly 'account.tax': AccountTax;
|
|
20
|
+
readonly 'account.tax.component': AccountTaxComponent;
|
|
21
|
+
readonly 'account.withholding': AccountWithholding;
|
|
22
|
+
readonly 'approval.delegation': ApprovalDelegation;
|
|
23
|
+
readonly 'approval.level': ApprovalLevel;
|
|
24
|
+
readonly 'approval.link': ApprovalLink;
|
|
25
|
+
readonly 'approval.policy': ApprovalPolicy;
|
|
26
|
+
readonly 'approval.request': ApprovalRequest;
|
|
27
|
+
readonly 'approval.vote': ApprovalVote;
|
|
28
|
+
readonly 'attendance.day': AttendanceDay;
|
|
29
|
+
readonly 'attendance.holiday': AttendanceHoliday;
|
|
30
|
+
readonly 'attendance.record': AttendanceRecord;
|
|
31
|
+
readonly 'attendance.roster': AttendanceRoster;
|
|
32
|
+
readonly 'attendance.shift': AttendanceShift;
|
|
33
|
+
readonly 'attendance.site': AttendanceSite;
|
|
34
|
+
readonly 'audit.event': AuditEvent;
|
|
35
|
+
readonly 'auth.api_key': AuthApiKey;
|
|
36
|
+
readonly 'auth.credential': AuthCredential;
|
|
37
|
+
readonly 'auth.policy': AuthPolicy;
|
|
38
|
+
readonly 'auth.session': AuthSession;
|
|
39
|
+
readonly 'auth.user_grant': AuthUserGrant;
|
|
40
|
+
readonly 'auth.user_group': AuthUserGroup;
|
|
41
|
+
readonly 'hr.contract': HrContract;
|
|
42
|
+
readonly 'hr.department': HrDepartment;
|
|
43
|
+
readonly 'hr.employee': HrEmployee;
|
|
44
|
+
readonly 'hr.job': HrJob;
|
|
45
|
+
readonly 'hr.leave': HrLeave;
|
|
46
|
+
readonly 'hr.leave.type': HrLeaveType;
|
|
47
|
+
readonly 'kosh.image': KoshImage;
|
|
48
|
+
readonly 'kosh.saved_view': KoshSavedView;
|
|
49
|
+
readonly 'kosh.setting': KoshSetting;
|
|
50
|
+
readonly 'mail.activity': MailActivity;
|
|
51
|
+
readonly 'mail.activity.type': MailActivityType;
|
|
52
|
+
readonly 'mail.channel': MailChannel;
|
|
53
|
+
readonly 'mail.channel.member': MailChannelMember;
|
|
54
|
+
readonly 'mail.follower': MailFollower;
|
|
55
|
+
readonly 'mail.message': MailMessage;
|
|
56
|
+
readonly 'mail.message.reaction': MailMessageReaction;
|
|
57
|
+
readonly 'oauth.app': OauthApp;
|
|
58
|
+
readonly 'oauth.code': OauthCode;
|
|
59
|
+
readonly 'oauth.grant': OauthGrant;
|
|
60
|
+
readonly 'oauth.token': OauthToken;
|
|
61
|
+
readonly 'payroll.employee.value': PayrollEmployeeValue;
|
|
62
|
+
readonly 'payroll.input': PayrollInput;
|
|
63
|
+
readonly 'payroll.loan': PayrollLoan;
|
|
64
|
+
readonly 'payroll.loan.repayment': PayrollLoanRepayment;
|
|
65
|
+
readonly 'payroll.parameter': PayrollParameter;
|
|
66
|
+
readonly 'payroll.rule': PayrollRule;
|
|
67
|
+
readonly 'payroll.run': PayrollRun;
|
|
68
|
+
readonly 'payroll.slab': PayrollSlab;
|
|
69
|
+
readonly 'payroll.slab.band': PayrollSlabBand;
|
|
70
|
+
readonly 'payroll.slip': PayrollSlip;
|
|
71
|
+
readonly 'payroll.slip.line': PayrollSlipLine;
|
|
72
|
+
readonly 'payroll.structure': PayrollStructure;
|
|
73
|
+
readonly 'product.category': ProductCategory;
|
|
74
|
+
readonly 'product.product': ProductProduct;
|
|
75
|
+
readonly 'report.dashboard': ReportDashboard;
|
|
76
|
+
readonly 'report.output': ReportOutput;
|
|
77
|
+
readonly 'report.schedule': ReportSchedule;
|
|
78
|
+
readonly 'report.spreadsheet': ReportSpreadsheet;
|
|
79
|
+
readonly 'report.template': ReportTemplate;
|
|
80
|
+
readonly 'res.bank.account': ResBankAccount;
|
|
81
|
+
readonly 'res.company': ResCompany;
|
|
82
|
+
readonly 'res.currency': ResCurrency;
|
|
83
|
+
readonly 'res.currency.rate': ResCurrencyRate;
|
|
84
|
+
readonly 'res.partner': ResPartner;
|
|
85
|
+
readonly 'res.partner.tag': ResPartnerTag;
|
|
86
|
+
readonly 'res.users': ResUsers;
|
|
87
|
+
readonly 'storage.attachment': StorageAttachment;
|
|
88
|
+
readonly 'uom.uom': UomUom;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** `account.account` (owner: accounting). */
|
|
92
|
+
export interface AccountAccount {
|
|
93
|
+
readonly name: 'account.account';
|
|
94
|
+
readonly fields: {
|
|
95
|
+
readonly id: F.Id<'account.account'>;
|
|
96
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
97
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
98
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
99
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
100
|
+
readonly displayName: F.Char<{ readonly readonly: true; readonly compute: true }>;
|
|
101
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
102
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
103
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
104
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
105
|
+
readonly type: F.Selection<'asset_receivable' | 'asset_cash' | 'asset_current' | 'asset_prepayments' | 'asset_fixed' | 'asset_non_current' | 'liability_payable' | 'liability_current' | 'liability_non_current' | 'equity' | 'equity_unaffected' | 'income' | 'income_other' | 'expense' | 'expense_direct_cost' | 'expense_depreciation' | 'off_balance', { readonly required: true }>;
|
|
106
|
+
readonly reconcile: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
107
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
108
|
+
readonly note: F.Text;
|
|
109
|
+
};
|
|
110
|
+
readonly methods: AccountAccountMethods;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** Methods of `account.account`: declared ones and transitions. */
|
|
114
|
+
export interface AccountAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.account'> {
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** `account.analytic` (owner: accounting). */
|
|
118
|
+
export interface AccountAnalytic {
|
|
119
|
+
readonly name: 'account.analytic';
|
|
120
|
+
readonly fields: {
|
|
121
|
+
readonly id: F.Id<'account.analytic'>;
|
|
122
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
123
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
124
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
125
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
126
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
127
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
128
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
129
|
+
readonly code: F.Char;
|
|
130
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
131
|
+
readonly parent: F.Many2one<'account.analytic'>;
|
|
132
|
+
readonly note: F.Text;
|
|
133
|
+
};
|
|
134
|
+
readonly methods: AccountAnalyticMethods;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Methods of `account.analytic`: declared ones and transitions. */
|
|
138
|
+
export interface AccountAnalyticMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.analytic'> {
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** `account.fiscal.year` (owner: accounting). */
|
|
142
|
+
export interface AccountFiscalYear {
|
|
143
|
+
readonly name: 'account.fiscal.year';
|
|
144
|
+
readonly fields: {
|
|
145
|
+
readonly id: F.Id<'account.fiscal.year'>;
|
|
146
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
147
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
148
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
149
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
150
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
151
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
152
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
153
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
154
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
155
|
+
readonly state: F.Selection<'open' | 'closed', { readonly required: true; readonly default: true }>;
|
|
156
|
+
readonly lockDate: F.DateOnly;
|
|
157
|
+
readonly closingMove: F.Many2one<'account.move'>;
|
|
158
|
+
readonly reopenReason: F.Char;
|
|
159
|
+
};
|
|
160
|
+
readonly methods: AccountFiscalYearMethods;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** Methods of `account.fiscal.year`: declared ones and transitions. */
|
|
164
|
+
export interface AccountFiscalYearMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.fiscal.year'> {
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** `account.full.reconcile` (owner: accounting). */
|
|
168
|
+
export interface AccountFullReconcile {
|
|
169
|
+
readonly name: 'account.full.reconcile';
|
|
170
|
+
readonly fields: {
|
|
171
|
+
readonly id: F.Id<'account.full.reconcile'>;
|
|
172
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
173
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
174
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
175
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
176
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
177
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
178
|
+
readonly lines: F.One2many<'account.move.line', { readonly required: true }>;
|
|
179
|
+
readonly partials: F.One2many<'account.partial.reconcile', { readonly required: true }>;
|
|
180
|
+
};
|
|
181
|
+
readonly methods: AccountFullReconcileMethods;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Methods of `account.full.reconcile`: declared ones and transitions. */
|
|
185
|
+
export interface AccountFullReconcileMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.full.reconcile'> {
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** `account.journal` (owner: accounting). */
|
|
189
|
+
export interface AccountJournal {
|
|
190
|
+
readonly name: 'account.journal';
|
|
191
|
+
readonly fields: {
|
|
192
|
+
readonly id: F.Id<'account.journal'>;
|
|
193
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
194
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
195
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
196
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
197
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
198
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
199
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
200
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
201
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
202
|
+
readonly type: F.Selection<'sale' | 'purchase' | 'cash' | 'bank' | 'general', { readonly required: true; readonly default: true }>;
|
|
203
|
+
readonly defaultAccount: F.Many2one<'account.account'>;
|
|
204
|
+
};
|
|
205
|
+
readonly methods: AccountJournalMethods;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/** Methods of `account.journal`: declared ones and transitions. */
|
|
209
|
+
export interface AccountJournalMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.journal'> {
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** `account.move` (owner: accounting). */
|
|
213
|
+
export interface AccountMove {
|
|
214
|
+
readonly name: 'account.move';
|
|
215
|
+
readonly fields: {
|
|
216
|
+
readonly id: F.Id<'account.move'>;
|
|
217
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
218
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
219
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
220
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
221
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
222
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
223
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
224
|
+
readonly numberSale: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
225
|
+
readonly numberPurchase: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
226
|
+
readonly numberCash: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
227
|
+
readonly numberBank: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
228
|
+
readonly numberGeneral: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
229
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
230
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
231
|
+
readonly kind: F.Selection<'entry' | 'out_invoice' | 'out_refund' | 'in_invoice' | 'in_refund' | 'out_debit' | 'in_debit', { readonly required: true; readonly default: true }>;
|
|
232
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
233
|
+
readonly ref: F.Char;
|
|
234
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
235
|
+
readonly rate: F.Decimal;
|
|
236
|
+
readonly companyCurrency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
237
|
+
readonly narration: F.Text;
|
|
238
|
+
readonly lines: F.One2many<'account.move.line', { readonly required: true }>;
|
|
239
|
+
readonly invoiceLines: F.One2many<'account.move.line', { readonly required: true }>;
|
|
240
|
+
readonly amountDebit: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
241
|
+
readonly amountCredit: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
242
|
+
readonly dateDue: F.DateOnly;
|
|
243
|
+
readonly paymentDetails: F.Text<{ readonly readonly: true; readonly compute: true }>;
|
|
244
|
+
readonly paymentTerm: F.Many2one<'account.payment.term'>;
|
|
245
|
+
readonly invoiceOrigin: F.Char;
|
|
246
|
+
readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
247
|
+
readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
248
|
+
readonly amountTotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
249
|
+
readonly amountResidual: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
250
|
+
readonly paymentState: F.Selection<'not_applicable' | 'not_paid' | 'partial' | 'paid', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
251
|
+
readonly payments: F.Many2many<'account.payment', { readonly required: true }>;
|
|
252
|
+
readonly state: F.State<'draft' | 'to_approve' | 'posted' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
253
|
+
readonly postedAt: F.Datetime;
|
|
254
|
+
readonly postedTx: F.Char;
|
|
255
|
+
readonly reversalOf: F.Many2one<'account.move'>;
|
|
256
|
+
readonly debitOf: F.Many2one<'account.move'>;
|
|
257
|
+
readonly placeOfSupply: F.Char;
|
|
258
|
+
readonly reversedBy: F.Many2one<'account.move'>;
|
|
259
|
+
};
|
|
260
|
+
readonly methods: AccountMoveMethods;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** Methods of `account.move`: declared ones and transitions. */
|
|
264
|
+
export interface AccountMoveMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move'> {
|
|
265
|
+
readonly 'cancel': () => Promise<void>;
|
|
266
|
+
readonly 'post': () => Promise<void>;
|
|
267
|
+
readonly 'redraft': () => Promise<void>;
|
|
268
|
+
readonly 'reject': () => Promise<void>;
|
|
269
|
+
readonly 'submit': () => Promise<void>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/** `account.move.line` (owner: accounting; extended by: l10n_bd). */
|
|
273
|
+
export interface AccountMoveLine {
|
|
274
|
+
readonly name: 'account.move.line';
|
|
275
|
+
readonly fields: {
|
|
276
|
+
readonly id: F.Id<'account.move.line'>;
|
|
277
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
278
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
279
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
280
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
281
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
282
|
+
readonly move: F.Many2one<'account.move', { readonly required: true }>;
|
|
283
|
+
readonly account: F.Many2one<'account.account'>;
|
|
284
|
+
readonly partner: F.Many2one<'res.partner'>;
|
|
285
|
+
readonly name: F.Char;
|
|
286
|
+
readonly date: F.DateOnly<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
287
|
+
readonly dateMaturity: F.DateOnly;
|
|
288
|
+
readonly companyCurrency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
289
|
+
readonly currency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
290
|
+
readonly debit: F.Monetary<'companyCurrency', { readonly required: true; readonly default: true }>;
|
|
291
|
+
readonly credit: F.Monetary<'companyCurrency', { readonly required: true; readonly default: true }>;
|
|
292
|
+
readonly amountCurrency: F.Monetary<'currency'>;
|
|
293
|
+
readonly lineKind: F.Selection<'entry' | 'product' | 'tax' | 'counterpart', { readonly required: true; readonly default: true }>;
|
|
294
|
+
readonly invoice: F.Many2one<'account.move', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
295
|
+
readonly product: F.Many2one<'product.product'>;
|
|
296
|
+
readonly analytic: F.Many2one<'account.analytic'>;
|
|
297
|
+
readonly quantity: F.Decimal<{ readonly default: true }>;
|
|
298
|
+
readonly priceUnit: F.Decimal<{ readonly default: true }>;
|
|
299
|
+
readonly discount: F.Decimal<{ readonly default: true }>;
|
|
300
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
301
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
302
|
+
readonly subtotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
303
|
+
readonly taxAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
304
|
+
readonly taxLineOf: F.Many2one<'account.tax'>;
|
|
305
|
+
readonly taxComponent: F.Many2one<'account.tax.component'>;
|
|
306
|
+
readonly taxReverseCharge: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
307
|
+
readonly taxBase: F.Monetary<'currency'>;
|
|
308
|
+
readonly balance: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
309
|
+
readonly posted: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
310
|
+
readonly accountType: F.Selection<'asset_receivable' | 'asset_cash' | 'asset_current' | 'asset_prepayments' | 'asset_fixed' | 'asset_non_current' | 'liability_payable' | 'liability_current' | 'liability_non_current' | 'equity' | 'equity_unaffected' | 'income' | 'income_other' | 'expense' | 'expense_direct_cost' | 'expense_depreciation' | 'off_balance', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
311
|
+
readonly taxReport: F.Many2one<'account.tax', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
312
|
+
readonly partialsAsDebit: F.One2many<'account.partial.reconcile', { readonly required: true }>;
|
|
313
|
+
readonly partialsAsCredit: F.One2many<'account.partial.reconcile', { readonly required: true }>;
|
|
314
|
+
readonly fullReconcile: F.Many2one<'account.full.reconcile'>;
|
|
315
|
+
readonly amountResidual: F.Monetary<'companyCurrency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
316
|
+
readonly amountResidualCurrency: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
317
|
+
readonly reconciled: F.Bool<{ readonly required: true; readonly readonly: true; readonly default: true; readonly compute: true; readonly store: true }>;
|
|
318
|
+
readonly sdAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
319
|
+
readonly vatAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
320
|
+
readonly totalWithTaxes: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>; // l10n_bd
|
|
321
|
+
};
|
|
322
|
+
readonly methods: AccountMoveLineMethods;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/** Methods of `account.move.line`: declared ones and transitions. */
|
|
326
|
+
export interface AccountMoveLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.move.line'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'account.move.line'> {
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/** `account.partial.reconcile` (owner: accounting). */
|
|
330
|
+
export interface AccountPartialReconcile {
|
|
331
|
+
readonly name: 'account.partial.reconcile';
|
|
332
|
+
readonly fields: {
|
|
333
|
+
readonly id: F.Id<'account.partial.reconcile'>;
|
|
334
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
335
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
336
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
337
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
338
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
339
|
+
readonly debitLine: F.Many2one<'account.move.line', { readonly required: true }>;
|
|
340
|
+
readonly creditLine: F.Many2one<'account.move.line', { readonly required: true }>;
|
|
341
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
342
|
+
readonly amountCurrency: F.Decimal;
|
|
343
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
344
|
+
readonly exchangeMove: F.Many2one<'account.move'>;
|
|
345
|
+
readonly fullReconcile: F.Many2one<'account.full.reconcile'>;
|
|
346
|
+
};
|
|
347
|
+
readonly methods: AccountPartialReconcileMethods;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/** Methods of `account.partial.reconcile`: declared ones and transitions. */
|
|
351
|
+
export interface AccountPartialReconcileMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.partial.reconcile'> {
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/** `account.payment` (owner: accounting). */
|
|
355
|
+
export interface AccountPayment {
|
|
356
|
+
readonly name: 'account.payment';
|
|
357
|
+
readonly fields: {
|
|
358
|
+
readonly id: F.Id<'account.payment'>;
|
|
359
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
360
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
361
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
362
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
363
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
364
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
365
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
366
|
+
readonly kind: F.Selection<'inbound' | 'outbound', { readonly required: true; readonly default: true }>;
|
|
367
|
+
readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
|
|
368
|
+
readonly journal: F.Many2one<'account.journal', { readonly required: true }>;
|
|
369
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
370
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
371
|
+
readonly amount: F.Monetary<'currency', { readonly required: true }>;
|
|
372
|
+
readonly memo: F.Char;
|
|
373
|
+
readonly documents: F.Many2many<'account.move', { readonly required: true }>;
|
|
374
|
+
readonly withholdings: F.One2many<'account.payment.withholding', { readonly required: true }>;
|
|
375
|
+
readonly amountWithheld: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
376
|
+
readonly move: F.Many2one<'account.move'>;
|
|
377
|
+
readonly state: F.State<'draft' | 'posted' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
378
|
+
};
|
|
379
|
+
readonly methods: AccountPaymentMethods;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** Methods of `account.payment`: declared ones and transitions. */
|
|
383
|
+
export interface AccountPaymentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment'> {
|
|
384
|
+
readonly 'cancel': () => Promise<void>;
|
|
385
|
+
readonly 'post': () => Promise<void>;
|
|
386
|
+
readonly 'redraft': () => Promise<void>;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/** `account.payment.term` (owner: accounting). */
|
|
390
|
+
export interface AccountPaymentTerm {
|
|
391
|
+
readonly name: 'account.payment.term';
|
|
392
|
+
readonly fields: {
|
|
393
|
+
readonly id: F.Id<'account.payment.term'>;
|
|
394
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
395
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
396
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
397
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
398
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
399
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
400
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
401
|
+
readonly note: F.Text;
|
|
402
|
+
readonly lines: F.One2many<'account.payment.term.line', { readonly required: true }>;
|
|
403
|
+
};
|
|
404
|
+
readonly methods: AccountPaymentTermMethods;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/** Methods of `account.payment.term`: declared ones and transitions. */
|
|
408
|
+
export interface AccountPaymentTermMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.term'> {
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/** `account.payment.term.line` (owner: accounting). */
|
|
412
|
+
export interface AccountPaymentTermLine {
|
|
413
|
+
readonly name: 'account.payment.term.line';
|
|
414
|
+
readonly fields: {
|
|
415
|
+
readonly id: F.Id<'account.payment.term.line'>;
|
|
416
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
417
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
418
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
419
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
420
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
421
|
+
readonly term: F.Many2one<'account.payment.term', { readonly required: true }>;
|
|
422
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
423
|
+
readonly percent: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
424
|
+
};
|
|
425
|
+
readonly methods: AccountPaymentTermLineMethods;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/** Methods of `account.payment.term.line`: declared ones and transitions. */
|
|
429
|
+
export interface AccountPaymentTermLineMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.term.line'> {
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** `account.payment.withholding` (owner: accounting). */
|
|
433
|
+
export interface AccountPaymentWithholding {
|
|
434
|
+
readonly name: 'account.payment.withholding';
|
|
435
|
+
readonly fields: {
|
|
436
|
+
readonly id: F.Id<'account.payment.withholding'>;
|
|
437
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
438
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
439
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
440
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
441
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
442
|
+
readonly payment: F.Many2one<'account.payment', { readonly required: true }>;
|
|
443
|
+
readonly withholding: F.Many2one<'account.withholding', { readonly required: true }>;
|
|
444
|
+
readonly currency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
445
|
+
readonly base: F.Monetary<'currency'>;
|
|
446
|
+
readonly amount: F.Monetary<'currency', { readonly required: true }>;
|
|
447
|
+
};
|
|
448
|
+
readonly methods: AccountPaymentWithholdingMethods;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/** Methods of `account.payment.withholding`: declared ones and transitions. */
|
|
452
|
+
export interface AccountPaymentWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.payment.withholding'> {
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/** `account.tax` (owner: product; extended by: accounting, l10n_bd). */
|
|
456
|
+
export interface AccountTax {
|
|
457
|
+
readonly name: 'account.tax';
|
|
458
|
+
readonly fields: {
|
|
459
|
+
readonly id: F.Id<'account.tax'>;
|
|
460
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
461
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
462
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
463
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
464
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
465
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
466
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
467
|
+
readonly use: F.Selection<'sale' | 'purchase', { readonly required: true; readonly default: true }>;
|
|
468
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
469
|
+
readonly amountType: F.Selection<'percent' | 'fixed', { readonly required: true; readonly default: true }>;
|
|
470
|
+
readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
471
|
+
readonly fixedAmount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
472
|
+
readonly affectsBase: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
473
|
+
readonly priceIncluded: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
474
|
+
readonly reverseCharge: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
475
|
+
readonly account: F.Many2one<'account.account'>; // accounting
|
|
476
|
+
readonly refundAccount: F.Many2one<'account.account'>; // accounting
|
|
477
|
+
readonly reverseChargeAccount: F.Many2one<'account.account'>; // accounting
|
|
478
|
+
readonly components: F.One2many<'account.tax.component', { readonly required: true }>; // accounting
|
|
479
|
+
readonly mushak: F.Selection<'standard' | 'reduced' | 'zero' | 'exempt' | 'sd' | 'at'>; // l10n_bd
|
|
480
|
+
};
|
|
481
|
+
readonly methods: AccountTaxMethods;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/** Methods of `account.tax`: declared ones and transitions. */
|
|
485
|
+
export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.tax'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'account.tax'> {
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/** `account.tax.component` (owner: accounting). */
|
|
489
|
+
export interface AccountTaxComponent {
|
|
490
|
+
readonly name: 'account.tax.component';
|
|
491
|
+
readonly fields: {
|
|
492
|
+
readonly id: F.Id<'account.tax.component'>;
|
|
493
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
494
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
495
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
496
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
497
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
498
|
+
readonly tax: F.Many2one<'account.tax', { readonly required: true }>;
|
|
499
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
500
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
501
|
+
readonly share: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
502
|
+
readonly scope: F.Selection<'always' | 'intra' | 'inter', { readonly required: true; readonly default: true }>;
|
|
503
|
+
readonly code: F.Char;
|
|
504
|
+
readonly account: F.Many2one<'account.account'>;
|
|
505
|
+
readonly refundAccount: F.Many2one<'account.account'>;
|
|
506
|
+
readonly reverseChargeAccount: F.Many2one<'account.account'>;
|
|
507
|
+
};
|
|
508
|
+
readonly methods: AccountTaxComponentMethods;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/** Methods of `account.tax.component`: declared ones and transitions. */
|
|
512
|
+
export interface AccountTaxComponentMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.tax.component'> {
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/** `account.withholding` (owner: accounting). */
|
|
516
|
+
export interface AccountWithholding {
|
|
517
|
+
readonly name: 'account.withholding';
|
|
518
|
+
readonly fields: {
|
|
519
|
+
readonly id: F.Id<'account.withholding'>;
|
|
520
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
521
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
522
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
523
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
524
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
525
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
526
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
527
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
528
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
529
|
+
readonly direction: F.Selection<'vendor' | 'customer', { readonly required: true; readonly default: true }>;
|
|
530
|
+
readonly base: F.Selection<'untaxed' | 'tax' | 'total', { readonly required: true; readonly default: true }>;
|
|
531
|
+
readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
532
|
+
readonly threshold: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
533
|
+
readonly account: F.Many2one<'account.account', { readonly required: true }>;
|
|
534
|
+
};
|
|
535
|
+
readonly methods: AccountWithholdingMethods;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/** Methods of `account.withholding`: declared ones and transitions. */
|
|
539
|
+
export interface AccountWithholdingMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'account.withholding'> {
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/** `approval.delegation` (owner: permissions). */
|
|
543
|
+
export interface ApprovalDelegation {
|
|
544
|
+
readonly name: 'approval.delegation';
|
|
545
|
+
readonly fields: {
|
|
546
|
+
readonly id: F.Id<'approval.delegation'>;
|
|
547
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
548
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
549
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
550
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
551
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
552
|
+
readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
|
|
553
|
+
readonly delegate: F.Many2one<'res.users', { readonly required: true }>;
|
|
554
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
555
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
556
|
+
readonly note: F.Char;
|
|
557
|
+
};
|
|
558
|
+
readonly methods: ApprovalDelegationMethods;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/** Methods of `approval.delegation`: declared ones and transitions. */
|
|
562
|
+
export interface ApprovalDelegationMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.delegation'> {
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/** `approval.level` (owner: permissions). */
|
|
566
|
+
export interface ApprovalLevel {
|
|
567
|
+
readonly name: 'approval.level';
|
|
568
|
+
readonly fields: {
|
|
569
|
+
readonly id: F.Id<'approval.level'>;
|
|
570
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
571
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
572
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
573
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
574
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
575
|
+
readonly policy: F.Many2one<'approval.policy', { readonly required: true }>;
|
|
576
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
577
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
578
|
+
readonly condition: F.Json;
|
|
579
|
+
readonly approverKind: F.Selection<'role' | 'users' | 'manager' | 'field', { readonly required: true; readonly default: true }>;
|
|
580
|
+
readonly approverRole: F.Char;
|
|
581
|
+
readonly approverUsers: F.Many2many<'res.users', { readonly required: true }>;
|
|
582
|
+
readonly approverField: F.Char;
|
|
583
|
+
readonly quorum: F.Selection<'any' | 'all' | 'count', { readonly required: true; readonly default: true }>;
|
|
584
|
+
readonly quorumCount: F.Integer;
|
|
585
|
+
readonly deadlineHours: F.Integer;
|
|
586
|
+
readonly escalateRole: F.Char;
|
|
587
|
+
};
|
|
588
|
+
readonly methods: ApprovalLevelMethods;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/** Methods of `approval.level`: declared ones and transitions. */
|
|
592
|
+
export interface ApprovalLevelMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.level'> {
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/** `approval.link` (owner: permissions). */
|
|
596
|
+
export interface ApprovalLink {
|
|
597
|
+
readonly name: 'approval.link';
|
|
598
|
+
readonly fields: {
|
|
599
|
+
readonly id: F.Id<'approval.link'>;
|
|
600
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
601
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
602
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
603
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
604
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
605
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
606
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
607
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
608
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
609
|
+
readonly usedAt: F.Datetime;
|
|
610
|
+
};
|
|
611
|
+
readonly methods: ApprovalLinkMethods;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/** Methods of `approval.link`: declared ones and transitions. */
|
|
615
|
+
export interface ApprovalLinkMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.link'> {
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/** `approval.policy` (owner: permissions). */
|
|
619
|
+
export interface ApprovalPolicy {
|
|
620
|
+
readonly name: 'approval.policy';
|
|
621
|
+
readonly fields: {
|
|
622
|
+
readonly id: F.Id<'approval.policy'>;
|
|
623
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
624
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
625
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
626
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
627
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
628
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
629
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
630
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
631
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
632
|
+
readonly company: F.Many2one<'res.company'>;
|
|
633
|
+
readonly onApproved: F.Char;
|
|
634
|
+
readonly onRejected: F.Char;
|
|
635
|
+
readonly onSentBack: F.Char;
|
|
636
|
+
readonly onWithdrawn: F.Char;
|
|
637
|
+
readonly reasonRequired: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
638
|
+
readonly levels: F.One2many<'approval.level', { readonly required: true }>;
|
|
639
|
+
};
|
|
640
|
+
readonly methods: ApprovalPolicyMethods;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/** Methods of `approval.policy`: declared ones and transitions. */
|
|
644
|
+
export interface ApprovalPolicyMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.policy'> {
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/** `approval.request` (owner: permissions). */
|
|
648
|
+
export interface ApprovalRequest {
|
|
649
|
+
readonly name: 'approval.request';
|
|
650
|
+
readonly fields: {
|
|
651
|
+
readonly id: F.Id<'approval.request'>;
|
|
652
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
653
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
654
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
655
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
656
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
657
|
+
readonly policy: F.Many2one<'approval.policy'>;
|
|
658
|
+
readonly level: F.Many2one<'approval.level'>;
|
|
659
|
+
readonly levelName: F.Char<{ readonly required: true }>;
|
|
660
|
+
readonly sequence: F.Integer<{ readonly required: true }>;
|
|
661
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
662
|
+
readonly targetId: F.Integer<{ readonly required: true }>;
|
|
663
|
+
readonly company: F.Many2one<'res.company'>;
|
|
664
|
+
readonly approverRole: F.Char;
|
|
665
|
+
readonly approvers: F.Many2many<'res.users', { readonly required: true }>;
|
|
666
|
+
readonly required: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
667
|
+
readonly round: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
668
|
+
readonly votes: F.One2many<'approval.vote', { readonly required: true }>;
|
|
669
|
+
readonly dueAt: F.Datetime;
|
|
670
|
+
readonly remindedAt: F.Datetime;
|
|
671
|
+
readonly escalatedTo: F.Char;
|
|
672
|
+
readonly escalatedAt: F.Datetime;
|
|
673
|
+
readonly state: F.Selection<'pending' | 'approved' | 'rejected' | 'sent_back' | 'cancelled', { readonly required: true; readonly default: true }>;
|
|
674
|
+
readonly requestedBy: F.Many2one<'res.users'>;
|
|
675
|
+
readonly decidedBy: F.Many2one<'res.users'>;
|
|
676
|
+
readonly decidedAt: F.Datetime;
|
|
677
|
+
readonly comment: F.Text;
|
|
678
|
+
};
|
|
679
|
+
readonly methods: ApprovalRequestMethods;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** Methods of `approval.request`: declared ones and transitions. */
|
|
683
|
+
export interface ApprovalRequestMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.request'> {
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/** `approval.vote` (owner: permissions). */
|
|
687
|
+
export interface ApprovalVote {
|
|
688
|
+
readonly name: 'approval.vote';
|
|
689
|
+
readonly fields: {
|
|
690
|
+
readonly id: F.Id<'approval.vote'>;
|
|
691
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
692
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
693
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
694
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
695
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
696
|
+
readonly request: F.Many2one<'approval.request', { readonly required: true }>;
|
|
697
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
698
|
+
readonly decision: F.Selection<'approve' | 'reject' | 'send_back', { readonly required: true }>;
|
|
699
|
+
readonly comment: F.Text;
|
|
700
|
+
readonly at: F.Datetime<{ readonly required: true }>;
|
|
701
|
+
readonly onBehalfOf: F.Many2one<'res.users'>;
|
|
702
|
+
readonly ip: F.Char;
|
|
703
|
+
};
|
|
704
|
+
readonly methods: ApprovalVoteMethods;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/** Methods of `approval.vote`: declared ones and transitions. */
|
|
708
|
+
export interface ApprovalVoteMethods extends F.Methods<typeof import('../../permissions/index.js').permissionsShutro, 'approval.vote'> {
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/** `attendance.day` (owner: attendance). */
|
|
712
|
+
export interface AttendanceDay {
|
|
713
|
+
readonly name: 'attendance.day';
|
|
714
|
+
readonly fields: {
|
|
715
|
+
readonly id: F.Id<'attendance.day'>;
|
|
716
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
717
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
718
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
719
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
720
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
721
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
722
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
723
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
724
|
+
readonly shift: F.Many2one<'attendance.shift'>;
|
|
725
|
+
readonly status: F.Selection<'present' | 'absent' | 'leave' | 'holiday' | 'weekend' | 'incomplete' | 'off', { readonly required: true; readonly default: true }>;
|
|
726
|
+
readonly firstIn: F.Datetime;
|
|
727
|
+
readonly lastOut: F.Datetime;
|
|
728
|
+
readonly workedHours: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
729
|
+
readonly expectedHours: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
730
|
+
readonly lateMinutes: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
731
|
+
readonly earlyMinutes: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
732
|
+
readonly overtimeHours: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
733
|
+
readonly overtimeApproved: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
734
|
+
readonly overtimeRate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
735
|
+
readonly state: F.State<'draft' | 'approved', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
736
|
+
};
|
|
737
|
+
readonly methods: AttendanceDayMethods;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
/** Methods of `attendance.day`: declared ones and transitions. */
|
|
741
|
+
export interface AttendanceDayMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.day'> {
|
|
742
|
+
readonly 'approve': () => Promise<void>;
|
|
743
|
+
readonly 'reopen': () => Promise<void>;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/** `attendance.holiday` (owner: attendance). */
|
|
747
|
+
export interface AttendanceHoliday {
|
|
748
|
+
readonly name: 'attendance.holiday';
|
|
749
|
+
readonly fields: {
|
|
750
|
+
readonly id: F.Id<'attendance.holiday'>;
|
|
751
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
752
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
753
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
754
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
755
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
756
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
757
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
758
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
759
|
+
};
|
|
760
|
+
readonly methods: AttendanceHolidayMethods;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/** Methods of `attendance.holiday`: declared ones and transitions. */
|
|
764
|
+
export interface AttendanceHolidayMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.holiday'> {
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/** `attendance.record` (owner: attendance). */
|
|
768
|
+
export interface AttendanceRecord {
|
|
769
|
+
readonly name: 'attendance.record';
|
|
770
|
+
readonly fields: {
|
|
771
|
+
readonly id: F.Id<'attendance.record'>;
|
|
772
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
773
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
774
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
775
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
776
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
777
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
778
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
779
|
+
readonly checkIn: F.Datetime<{ readonly required: true }>;
|
|
780
|
+
readonly checkOut: F.Datetime;
|
|
781
|
+
readonly source: F.Selection<'phone' | 'kiosk' | 'device' | 'manual', { readonly required: true; readonly default: true }>;
|
|
782
|
+
readonly site: F.Many2one<'attendance.site'>;
|
|
783
|
+
readonly inside: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
784
|
+
readonly distance: F.Integer;
|
|
785
|
+
readonly workedHours: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
786
|
+
readonly note: F.Char;
|
|
787
|
+
};
|
|
788
|
+
readonly methods: AttendanceRecordMethods;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/** Methods of `attendance.record`: declared ones and transitions. */
|
|
792
|
+
export interface AttendanceRecordMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.record'> {
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** `attendance.roster` (owner: attendance). */
|
|
796
|
+
export interface AttendanceRoster {
|
|
797
|
+
readonly name: 'attendance.roster';
|
|
798
|
+
readonly fields: {
|
|
799
|
+
readonly id: F.Id<'attendance.roster'>;
|
|
800
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
801
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
802
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
803
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
804
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
805
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
806
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
807
|
+
readonly shift: F.Many2one<'attendance.shift', { readonly required: true }>;
|
|
808
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
809
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
810
|
+
readonly note: F.Char;
|
|
811
|
+
};
|
|
812
|
+
readonly methods: AttendanceRosterMethods;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/** Methods of `attendance.roster`: declared ones and transitions. */
|
|
816
|
+
export interface AttendanceRosterMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.roster'> {
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/** `attendance.shift` (owner: attendance). */
|
|
820
|
+
export interface AttendanceShift {
|
|
821
|
+
readonly name: 'attendance.shift';
|
|
822
|
+
readonly fields: {
|
|
823
|
+
readonly id: F.Id<'attendance.shift'>;
|
|
824
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
825
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
826
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
827
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
828
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
829
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
830
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
831
|
+
readonly start: F.Char<{ readonly required: true; readonly default: true }>;
|
|
832
|
+
readonly end: F.Char<{ readonly required: true; readonly default: true }>;
|
|
833
|
+
readonly breakMinutes: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
834
|
+
readonly graceMinutes: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
835
|
+
readonly overtimeAfter: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
836
|
+
readonly overtimeStep: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
837
|
+
readonly overtimeRate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
838
|
+
};
|
|
839
|
+
readonly methods: AttendanceShiftMethods;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/** Methods of `attendance.shift`: declared ones and transitions. */
|
|
843
|
+
export interface AttendanceShiftMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.shift'> {
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/** `attendance.site` (owner: attendance). */
|
|
847
|
+
export interface AttendanceSite {
|
|
848
|
+
readonly name: 'attendance.site';
|
|
849
|
+
readonly fields: {
|
|
850
|
+
readonly id: F.Id<'attendance.site'>;
|
|
851
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
852
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
853
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
854
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
855
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
856
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
857
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
858
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
859
|
+
readonly latitude: F.Decimal;
|
|
860
|
+
readonly longitude: F.Decimal;
|
|
861
|
+
readonly radius: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
862
|
+
readonly geofence: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
863
|
+
};
|
|
864
|
+
readonly methods: AttendanceSiteMethods;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/** Methods of `attendance.site`: declared ones and transitions. */
|
|
868
|
+
export interface AttendanceSiteMethods extends F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'attendance.site'> {
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/** `audit.event` (owner: base). */
|
|
872
|
+
export interface AuditEvent {
|
|
873
|
+
readonly name: 'audit.event';
|
|
874
|
+
readonly fields: {
|
|
875
|
+
readonly id: F.Id<'audit.event'>;
|
|
876
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
877
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
878
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
879
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
880
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
881
|
+
readonly kind: F.Char<{ readonly required: true }>;
|
|
882
|
+
readonly actor: F.Many2one<'res.users'>;
|
|
883
|
+
readonly company: F.Many2one<'res.company'>;
|
|
884
|
+
readonly targetModel: F.Char;
|
|
885
|
+
readonly targetId: F.Integer;
|
|
886
|
+
readonly summary: F.Char<{ readonly required: true }>;
|
|
887
|
+
readonly details: F.Json;
|
|
888
|
+
readonly ip: F.Char;
|
|
889
|
+
};
|
|
890
|
+
readonly methods: AuditEventMethods;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/** Methods of `audit.event`: declared ones and transitions. */
|
|
894
|
+
export interface AuditEventMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'audit.event'> {
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/** `auth.api_key` (owner: base). */
|
|
898
|
+
export interface AuthApiKey {
|
|
899
|
+
readonly name: 'auth.api_key';
|
|
900
|
+
readonly fields: {
|
|
901
|
+
readonly id: F.Id<'auth.api_key'>;
|
|
902
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
903
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
904
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
905
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
906
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
907
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
908
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
909
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
910
|
+
readonly prefix: F.Char<{ readonly required: true }>;
|
|
911
|
+
readonly scopes: F.Text<{ readonly required: true }>;
|
|
912
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
913
|
+
readonly lastUsedAt: F.Datetime;
|
|
914
|
+
readonly lastUsedIp: F.Char;
|
|
915
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
916
|
+
readonly issuedBy: F.Many2one<'res.users'>;
|
|
917
|
+
};
|
|
918
|
+
readonly methods: AuthApiKeyMethods;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** Methods of `auth.api_key`: declared ones and transitions. */
|
|
922
|
+
export interface AuthApiKeyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.api_key'> {
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** `auth.credential` (owner: base). */
|
|
926
|
+
export interface AuthCredential {
|
|
927
|
+
readonly name: 'auth.credential';
|
|
928
|
+
readonly fields: {
|
|
929
|
+
readonly id: F.Id<'auth.credential'>;
|
|
930
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
931
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
932
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
933
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
934
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
935
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
936
|
+
readonly passwordHash: F.Char;
|
|
937
|
+
readonly totpSecret: F.Char;
|
|
938
|
+
readonly totpEnabled: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
939
|
+
readonly recoveryCodes: F.Json;
|
|
940
|
+
};
|
|
941
|
+
readonly methods: AuthCredentialMethods;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/** Methods of `auth.credential`: declared ones and transitions. */
|
|
945
|
+
export interface AuthCredentialMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.credential'> {
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/** `auth.policy` (owner: base). */
|
|
949
|
+
export interface AuthPolicy {
|
|
950
|
+
readonly name: 'auth.policy';
|
|
951
|
+
readonly fields: {
|
|
952
|
+
readonly id: F.Id<'auth.policy'>;
|
|
953
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
954
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
955
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
956
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
957
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
958
|
+
readonly twoFactor: F.Selection<'administrators' | 'everyone', { readonly required: true; readonly default: true }>;
|
|
959
|
+
readonly sessionDays: F.Integer;
|
|
960
|
+
};
|
|
961
|
+
readonly methods: AuthPolicyMethods;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/** Methods of `auth.policy`: declared ones and transitions. */
|
|
965
|
+
export interface AuthPolicyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.policy'> {
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/** `auth.session` (owner: base). */
|
|
969
|
+
export interface AuthSession {
|
|
970
|
+
readonly name: 'auth.session';
|
|
971
|
+
readonly fields: {
|
|
972
|
+
readonly id: F.Id<'auth.session'>;
|
|
973
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
974
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
975
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
976
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
977
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
978
|
+
readonly tokenHash: F.Char<{ readonly required: true }>;
|
|
979
|
+
readonly csrfHash: F.Char<{ readonly required: true }>;
|
|
980
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
981
|
+
readonly twoFactorVerified: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
982
|
+
readonly secondFactor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
983
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
984
|
+
readonly lastSeenAt: F.Datetime<{ readonly required: true }>;
|
|
985
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
986
|
+
readonly ip: F.Char;
|
|
987
|
+
readonly userAgent: F.Char;
|
|
988
|
+
};
|
|
989
|
+
readonly methods: AuthSessionMethods;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/** Methods of `auth.session`: declared ones and transitions. */
|
|
993
|
+
export interface AuthSessionMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.session'> {
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/** `auth.user_grant` (owner: base). */
|
|
997
|
+
export interface AuthUserGrant {
|
|
998
|
+
readonly name: 'auth.user_grant';
|
|
999
|
+
readonly fields: {
|
|
1000
|
+
readonly id: F.Id<'auth.user_grant'>;
|
|
1001
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1002
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1003
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1004
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1005
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1006
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1007
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1008
|
+
readonly grant: F.Char<{ readonly required: true }>;
|
|
1009
|
+
readonly expiresAt: F.Datetime;
|
|
1010
|
+
readonly reason: F.Char<{ readonly required: true }>;
|
|
1011
|
+
};
|
|
1012
|
+
readonly methods: AuthUserGrantMethods;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/** Methods of `auth.user_grant`: declared ones and transitions. */
|
|
1016
|
+
export interface AuthUserGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_grant'> {
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/** `auth.user_group` (owner: base). */
|
|
1020
|
+
export interface AuthUserGroup {
|
|
1021
|
+
readonly name: 'auth.user_group';
|
|
1022
|
+
readonly fields: {
|
|
1023
|
+
readonly id: F.Id<'auth.user_group'>;
|
|
1024
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1025
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1026
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1027
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1028
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1029
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1030
|
+
readonly company: F.Many2one<'res.company'>;
|
|
1031
|
+
readonly group: F.Char<{ readonly required: true }>;
|
|
1032
|
+
};
|
|
1033
|
+
readonly methods: AuthUserGroupMethods;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/** Methods of `auth.user_group`: declared ones and transitions. */
|
|
1037
|
+
export interface AuthUserGroupMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_group'> {
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/** `hr.contract` (owner: hr; extended by: payroll). */
|
|
1041
|
+
export interface HrContract {
|
|
1042
|
+
readonly name: 'hr.contract';
|
|
1043
|
+
readonly fields: {
|
|
1044
|
+
readonly id: F.Id<'hr.contract'>;
|
|
1045
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1046
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1047
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1048
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1049
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1050
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1051
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1052
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1053
|
+
readonly kind: F.Selection<'permanent' | 'fixed' | 'probation' | 'intern', { readonly required: true; readonly default: true }>;
|
|
1054
|
+
readonly dateStart: F.DateOnly<{ readonly required: true }>;
|
|
1055
|
+
readonly dateEnd: F.DateOnly;
|
|
1056
|
+
readonly wage: F.Decimal;
|
|
1057
|
+
readonly state: F.State<'draft' | 'running' | 'ended' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1058
|
+
readonly structure: F.Many2one<'payroll.structure'>; // payroll
|
|
1059
|
+
};
|
|
1060
|
+
readonly methods: HrContractMethods;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
/** Methods of `hr.contract`: declared ones and transitions. */
|
|
1064
|
+
export interface HrContractMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.contract'>, F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'hr.contract'> {
|
|
1065
|
+
readonly 'cancel': () => Promise<void>;
|
|
1066
|
+
readonly 'end': () => Promise<void>;
|
|
1067
|
+
readonly 'start': () => Promise<void>;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/** `hr.department` (owner: hr). */
|
|
1071
|
+
export interface HrDepartment {
|
|
1072
|
+
readonly name: 'hr.department';
|
|
1073
|
+
readonly fields: {
|
|
1074
|
+
readonly id: F.Id<'hr.department'>;
|
|
1075
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1076
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1077
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1078
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1079
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1080
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1081
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1082
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1083
|
+
readonly parent: F.Many2one<'hr.department'>;
|
|
1084
|
+
readonly head: F.Many2one<'hr.employee'>;
|
|
1085
|
+
};
|
|
1086
|
+
readonly methods: HrDepartmentMethods;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/** Methods of `hr.department`: declared ones and transitions. */
|
|
1090
|
+
export interface HrDepartmentMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.department'> {
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/** `hr.employee` (owner: hr; extended by: attendance, payroll). */
|
|
1094
|
+
export interface HrEmployee {
|
|
1095
|
+
readonly name: 'hr.employee';
|
|
1096
|
+
readonly fields: {
|
|
1097
|
+
readonly id: F.Id<'hr.employee'>;
|
|
1098
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1099
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1100
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1101
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1102
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1103
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1104
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1105
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1106
|
+
readonly user: F.Many2one<'res.users'>;
|
|
1107
|
+
readonly department: F.Many2one<'hr.department'>;
|
|
1108
|
+
readonly job: F.Many2one<'hr.job'>;
|
|
1109
|
+
readonly manager: F.Many2one<'hr.employee'>;
|
|
1110
|
+
readonly team: F.One2many<'hr.employee', { readonly required: true }>;
|
|
1111
|
+
readonly workEmail: F.Char;
|
|
1112
|
+
readonly workPhone: F.Char;
|
|
1113
|
+
readonly hireDate: F.DateOnly;
|
|
1114
|
+
readonly birthday: F.DateOnly;
|
|
1115
|
+
readonly nationalId: F.Char;
|
|
1116
|
+
readonly privateAddress: F.Text;
|
|
1117
|
+
readonly emergencyContact: F.Char;
|
|
1118
|
+
readonly attendanceShift: F.Many2one<'attendance.shift'>; // attendance
|
|
1119
|
+
readonly attendancePin: F.Char; // attendance
|
|
1120
|
+
readonly attendanceBadge: F.Char; // attendance
|
|
1121
|
+
readonly deviceUserId: F.Char; // attendance
|
|
1122
|
+
readonly payMethod: F.Selection<'bank' | 'wallet' | 'cash', { readonly default: true }>; // payroll
|
|
1123
|
+
readonly bankName: F.Char; // payroll
|
|
1124
|
+
readonly bankBranch: F.Char; // payroll
|
|
1125
|
+
readonly bankAccount: F.Char; // payroll
|
|
1126
|
+
readonly routingNumber: F.Char; // payroll
|
|
1127
|
+
readonly walletProvider: F.Selection<'bkash' | 'nagad' | 'rocket'>; // payroll
|
|
1128
|
+
readonly walletNumber: F.Char; // payroll
|
|
1129
|
+
};
|
|
1130
|
+
readonly methods: HrEmployeeMethods;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/** Methods of `hr.employee`: declared ones and transitions. */
|
|
1134
|
+
export interface HrEmployeeMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.employee'>, F.Methods<typeof import('../../attendance/index.js').attendanceShutro, 'hr.employee'>, F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'hr.employee'> {
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/** `hr.job` (owner: hr). */
|
|
1138
|
+
export interface HrJob {
|
|
1139
|
+
readonly name: 'hr.job';
|
|
1140
|
+
readonly fields: {
|
|
1141
|
+
readonly id: F.Id<'hr.job'>;
|
|
1142
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1143
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1144
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1145
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1146
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1147
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1148
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1149
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1150
|
+
readonly department: F.Many2one<'hr.department'>;
|
|
1151
|
+
};
|
|
1152
|
+
readonly methods: HrJobMethods;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/** Methods of `hr.job`: declared ones and transitions. */
|
|
1156
|
+
export interface HrJobMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.job'> {
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/** `hr.leave` (owner: hr). */
|
|
1160
|
+
export interface HrLeave {
|
|
1161
|
+
readonly name: 'hr.leave';
|
|
1162
|
+
readonly fields: {
|
|
1163
|
+
readonly id: F.Id<'hr.leave'>;
|
|
1164
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1165
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1166
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1167
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1168
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1169
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1170
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1171
|
+
readonly type: F.Many2one<'hr.leave.type', { readonly required: true }>;
|
|
1172
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
1173
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
1174
|
+
readonly days: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1175
|
+
readonly reason: F.Text;
|
|
1176
|
+
readonly state: F.State<'draft' | 'submitted' | 'approved' | 'refused', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1177
|
+
};
|
|
1178
|
+
readonly methods: HrLeaveMethods;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** Methods of `hr.leave`: declared ones and transitions. */
|
|
1182
|
+
export interface HrLeaveMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.leave'> {
|
|
1183
|
+
readonly 'approve': () => Promise<void>;
|
|
1184
|
+
readonly 'redraft': () => Promise<void>;
|
|
1185
|
+
readonly 'refuse': () => Promise<void>;
|
|
1186
|
+
readonly 'submit': () => Promise<void>;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/** `hr.leave.type` (owner: hr). */
|
|
1190
|
+
export interface HrLeaveType {
|
|
1191
|
+
readonly name: 'hr.leave.type';
|
|
1192
|
+
readonly fields: {
|
|
1193
|
+
readonly id: F.Id<'hr.leave.type'>;
|
|
1194
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1195
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1196
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1197
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1198
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1199
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1200
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1201
|
+
readonly daysPerYear: F.Integer;
|
|
1202
|
+
};
|
|
1203
|
+
readonly methods: HrLeaveTypeMethods;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/** Methods of `hr.leave.type`: declared ones and transitions. */
|
|
1207
|
+
export interface HrLeaveTypeMethods extends F.Methods<typeof import('../../hr/index.js').hrShutro, 'hr.leave.type'> {
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/** `kosh.image` (owner: base). */
|
|
1211
|
+
export interface KoshImage {
|
|
1212
|
+
readonly name: 'kosh.image';
|
|
1213
|
+
readonly fields: {
|
|
1214
|
+
readonly id: F.Id<'kosh.image'>;
|
|
1215
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1216
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1217
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1218
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1219
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1220
|
+
readonly ownerModel: F.Char<{ readonly required: true }>;
|
|
1221
|
+
readonly ownerId: F.Integer<{ readonly required: true }>;
|
|
1222
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
1223
|
+
readonly data: F.Text<{ readonly required: true }>;
|
|
1224
|
+
readonly hash: F.Char<{ readonly required: true }>;
|
|
1225
|
+
};
|
|
1226
|
+
readonly methods: KoshImageMethods;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/** Methods of `kosh.image`: declared ones and transitions. */
|
|
1230
|
+
export interface KoshImageMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.image'> {
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/** `kosh.saved_view` (owner: base). */
|
|
1234
|
+
export interface KoshSavedView {
|
|
1235
|
+
readonly name: 'kosh.saved_view';
|
|
1236
|
+
readonly fields: {
|
|
1237
|
+
readonly id: F.Id<'kosh.saved_view'>;
|
|
1238
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1239
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1240
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1241
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1242
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1243
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1244
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
1245
|
+
readonly viewType: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1246
|
+
readonly state: F.Json<unknown, { readonly required: true }>;
|
|
1247
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1248
|
+
readonly isDefault: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1249
|
+
};
|
|
1250
|
+
readonly methods: KoshSavedViewMethods;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/** Methods of `kosh.saved_view`: declared ones and transitions. */
|
|
1254
|
+
export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/** `kosh.setting` (owner: base). */
|
|
1258
|
+
export interface KoshSetting {
|
|
1259
|
+
readonly name: 'kosh.setting';
|
|
1260
|
+
readonly fields: {
|
|
1261
|
+
readonly id: F.Id<'kosh.setting'>;
|
|
1262
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1263
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1264
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1265
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1266
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1267
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
1268
|
+
readonly value: F.Json;
|
|
1269
|
+
};
|
|
1270
|
+
readonly methods: KoshSettingMethods;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** Methods of `kosh.setting`: declared ones and transitions. */
|
|
1274
|
+
export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/** `mail.activity` (owner: messaging). */
|
|
1278
|
+
export interface MailActivity {
|
|
1279
|
+
readonly name: 'mail.activity';
|
|
1280
|
+
readonly fields: {
|
|
1281
|
+
readonly id: F.Id<'mail.activity'>;
|
|
1282
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1283
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1284
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1285
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1286
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1287
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
1288
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
1289
|
+
readonly type: F.Many2one<'mail.activity.type', { readonly required: true }>;
|
|
1290
|
+
readonly summary: F.Char;
|
|
1291
|
+
readonly note: F.Text;
|
|
1292
|
+
readonly deadline: F.DateOnly<{ readonly required: true }>;
|
|
1293
|
+
readonly assignee: F.Many2one<'res.users', { readonly required: true }>;
|
|
1294
|
+
readonly done: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1295
|
+
readonly doneAt: F.Datetime;
|
|
1296
|
+
readonly feedback: F.Text;
|
|
1297
|
+
};
|
|
1298
|
+
readonly methods: MailActivityMethods;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
/** Methods of `mail.activity`: declared ones and transitions. */
|
|
1302
|
+
export interface MailActivityMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity'> {
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/** `mail.activity.type` (owner: messaging). */
|
|
1306
|
+
export interface MailActivityType {
|
|
1307
|
+
readonly name: 'mail.activity.type';
|
|
1308
|
+
readonly fields: {
|
|
1309
|
+
readonly id: F.Id<'mail.activity.type'>;
|
|
1310
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1311
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1312
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1313
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1314
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1315
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1316
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1317
|
+
readonly key: F.Char;
|
|
1318
|
+
readonly icon: F.Char<{ readonly default: true }>;
|
|
1319
|
+
readonly days: F.Integer<{ readonly default: true }>;
|
|
1320
|
+
readonly sequence: F.Integer<{ readonly default: true }>;
|
|
1321
|
+
};
|
|
1322
|
+
readonly methods: MailActivityTypeMethods;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/** Methods of `mail.activity.type`: declared ones and transitions. */
|
|
1326
|
+
export interface MailActivityTypeMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity.type'> {
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/** `mail.channel` (owner: messaging). */
|
|
1330
|
+
export interface MailChannel {
|
|
1331
|
+
readonly name: 'mail.channel';
|
|
1332
|
+
readonly fields: {
|
|
1333
|
+
readonly id: F.Id<'mail.channel'>;
|
|
1334
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1335
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1336
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1337
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1338
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1339
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1340
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1341
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1342
|
+
readonly kind: F.Selection<'channel' | 'group' | 'direct', { readonly required: true; readonly default: true }>;
|
|
1343
|
+
readonly description: F.Char;
|
|
1344
|
+
readonly public: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1345
|
+
readonly members: F.One2many<'mail.channel.member', { readonly required: true }>;
|
|
1346
|
+
readonly pairKey: F.Char;
|
|
1347
|
+
readonly lastMessageAt: F.Datetime;
|
|
1348
|
+
};
|
|
1349
|
+
readonly methods: MailChannelMethods;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/** Methods of `mail.channel`: declared ones and transitions. */
|
|
1353
|
+
export interface MailChannelMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel'> {
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
/** `mail.channel.member` (owner: messaging). */
|
|
1357
|
+
export interface MailChannelMember {
|
|
1358
|
+
readonly name: 'mail.channel.member';
|
|
1359
|
+
readonly fields: {
|
|
1360
|
+
readonly id: F.Id<'mail.channel.member'>;
|
|
1361
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1362
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1363
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1364
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1365
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1366
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1367
|
+
readonly channel: F.Many2one<'mail.channel', { readonly required: true }>;
|
|
1368
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1369
|
+
readonly lastReadMessage: F.Many2one<'mail.message'>;
|
|
1370
|
+
readonly muted: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1371
|
+
readonly pinned: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1372
|
+
};
|
|
1373
|
+
readonly methods: MailChannelMemberMethods;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
/** Methods of `mail.channel.member`: declared ones and transitions. */
|
|
1377
|
+
export interface MailChannelMemberMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel.member'> {
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
/** `mail.follower` (owner: messaging). */
|
|
1381
|
+
export interface MailFollower {
|
|
1382
|
+
readonly name: 'mail.follower';
|
|
1383
|
+
readonly fields: {
|
|
1384
|
+
readonly id: F.Id<'mail.follower'>;
|
|
1385
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1386
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1387
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1388
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1389
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1390
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
1391
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
1392
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1393
|
+
};
|
|
1394
|
+
readonly methods: MailFollowerMethods;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Methods of `mail.follower`: declared ones and transitions. */
|
|
1398
|
+
export interface MailFollowerMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.follower'> {
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/** `mail.message` (owner: messaging). */
|
|
1402
|
+
export interface MailMessage {
|
|
1403
|
+
readonly name: 'mail.message';
|
|
1404
|
+
readonly fields: {
|
|
1405
|
+
readonly id: F.Id<'mail.message'>;
|
|
1406
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1407
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1408
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1409
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1410
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1411
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
1412
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
1413
|
+
readonly kind: F.Selection<'comment' | 'note' | 'activity' | 'system', { readonly required: true; readonly default: true }>;
|
|
1414
|
+
readonly author: F.Many2one<'res.users'>;
|
|
1415
|
+
readonly authorEmail: F.Char;
|
|
1416
|
+
readonly authorName: F.Char;
|
|
1417
|
+
readonly text: F.Text<{ readonly required: true }>;
|
|
1418
|
+
readonly body: F.Text<{ readonly required: true }>;
|
|
1419
|
+
readonly mentions: F.Many2many<'res.users', { readonly required: true }>;
|
|
1420
|
+
readonly attachments: F.Many2many<'storage.attachment', { readonly required: true }>;
|
|
1421
|
+
readonly editedAt: F.Datetime;
|
|
1422
|
+
readonly parent: F.Many2one<'mail.message'>;
|
|
1423
|
+
readonly replyCount: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1424
|
+
readonly reactions: F.One2many<'mail.message.reaction', { readonly required: true }>;
|
|
1425
|
+
readonly deletedAt: F.Datetime;
|
|
1426
|
+
};
|
|
1427
|
+
readonly methods: MailMessageMethods;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/** Methods of `mail.message`: declared ones and transitions. */
|
|
1431
|
+
export interface MailMessageMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message'> {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/** `mail.message.reaction` (owner: messaging). */
|
|
1435
|
+
export interface MailMessageReaction {
|
|
1436
|
+
readonly name: 'mail.message.reaction';
|
|
1437
|
+
readonly fields: {
|
|
1438
|
+
readonly id: F.Id<'mail.message.reaction'>;
|
|
1439
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1440
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1441
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1442
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1443
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1444
|
+
readonly message: F.Many2one<'mail.message', { readonly required: true }>;
|
|
1445
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1446
|
+
readonly emoji: F.Char<{ readonly required: true }>;
|
|
1447
|
+
};
|
|
1448
|
+
readonly methods: MailMessageReactionMethods;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
/** Methods of `mail.message.reaction`: declared ones and transitions. */
|
|
1452
|
+
export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/** `oauth.app` (owner: base). */
|
|
1456
|
+
export interface OauthApp {
|
|
1457
|
+
readonly name: 'oauth.app';
|
|
1458
|
+
readonly fields: {
|
|
1459
|
+
readonly id: F.Id<'oauth.app'>;
|
|
1460
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1461
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1462
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1463
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1464
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1465
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1466
|
+
readonly clientId: F.Char<{ readonly required: true }>;
|
|
1467
|
+
readonly secretHash: F.Char;
|
|
1468
|
+
readonly confidential: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1469
|
+
readonly redirectUris: F.Text<{ readonly required: true }>;
|
|
1470
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1471
|
+
readonly homepage: F.Char;
|
|
1472
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1473
|
+
readonly owner: F.Many2one<'res.users'>;
|
|
1474
|
+
};
|
|
1475
|
+
readonly methods: OauthAppMethods;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
/** Methods of `oauth.app`: declared ones and transitions. */
|
|
1479
|
+
export interface OauthAppMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.app'> {
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
/** `oauth.code` (owner: base). */
|
|
1483
|
+
export interface OauthCode {
|
|
1484
|
+
readonly name: 'oauth.code';
|
|
1485
|
+
readonly fields: {
|
|
1486
|
+
readonly id: F.Id<'oauth.code'>;
|
|
1487
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1488
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1489
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1490
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1491
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1492
|
+
readonly codeHash: F.Char<{ readonly required: true }>;
|
|
1493
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1494
|
+
readonly redirectUri: F.Char<{ readonly required: true }>;
|
|
1495
|
+
readonly challenge: F.Char;
|
|
1496
|
+
readonly expiresAt: F.Datetime<{ readonly required: true }>;
|
|
1497
|
+
readonly used: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1498
|
+
};
|
|
1499
|
+
readonly methods: OauthCodeMethods;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/** Methods of `oauth.code`: declared ones and transitions. */
|
|
1503
|
+
export interface OauthCodeMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.code'> {
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
/** `oauth.grant` (owner: base). */
|
|
1507
|
+
export interface OauthGrant {
|
|
1508
|
+
readonly name: 'oauth.grant';
|
|
1509
|
+
readonly fields: {
|
|
1510
|
+
readonly id: F.Id<'oauth.grant'>;
|
|
1511
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1512
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1513
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1514
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1515
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1516
|
+
readonly user: F.Many2one<'res.users', { readonly required: true }>;
|
|
1517
|
+
readonly app: F.Many2one<'oauth.app', { readonly required: true }>;
|
|
1518
|
+
readonly scopes: F.Char<{ readonly required: true }>;
|
|
1519
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1520
|
+
readonly lastUsedAt: F.Datetime;
|
|
1521
|
+
};
|
|
1522
|
+
readonly methods: OauthGrantMethods;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/** Methods of `oauth.grant`: declared ones and transitions. */
|
|
1526
|
+
export interface OauthGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.grant'> {
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
/** `oauth.token` (owner: base). */
|
|
1530
|
+
export interface OauthToken {
|
|
1531
|
+
readonly name: 'oauth.token';
|
|
1532
|
+
readonly fields: {
|
|
1533
|
+
readonly id: F.Id<'oauth.token'>;
|
|
1534
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1535
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1536
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1537
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1538
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1539
|
+
readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
|
|
1540
|
+
readonly accessHash: F.Char<{ readonly required: true }>;
|
|
1541
|
+
readonly refreshHash: F.Char<{ readonly required: true }>;
|
|
1542
|
+
readonly accessExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1543
|
+
readonly refreshExpiresAt: F.Datetime<{ readonly required: true }>;
|
|
1544
|
+
readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1545
|
+
readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1546
|
+
};
|
|
1547
|
+
readonly methods: OauthTokenMethods;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
/** Methods of `oauth.token`: declared ones and transitions. */
|
|
1551
|
+
export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/** `payroll.employee.value` (owner: payroll). */
|
|
1555
|
+
export interface PayrollEmployeeValue {
|
|
1556
|
+
readonly name: 'payroll.employee.value';
|
|
1557
|
+
readonly fields: {
|
|
1558
|
+
readonly id: F.Id<'payroll.employee.value'>;
|
|
1559
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1560
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1561
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1562
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1563
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1564
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1565
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1566
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1567
|
+
readonly value: F.Decimal<{ readonly required: true }>;
|
|
1568
|
+
readonly dateFrom: F.DateOnly;
|
|
1569
|
+
readonly dateTo: F.DateOnly;
|
|
1570
|
+
readonly note: F.Char;
|
|
1571
|
+
};
|
|
1572
|
+
readonly methods: PayrollEmployeeValueMethods;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/** Methods of `payroll.employee.value`: declared ones and transitions. */
|
|
1576
|
+
export interface PayrollEmployeeValueMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.employee.value'> {
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/** `payroll.input` (owner: payroll). */
|
|
1580
|
+
export interface PayrollInput {
|
|
1581
|
+
readonly name: 'payroll.input';
|
|
1582
|
+
readonly fields: {
|
|
1583
|
+
readonly id: F.Id<'payroll.input'>;
|
|
1584
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1585
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1586
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1587
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1588
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1589
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1590
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1591
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
1592
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1593
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
1594
|
+
readonly note: F.Char;
|
|
1595
|
+
};
|
|
1596
|
+
readonly methods: PayrollInputMethods;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
/** Methods of `payroll.input`: declared ones and transitions. */
|
|
1600
|
+
export interface PayrollInputMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.input'> {
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/** `payroll.loan` (owner: payroll). */
|
|
1604
|
+
export interface PayrollLoan {
|
|
1605
|
+
readonly name: 'payroll.loan';
|
|
1606
|
+
readonly fields: {
|
|
1607
|
+
readonly id: F.Id<'payroll.loan'>;
|
|
1608
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1609
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1610
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1611
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1612
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1613
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1614
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1615
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1616
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
1617
|
+
readonly installment: F.Decimal<{ readonly required: true }>;
|
|
1618
|
+
readonly dateStart: F.DateOnly<{ readonly required: true }>;
|
|
1619
|
+
readonly repayments: F.One2many<'payroll.loan.repayment', { readonly required: true }>;
|
|
1620
|
+
readonly repaid: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1621
|
+
readonly remaining: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1622
|
+
readonly state: F.State<'draft' | 'running' | 'done' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1623
|
+
};
|
|
1624
|
+
readonly methods: PayrollLoanMethods;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** Methods of `payroll.loan`: declared ones and transitions. */
|
|
1628
|
+
export interface PayrollLoanMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.loan'> {
|
|
1629
|
+
readonly 'cancel': () => Promise<void>;
|
|
1630
|
+
readonly 'finish': () => Promise<void>;
|
|
1631
|
+
readonly 'start': () => Promise<void>;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
/** `payroll.loan.repayment` (owner: payroll). */
|
|
1635
|
+
export interface PayrollLoanRepayment {
|
|
1636
|
+
readonly name: 'payroll.loan.repayment';
|
|
1637
|
+
readonly fields: {
|
|
1638
|
+
readonly id: F.Id<'payroll.loan.repayment'>;
|
|
1639
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1640
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1641
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1642
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1643
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1644
|
+
readonly loan: F.Many2one<'payroll.loan', { readonly required: true }>;
|
|
1645
|
+
readonly slip: F.Many2one<'payroll.slip'>;
|
|
1646
|
+
readonly date: F.DateOnly<{ readonly required: true }>;
|
|
1647
|
+
readonly amount: F.Decimal<{ readonly required: true }>;
|
|
1648
|
+
};
|
|
1649
|
+
readonly methods: PayrollLoanRepaymentMethods;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
/** Methods of `payroll.loan.repayment`: declared ones and transitions. */
|
|
1653
|
+
export interface PayrollLoanRepaymentMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.loan.repayment'> {
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
/** `payroll.parameter` (owner: payroll). */
|
|
1657
|
+
export interface PayrollParameter {
|
|
1658
|
+
readonly name: 'payroll.parameter';
|
|
1659
|
+
readonly fields: {
|
|
1660
|
+
readonly id: F.Id<'payroll.parameter'>;
|
|
1661
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1662
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1663
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1664
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1665
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1666
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1667
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1668
|
+
readonly value: F.Decimal<{ readonly required: true }>;
|
|
1669
|
+
readonly dateFrom: F.DateOnly;
|
|
1670
|
+
readonly dateTo: F.DateOnly;
|
|
1671
|
+
readonly note: F.Text;
|
|
1672
|
+
};
|
|
1673
|
+
readonly methods: PayrollParameterMethods;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/** Methods of `payroll.parameter`: declared ones and transitions. */
|
|
1677
|
+
export interface PayrollParameterMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.parameter'> {
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
/** `payroll.rule` (owner: payroll). */
|
|
1681
|
+
export interface PayrollRule {
|
|
1682
|
+
readonly name: 'payroll.rule';
|
|
1683
|
+
readonly fields: {
|
|
1684
|
+
readonly id: F.Id<'payroll.rule'>;
|
|
1685
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1686
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1687
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1688
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1689
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1690
|
+
readonly structure: F.Many2one<'payroll.structure', { readonly required: true }>;
|
|
1691
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1692
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1693
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1694
|
+
readonly category: F.Selection<'basic' | 'allowance' | 'deduction' | 'contribution' | 'info', { readonly required: true; readonly default: true }>;
|
|
1695
|
+
readonly formula: F.Char<{ readonly required: true; readonly default: true }>;
|
|
1696
|
+
readonly condition: F.Char;
|
|
1697
|
+
readonly appearsOnSlip: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1698
|
+
readonly dateFrom: F.DateOnly;
|
|
1699
|
+
readonly dateTo: F.DateOnly;
|
|
1700
|
+
readonly note: F.Text;
|
|
1701
|
+
};
|
|
1702
|
+
readonly methods: PayrollRuleMethods;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/** Methods of `payroll.rule`: declared ones and transitions. */
|
|
1706
|
+
export interface PayrollRuleMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.rule'> {
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
/** `payroll.run` (owner: payroll). */
|
|
1710
|
+
export interface PayrollRun {
|
|
1711
|
+
readonly name: 'payroll.run';
|
|
1712
|
+
readonly fields: {
|
|
1713
|
+
readonly id: F.Id<'payroll.run'>;
|
|
1714
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1715
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1716
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1717
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1718
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1719
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1720
|
+
readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
|
|
1721
|
+
readonly title: F.Char;
|
|
1722
|
+
readonly kind: F.Selection<'regular' | 'correction', { readonly required: true; readonly default: true }>;
|
|
1723
|
+
readonly correctionOf: F.Many2one<'payroll.run'>;
|
|
1724
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
1725
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
1726
|
+
readonly paymentDate: F.DateOnly;
|
|
1727
|
+
readonly festival: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1728
|
+
readonly slips: F.One2many<'payroll.slip', { readonly required: true }>;
|
|
1729
|
+
readonly slipCount: F.Integer<{ readonly readonly: true; readonly compute: true }>;
|
|
1730
|
+
readonly gross: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1731
|
+
readonly net: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1732
|
+
readonly state: F.State<'draft' | 'computed' | 'approved' | 'paid' | 'cancelled', { readonly required: true; readonly readonly: true; readonly default: true }>;
|
|
1733
|
+
};
|
|
1734
|
+
readonly methods: PayrollRunMethods;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/** Methods of `payroll.run`: declared ones and transitions. */
|
|
1738
|
+
export interface PayrollRunMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.run'> {
|
|
1739
|
+
readonly 'approve': () => Promise<void>;
|
|
1740
|
+
readonly 'cancel': () => Promise<void>;
|
|
1741
|
+
readonly 'compute': () => Promise<void>;
|
|
1742
|
+
readonly 'pay': () => Promise<void>;
|
|
1743
|
+
readonly 'redraft': () => Promise<void>;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/** `payroll.slab` (owner: payroll). */
|
|
1747
|
+
export interface PayrollSlab {
|
|
1748
|
+
readonly name: 'payroll.slab';
|
|
1749
|
+
readonly fields: {
|
|
1750
|
+
readonly id: F.Id<'payroll.slab'>;
|
|
1751
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1752
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1753
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1754
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1755
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1756
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1757
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1758
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1759
|
+
readonly dateFrom: F.DateOnly;
|
|
1760
|
+
readonly dateTo: F.DateOnly;
|
|
1761
|
+
readonly bands: F.One2many<'payroll.slab.band', { readonly required: true }>;
|
|
1762
|
+
readonly note: F.Text;
|
|
1763
|
+
};
|
|
1764
|
+
readonly methods: PayrollSlabMethods;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/** Methods of `payroll.slab`: declared ones and transitions. */
|
|
1768
|
+
export interface PayrollSlabMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.slab'> {
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
/** `payroll.slab.band` (owner: payroll). */
|
|
1772
|
+
export interface PayrollSlabBand {
|
|
1773
|
+
readonly name: 'payroll.slab.band';
|
|
1774
|
+
readonly fields: {
|
|
1775
|
+
readonly id: F.Id<'payroll.slab.band'>;
|
|
1776
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1777
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1778
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1779
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1780
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1781
|
+
readonly slab: F.Many2one<'payroll.slab', { readonly required: true }>;
|
|
1782
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1783
|
+
readonly upTo: F.Decimal;
|
|
1784
|
+
readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1785
|
+
};
|
|
1786
|
+
readonly methods: PayrollSlabBandMethods;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
/** Methods of `payroll.slab.band`: declared ones and transitions. */
|
|
1790
|
+
export interface PayrollSlabBandMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.slab.band'> {
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/** `payroll.slip` (owner: payroll). */
|
|
1794
|
+
export interface PayrollSlip {
|
|
1795
|
+
readonly name: 'payroll.slip';
|
|
1796
|
+
readonly fields: {
|
|
1797
|
+
readonly id: F.Id<'payroll.slip'>;
|
|
1798
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1799
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1800
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1801
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1802
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1803
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
1804
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1805
|
+
readonly run: F.Many2one<'payroll.run', { readonly required: true }>;
|
|
1806
|
+
readonly employee: F.Many2one<'hr.employee', { readonly required: true }>;
|
|
1807
|
+
readonly contract: F.Many2one<'hr.contract'>;
|
|
1808
|
+
readonly structure: F.Many2one<'payroll.structure'>;
|
|
1809
|
+
readonly dateFrom: F.DateOnly<{ readonly required: true }>;
|
|
1810
|
+
readonly dateTo: F.DateOnly<{ readonly required: true }>;
|
|
1811
|
+
readonly lines: F.One2many<'payroll.slip.line', { readonly required: true }>;
|
|
1812
|
+
readonly gross: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1813
|
+
readonly deductions: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1814
|
+
readonly contributions: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1815
|
+
readonly net: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1816
|
+
readonly previousNet: F.Decimal;
|
|
1817
|
+
readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
|
|
1818
|
+
readonly warnings: F.Text;
|
|
1819
|
+
};
|
|
1820
|
+
readonly methods: PayrollSlipMethods;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/** Methods of `payroll.slip`: declared ones and transitions. */
|
|
1824
|
+
export interface PayrollSlipMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.slip'> {
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/** `payroll.slip.line` (owner: payroll). */
|
|
1828
|
+
export interface PayrollSlipLine {
|
|
1829
|
+
readonly name: 'payroll.slip.line';
|
|
1830
|
+
readonly fields: {
|
|
1831
|
+
readonly id: F.Id<'payroll.slip.line'>;
|
|
1832
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1833
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1834
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1835
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1836
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1837
|
+
readonly slip: F.Many2one<'payroll.slip', { readonly required: true }>;
|
|
1838
|
+
readonly rule: F.Many2one<'payroll.rule'>;
|
|
1839
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
1840
|
+
readonly code: F.Char<{ readonly required: true }>;
|
|
1841
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1842
|
+
readonly category: F.Selection<'basic' | 'allowance' | 'deduction' | 'contribution' | 'info', { readonly required: true; readonly default: true }>;
|
|
1843
|
+
readonly amount: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1844
|
+
readonly explanation: F.Char;
|
|
1845
|
+
readonly appearsOnSlip: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1846
|
+
};
|
|
1847
|
+
readonly methods: PayrollSlipLineMethods;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/** Methods of `payroll.slip.line`: declared ones and transitions. */
|
|
1851
|
+
export interface PayrollSlipLineMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.slip.line'> {
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
/** `payroll.structure` (owner: payroll). */
|
|
1855
|
+
export interface PayrollStructure {
|
|
1856
|
+
readonly name: 'payroll.structure';
|
|
1857
|
+
readonly fields: {
|
|
1858
|
+
readonly id: F.Id<'payroll.structure'>;
|
|
1859
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1860
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1861
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1862
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1863
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1864
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1865
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1866
|
+
readonly rules: F.One2many<'payroll.rule', { readonly required: true }>;
|
|
1867
|
+
readonly note: F.Text;
|
|
1868
|
+
};
|
|
1869
|
+
readonly methods: PayrollStructureMethods;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
/** Methods of `payroll.structure`: declared ones and transitions. */
|
|
1873
|
+
export interface PayrollStructureMethods extends F.Methods<typeof import('../../payroll/index.js').payrollShutro, 'payroll.structure'> {
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
/** `product.category` (owner: product). */
|
|
1877
|
+
export interface ProductCategory {
|
|
1878
|
+
readonly name: 'product.category';
|
|
1879
|
+
readonly fields: {
|
|
1880
|
+
readonly id: F.Id<'product.category'>;
|
|
1881
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1882
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1883
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1884
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1885
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1886
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1887
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1888
|
+
readonly parent: F.Many2one<'product.category'>;
|
|
1889
|
+
};
|
|
1890
|
+
readonly methods: ProductCategoryMethods;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/** Methods of `product.category`: declared ones and transitions. */
|
|
1894
|
+
export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
/** `product.product` (owner: product). */
|
|
1898
|
+
export interface ProductProduct {
|
|
1899
|
+
readonly name: 'product.product';
|
|
1900
|
+
readonly fields: {
|
|
1901
|
+
readonly id: F.Id<'product.product'>;
|
|
1902
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1903
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1904
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1905
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1906
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1907
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1908
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
1909
|
+
readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
|
|
1910
|
+
readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
|
|
1911
|
+
readonly category: F.Many2one<'product.category'>;
|
|
1912
|
+
readonly uom: F.Many2one<'uom.uom'>;
|
|
1913
|
+
readonly barcode: F.Char;
|
|
1914
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
1915
|
+
readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1916
|
+
readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
1917
|
+
readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1918
|
+
readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1919
|
+
readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1920
|
+
readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
|
|
1921
|
+
readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1922
|
+
readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
|
|
1923
|
+
readonly description: F.Text<{ readonly translate: true }>;
|
|
1924
|
+
};
|
|
1925
|
+
readonly methods: ProductProductMethods;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
/** Methods of `product.product`: declared ones and transitions. */
|
|
1929
|
+
export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'> {
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/** `report.dashboard` (owner: reporting). */
|
|
1933
|
+
export interface ReportDashboard {
|
|
1934
|
+
readonly name: 'report.dashboard';
|
|
1935
|
+
readonly fields: {
|
|
1936
|
+
readonly id: F.Id<'report.dashboard'>;
|
|
1937
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1938
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1939
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1940
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1941
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1942
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1943
|
+
readonly items: F.Json<unknown, { readonly required: true; readonly default: true }>;
|
|
1944
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1945
|
+
readonly key: F.Char;
|
|
1946
|
+
};
|
|
1947
|
+
readonly methods: ReportDashboardMethods;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
/** Methods of `report.dashboard`: declared ones and transitions. */
|
|
1951
|
+
export interface ReportDashboardMethods extends F.Methods<typeof import('../../reporting/index.js').reportingShutro, 'report.dashboard'> {
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/** `report.output` (owner: reporting). */
|
|
1955
|
+
export interface ReportOutput {
|
|
1956
|
+
readonly name: 'report.output';
|
|
1957
|
+
readonly fields: {
|
|
1958
|
+
readonly id: F.Id<'report.output'>;
|
|
1959
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1960
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1961
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1962
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1963
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1964
|
+
readonly schedule: F.Many2one<'report.schedule'>;
|
|
1965
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1966
|
+
readonly filename: F.Char<{ readonly required: true }>;
|
|
1967
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
1968
|
+
readonly size: F.Integer<{ readonly required: true }>;
|
|
1969
|
+
readonly content: F.Binary<{ readonly required: true }>;
|
|
1970
|
+
readonly recipients: F.Many2many<'res.users', { readonly required: true }>;
|
|
1971
|
+
};
|
|
1972
|
+
readonly methods: ReportOutputMethods;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/** Methods of `report.output`: declared ones and transitions. */
|
|
1976
|
+
export interface ReportOutputMethods extends F.Methods<typeof import('../../reporting/index.js').reportingShutro, 'report.output'> {
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/** `report.schedule` (owner: reporting). */
|
|
1980
|
+
export interface ReportSchedule {
|
|
1981
|
+
readonly name: 'report.schedule';
|
|
1982
|
+
readonly fields: {
|
|
1983
|
+
readonly id: F.Id<'report.schedule'>;
|
|
1984
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1985
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
1986
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1987
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
1988
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
1989
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
1990
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
1991
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
1992
|
+
readonly kind: F.Selection<'pivot' | 'list' | 'document', { readonly required: true; readonly default: true }>;
|
|
1993
|
+
readonly query: F.Json<unknown, { readonly required: true; readonly default: true }>;
|
|
1994
|
+
readonly template: F.Many2one<'report.template'>;
|
|
1995
|
+
readonly format: F.Selection<'xlsx' | 'csv' | 'pdf', { readonly required: true; readonly default: true }>;
|
|
1996
|
+
readonly frequency: F.Selection<'daily' | 'weekly' | 'monthly', { readonly required: true; readonly default: true }>;
|
|
1997
|
+
readonly hour: F.Integer<{ readonly default: true }>;
|
|
1998
|
+
readonly day: F.Integer<{ readonly default: true }>;
|
|
1999
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
2000
|
+
readonly recipients: F.Many2many<'res.users', { readonly required: true }>;
|
|
2001
|
+
readonly nextRunAt: F.Datetime;
|
|
2002
|
+
readonly lastRunAt: F.Datetime;
|
|
2003
|
+
readonly lastError: F.Char;
|
|
2004
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2005
|
+
};
|
|
2006
|
+
readonly methods: ReportScheduleMethods;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/** Methods of `report.schedule`: declared ones and transitions. */
|
|
2010
|
+
export interface ReportScheduleMethods extends F.Methods<typeof import('../../reporting/index.js').reportingShutro, 'report.schedule'> {
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
/** `report.spreadsheet` (owner: reporting). */
|
|
2014
|
+
export interface ReportSpreadsheet {
|
|
2015
|
+
readonly name: 'report.spreadsheet';
|
|
2016
|
+
readonly fields: {
|
|
2017
|
+
readonly id: F.Id<'report.spreadsheet'>;
|
|
2018
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2019
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2020
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2021
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2022
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2023
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2024
|
+
readonly cells: F.Json<unknown, { readonly required: true; readonly default: true }>;
|
|
2025
|
+
readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2026
|
+
};
|
|
2027
|
+
readonly methods: ReportSpreadsheetMethods;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
/** Methods of `report.spreadsheet`: declared ones and transitions. */
|
|
2031
|
+
export interface ReportSpreadsheetMethods extends F.Methods<typeof import('../../reporting/index.js').reportingShutro, 'report.spreadsheet'> {
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
/** `report.template` (owner: reporting). */
|
|
2035
|
+
export interface ReportTemplate {
|
|
2036
|
+
readonly name: 'report.template';
|
|
2037
|
+
readonly fields: {
|
|
2038
|
+
readonly id: F.Id<'report.template'>;
|
|
2039
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2040
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2041
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2042
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2043
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2044
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2045
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2046
|
+
readonly targetModel: F.Char<{ readonly required: true }>;
|
|
2047
|
+
readonly key: F.Char;
|
|
2048
|
+
readonly layout: F.Json<unknown, { readonly required: true }>;
|
|
2049
|
+
readonly scope: F.Selection<'record' | 'list', { readonly required: true; readonly default: true }>;
|
|
2050
|
+
};
|
|
2051
|
+
readonly methods: ReportTemplateMethods;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
/** Methods of `report.template`: declared ones and transitions. */
|
|
2055
|
+
export interface ReportTemplateMethods extends F.Methods<typeof import('../../reporting/index.js').reportingShutro, 'report.template'> {
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
/** `res.bank.account` (owner: accounting). */
|
|
2059
|
+
export interface ResBankAccount {
|
|
2060
|
+
readonly name: 'res.bank.account';
|
|
2061
|
+
readonly fields: {
|
|
2062
|
+
readonly id: F.Id<'res.bank.account'>;
|
|
2063
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2064
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2065
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2066
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2067
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2068
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2069
|
+
readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
|
|
2070
|
+
readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
|
|
2071
|
+
readonly bank: F.Char<{ readonly required: true }>;
|
|
2072
|
+
readonly branch: F.Char;
|
|
2073
|
+
readonly number: F.Char<{ readonly required: true }>;
|
|
2074
|
+
readonly holder: F.Char;
|
|
2075
|
+
readonly routing: F.Char;
|
|
2076
|
+
readonly swift: F.Char;
|
|
2077
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
2078
|
+
};
|
|
2079
|
+
readonly methods: ResBankAccountMethods;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/** Methods of `res.bank.account`: declared ones and transitions. */
|
|
2083
|
+
export interface ResBankAccountMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.bank.account'> {
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
/** `res.company` (owner: base; extended by: contacts, accounting, l10n_bd). */
|
|
2087
|
+
export interface ResCompany {
|
|
2088
|
+
readonly name: 'res.company';
|
|
2089
|
+
readonly fields: {
|
|
2090
|
+
readonly id: F.Id<'res.company'>;
|
|
2091
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2092
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2093
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2094
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2095
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2096
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2097
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
2098
|
+
readonly numberGrouping: F.Selection<'international' | 'lakh', { readonly required: true; readonly default: true }>;
|
|
2099
|
+
readonly accentColor: F.Char;
|
|
2100
|
+
readonly street: F.Char;
|
|
2101
|
+
readonly city: F.Char;
|
|
2102
|
+
readonly zip: F.Char;
|
|
2103
|
+
readonly email: F.Char;
|
|
2104
|
+
readonly phone: F.Char;
|
|
2105
|
+
readonly website: F.Char;
|
|
2106
|
+
readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
2107
|
+
readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
|
|
2108
|
+
readonly fiscalYearStart: F.Integer<{ readonly required: true; readonly default: true }>; // accounting
|
|
2109
|
+
readonly chartTemplate: F.Char; // accounting
|
|
2110
|
+
readonly country: F.Char; // accounting
|
|
2111
|
+
readonly state: F.Char; // accounting
|
|
2112
|
+
readonly lockDate: F.DateOnly; // accounting
|
|
2113
|
+
readonly taxLockDate: F.DateOnly; // accounting
|
|
2114
|
+
readonly accountReceivable: F.Many2one<'account.account'>; // accounting
|
|
2115
|
+
readonly accountPayable: F.Many2one<'account.account'>; // accounting
|
|
2116
|
+
readonly accountExchangeGain: F.Many2one<'account.account'>; // accounting
|
|
2117
|
+
readonly accountExchangeLoss: F.Many2one<'account.account'>; // accounting
|
|
2118
|
+
readonly accountRetainedEarnings: F.Many2one<'account.account'>; // accounting
|
|
2119
|
+
readonly bin: F.Char; // l10n_bd
|
|
2120
|
+
readonly tin: F.Char; // l10n_bd
|
|
2121
|
+
};
|
|
2122
|
+
readonly methods: ResCompanyMethods;
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
/** Methods of `res.company`: declared ones and transitions. */
|
|
2126
|
+
export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.company'>, F.Methods<typeof import('../../l10n_bd/index.js').l10nBdShutro, 'res.company'> {
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/** `res.currency` (owner: base). */
|
|
2130
|
+
export interface ResCurrency {
|
|
2131
|
+
readonly name: 'res.currency';
|
|
2132
|
+
readonly fields: {
|
|
2133
|
+
readonly id: F.Id<'res.currency'>;
|
|
2134
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2135
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2136
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2137
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2138
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2139
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2140
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2141
|
+
readonly decimalPlaces: F.Integer<{ readonly default: true }>;
|
|
2142
|
+
};
|
|
2143
|
+
readonly methods: ResCurrencyMethods;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/** Methods of `res.currency`: declared ones and transitions. */
|
|
2147
|
+
export interface ResCurrencyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.currency'> {
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
/** `res.currency.rate` (owner: accounting). */
|
|
2151
|
+
export interface ResCurrencyRate {
|
|
2152
|
+
readonly name: 'res.currency.rate';
|
|
2153
|
+
readonly fields: {
|
|
2154
|
+
readonly id: F.Id<'res.currency.rate'>;
|
|
2155
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2156
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2157
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2158
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2159
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2160
|
+
readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
|
|
2161
|
+
readonly company: F.Many2one<'res.company'>;
|
|
2162
|
+
readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
|
|
2163
|
+
readonly rate: F.Decimal<{ readonly required: true }>;
|
|
2164
|
+
};
|
|
2165
|
+
readonly methods: ResCurrencyRateMethods;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
/** Methods of `res.currency.rate`: declared ones and transitions. */
|
|
2169
|
+
export interface ResCurrencyRateMethods extends F.Methods<typeof import('../../accounting/index.js').accountingShutro, 'res.currency.rate'> {
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
/** `res.partner` (owner: contacts; extended by: accounting, l10n_bd). */
|
|
2173
|
+
export interface ResPartner {
|
|
2174
|
+
readonly name: 'res.partner';
|
|
2175
|
+
readonly fields: {
|
|
2176
|
+
readonly id: F.Id<'res.partner'>;
|
|
2177
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2178
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2179
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2180
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2181
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2182
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2183
|
+
readonly company: F.Many2one<'res.company', { readonly default: true }>;
|
|
2184
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2185
|
+
readonly image: F.Many2one<'storage.attachment'>;
|
|
2186
|
+
readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
|
|
2187
|
+
readonly latitude: F.Decimal;
|
|
2188
|
+
readonly longitude: F.Decimal;
|
|
2189
|
+
readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2190
|
+
readonly parent: F.Many2one<'res.partner'>;
|
|
2191
|
+
readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
|
|
2192
|
+
readonly email: F.Char;
|
|
2193
|
+
readonly phone: F.Char;
|
|
2194
|
+
readonly mobile: F.Char;
|
|
2195
|
+
readonly website: F.Char;
|
|
2196
|
+
readonly street: F.Char;
|
|
2197
|
+
readonly city: F.Char;
|
|
2198
|
+
readonly zip: F.Char;
|
|
2199
|
+
readonly country: F.Char;
|
|
2200
|
+
readonly state: F.Char;
|
|
2201
|
+
readonly taxId: F.Char;
|
|
2202
|
+
readonly isCustomer: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2203
|
+
readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2204
|
+
readonly currency: F.Many2one<'res.currency'>;
|
|
2205
|
+
readonly notes: F.Text;
|
|
2206
|
+
readonly withholdings: F.Many2many<'account.withholding', { readonly required: true }>; // accounting
|
|
2207
|
+
readonly bin: F.Char; // l10n_bd
|
|
2208
|
+
readonly tin: F.Char; // l10n_bd
|
|
2209
|
+
};
|
|
2210
|
+
readonly methods: ResPartnerMethods;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/** Methods of `res.partner`: declared ones and transitions. */
|
|
2214
|
+
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('../../l10n_bd/index.js').l10nBdShutro, 'res.partner'> {
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/** `res.partner.tag` (owner: contacts). */
|
|
2218
|
+
export interface ResPartnerTag {
|
|
2219
|
+
readonly name: 'res.partner.tag';
|
|
2220
|
+
readonly fields: {
|
|
2221
|
+
readonly id: F.Id<'res.partner.tag'>;
|
|
2222
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2223
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2224
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2225
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2226
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2227
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2228
|
+
};
|
|
2229
|
+
readonly methods: ResPartnerTagMethods;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
/** Methods of `res.partner.tag`: declared ones and transitions. */
|
|
2233
|
+
export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
/** `res.users` (owner: base). */
|
|
2237
|
+
export interface ResUsers {
|
|
2238
|
+
readonly name: 'res.users';
|
|
2239
|
+
readonly fields: {
|
|
2240
|
+
readonly id: F.Id<'res.users'>;
|
|
2241
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2242
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2243
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2244
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2245
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2246
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2247
|
+
readonly login: F.Char<{ readonly required: true }>;
|
|
2248
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2249
|
+
readonly email: F.Char;
|
|
2250
|
+
readonly phone: F.Char;
|
|
2251
|
+
readonly company: F.Many2one<'res.company'>;
|
|
2252
|
+
readonly companies: F.Many2many<'res.company', { readonly required: true }>;
|
|
2253
|
+
readonly lang: F.Char<{ readonly default: true }>;
|
|
2254
|
+
readonly tz: F.Char<{ readonly default: true }>;
|
|
2255
|
+
readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2256
|
+
};
|
|
2257
|
+
readonly methods: ResUsersMethods;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
/** Methods of `res.users`: declared ones and transitions. */
|
|
2261
|
+
export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
/** `storage.attachment` (owner: storage). */
|
|
2265
|
+
export interface StorageAttachment {
|
|
2266
|
+
readonly name: 'storage.attachment';
|
|
2267
|
+
readonly fields: {
|
|
2268
|
+
readonly id: F.Id<'storage.attachment'>;
|
|
2269
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2270
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2271
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2272
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2273
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2274
|
+
readonly name: F.Char<{ readonly required: true }>;
|
|
2275
|
+
readonly mime: F.Char<{ readonly required: true }>;
|
|
2276
|
+
readonly size: F.Integer<{ readonly required: true }>;
|
|
2277
|
+
readonly sha256: F.Char<{ readonly required: true }>;
|
|
2278
|
+
readonly key: F.Char<{ readonly required: true }>;
|
|
2279
|
+
readonly resModel: F.Char<{ readonly required: true }>;
|
|
2280
|
+
readonly resId: F.Integer<{ readonly required: true }>;
|
|
2281
|
+
readonly variantOf: F.Many2one<'storage.attachment'>;
|
|
2282
|
+
readonly width: F.Integer;
|
|
2283
|
+
};
|
|
2284
|
+
readonly methods: StorageAttachmentMethods;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
/** Methods of `storage.attachment`: declared ones and transitions. */
|
|
2288
|
+
export interface StorageAttachmentMethods extends F.Methods<typeof import('../../storage/index.js').storageShutro, 'storage.attachment'> {
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
/** `uom.uom` (owner: product). */
|
|
2292
|
+
export interface UomUom {
|
|
2293
|
+
readonly name: 'uom.uom';
|
|
2294
|
+
readonly fields: {
|
|
2295
|
+
readonly id: F.Id<'uom.uom'>;
|
|
2296
|
+
readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2297
|
+
readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
|
|
2298
|
+
readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2299
|
+
readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
|
|
2300
|
+
readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
|
|
2301
|
+
readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
|
|
2302
|
+
readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
|
|
2303
|
+
readonly category: F.Selection<'unit' | 'time' | 'weight' | 'length' | 'volume', { readonly required: true; readonly default: true }>;
|
|
2304
|
+
readonly ratio: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2305
|
+
readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
|
|
2306
|
+
};
|
|
2307
|
+
readonly methods: UomUomMethods;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
/** Methods of `uom.uom`: declared ones and transitions. */
|
|
2311
|
+
export interface UomUomMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'uom.uom'> {
|
|
2312
|
+
}
|