shutro-erp 0.3.3 → 0.3.5

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.
Files changed (412) hide show
  1. package/dist/account_portal/.kosh/bindings.js +1 -1
  2. package/dist/account_portal/.kosh/schema.d.ts +181 -3
  3. package/dist/account_portal/module.d.ts +359 -6
  4. package/dist/accounting/.kosh/bindings.js +1 -1
  5. package/dist/accounting/.kosh/schema.d.ts +181 -3
  6. package/dist/accounting/index.js +214 -2
  7. package/dist/accounting/module.d.ts +217 -5
  8. package/dist/accounting/module.js +23 -2
  9. package/dist/calendar/.kosh/bindings.d.ts +22 -0
  10. package/dist/calendar/.kosh/bindings.js +15 -0
  11. package/dist/calendar/.kosh/schema.d.ts +795 -0
  12. package/dist/calendar/demo.d.ts +6 -0
  13. package/dist/calendar/demo.js +24 -0
  14. package/dist/calendar/index.d.ts +3 -0
  15. package/dist/calendar/index.js +291 -0
  16. package/dist/calendar/module.d.ts +1705 -0
  17. package/dist/calendar/module.js +180 -0
  18. package/dist/cli/init.js +48 -0
  19. package/dist/cli/templates.d.ts +1 -1
  20. package/dist/cli/templates.js +137 -0
  21. package/dist/contacts/.kosh/bindings.js +1 -1
  22. package/dist/contacts/.kosh/schema.d.ts +205 -3
  23. package/dist/contacts/demo.js +30 -1
  24. package/dist/contacts/index.d.ts +1 -1
  25. package/dist/contacts/index.js +155 -9
  26. package/dist/contacts/module.d.ts +338 -2
  27. package/dist/contacts/module.js +82 -5
  28. package/dist/crm/.kosh/bindings.d.ts +22 -0
  29. package/dist/crm/.kosh/bindings.js +15 -0
  30. package/dist/crm/.kosh/schema.d.ts +799 -0
  31. package/dist/crm/demo.d.ts +6 -0
  32. package/dist/crm/demo.js +45 -0
  33. package/dist/crm/index.d.ts +3 -0
  34. package/dist/crm/index.js +361 -0
  35. package/dist/crm/module.d.ts +1843 -0
  36. package/dist/crm/module.js +207 -0
  37. package/dist/event/.kosh/bindings.d.ts +22 -0
  38. package/dist/event/.kosh/bindings.js +15 -0
  39. package/dist/event/.kosh/schema.d.ts +843 -0
  40. package/dist/event/demo.d.ts +6 -0
  41. package/dist/event/demo.js +65 -0
  42. package/dist/event/index.d.ts +14 -0
  43. package/dist/event/index.js +333 -0
  44. package/dist/event/mails.d.ts +15 -0
  45. package/dist/event/mails.js +112 -0
  46. package/dist/event/module.d.ts +2800 -0
  47. package/dist/event/module.js +323 -0
  48. package/dist/event/web/CheckInBox.d.ts +9 -0
  49. package/dist/event/web/CheckInBox.js +87 -0
  50. package/dist/event/web/index.d.ts +11 -0
  51. package/dist/event/web/index.js +16 -0
  52. package/dist/event/web/messages.d.ts +2 -0
  53. package/dist/event/web/messages.js +23 -0
  54. package/dist/event_account/.kosh/bindings.d.ts +22 -0
  55. package/dist/event_account/.kosh/bindings.js +15 -0
  56. package/dist/event_account/.kosh/schema.d.ts +1639 -0
  57. package/dist/event_account/index.d.ts +3 -0
  58. package/dist/event_account/index.js +28 -0
  59. package/dist/event_account/module.d.ts +6968 -0
  60. package/dist/event_account/module.js +90 -0
  61. package/dist/hr/.kosh/bindings.d.ts +22 -0
  62. package/dist/hr/.kosh/bindings.js +15 -0
  63. package/dist/hr/.kosh/schema.d.ts +878 -0
  64. package/dist/hr/demo.d.ts +6 -0
  65. package/dist/hr/demo.js +60 -0
  66. package/dist/hr/index.d.ts +3 -0
  67. package/dist/hr/index.js +483 -0
  68. package/dist/hr/module.d.ts +2611 -0
  69. package/dist/hr/module.js +350 -0
  70. package/dist/integrations/index.js +12 -0
  71. package/dist/integrations/web/OAuthAppsPage.d.ts +9 -0
  72. package/dist/integrations/web/OAuthAppsPage.js +79 -0
  73. package/dist/integrations/web/index.d.ts +1 -0
  74. package/dist/integrations/web/index.js +3 -0
  75. package/dist/integrations/web/messages.js +58 -0
  76. package/dist/l10n_bd/.kosh/bindings.js +1 -1
  77. package/dist/l10n_bd/.kosh/schema.d.ts +181 -3
  78. package/dist/l10n_bd/module.d.ts +359 -6
  79. package/dist/l10n_in/.kosh/bindings.js +1 -1
  80. package/dist/l10n_in/.kosh/schema.d.ts +181 -3
  81. package/dist/l10n_in/module.d.ts +380 -7
  82. package/dist/maintenance/.kosh/bindings.d.ts +22 -0
  83. package/dist/maintenance/.kosh/bindings.js +15 -0
  84. package/dist/maintenance/.kosh/schema.d.ts +911 -0
  85. package/dist/maintenance/demo.d.ts +6 -0
  86. package/dist/maintenance/demo.js +60 -0
  87. package/dist/maintenance/index.d.ts +3 -0
  88. package/dist/maintenance/index.js +422 -0
  89. package/dist/maintenance/module.d.ts +3545 -0
  90. package/dist/maintenance/module.js +446 -0
  91. package/dist/maintenance_stock/.kosh/bindings.d.ts +22 -0
  92. package/dist/maintenance_stock/.kosh/bindings.js +15 -0
  93. package/dist/maintenance_stock/.kosh/schema.d.ts +1371 -0
  94. package/dist/maintenance_stock/index.d.ts +9 -0
  95. package/dist/maintenance_stock/index.js +52 -0
  96. package/dist/maintenance_stock/module.d.ts +6953 -0
  97. package/dist/maintenance_stock/module.js +192 -0
  98. package/dist/messaging/web/index.js +1 -1
  99. package/dist/modules-sdk/index.d.ts +1 -1
  100. package/dist/modules-sdk/manifest.d.ts +70 -0
  101. package/dist/modules-sdk/manifest.js +35 -1
  102. package/dist/mrp/.kosh/bindings.d.ts +22 -0
  103. package/dist/mrp/.kosh/bindings.js +15 -0
  104. package/dist/mrp/.kosh/schema.d.ts +1378 -0
  105. package/dist/mrp/demo.d.ts +7 -0
  106. package/dist/mrp/demo.js +42 -0
  107. package/dist/mrp/index.d.ts +3 -0
  108. package/dist/mrp/index.js +392 -0
  109. package/dist/mrp/module.d.ts +8608 -0
  110. package/dist/mrp/module.js +695 -0
  111. package/dist/mrp_account/.kosh/bindings.d.ts +22 -0
  112. package/dist/mrp_account/.kosh/bindings.js +15 -0
  113. package/dist/mrp_account/.kosh/schema.d.ts +2106 -0
  114. package/dist/mrp_account/index.d.ts +3 -0
  115. package/dist/mrp_account/index.js +22 -0
  116. package/dist/mrp_account/module.d.ts +20840 -0
  117. package/dist/mrp_account/module.js +123 -0
  118. package/dist/notify/web/index.js +1 -1
  119. package/dist/payment/.kosh/bindings.js +1 -1
  120. package/dist/payment/.kosh/schema.d.ts +181 -3
  121. package/dist/payment/module.d.ts +359 -6
  122. package/dist/portal/.kosh/bindings.js +1 -1
  123. package/dist/portal/.kosh/schema.d.ts +205 -3
  124. package/dist/portal/module.d.ts +166 -2
  125. package/dist/pos/.kosh/bindings.d.ts +22 -0
  126. package/dist/pos/.kosh/bindings.js +15 -0
  127. package/dist/pos/.kosh/schema.d.ts +1690 -0
  128. package/dist/pos/accounting.d.ts +10 -0
  129. package/dist/pos/accounting.js +149 -0
  130. package/dist/pos/demo.d.ts +6 -0
  131. package/dist/pos/demo.js +90 -0
  132. package/dist/pos/index.d.ts +9 -0
  133. package/dist/pos/index.js +349 -0
  134. package/dist/pos/module.d.ts +9636 -0
  135. package/dist/pos/module.js +423 -0
  136. package/dist/pos/routes.d.ts +39 -0
  137. package/dist/pos/routes.js +368 -0
  138. package/dist/pos/web/Register.d.ts +9 -0
  139. package/dist/pos/web/Register.js +252 -0
  140. package/dist/pos/web/index.d.ts +11 -0
  141. package/dist/pos/web/index.js +16 -0
  142. package/dist/pos/web/messages.d.ts +2 -0
  143. package/dist/pos/web/messages.js +87 -0
  144. package/dist/pos_stock/.kosh/bindings.d.ts +22 -0
  145. package/dist/pos_stock/.kosh/bindings.js +15 -0
  146. package/dist/pos_stock/.kosh/schema.d.ts +2015 -0
  147. package/dist/pos_stock/index.d.ts +9 -0
  148. package/dist/pos_stock/index.js +35 -0
  149. package/dist/pos_stock/module.d.ts +11935 -0
  150. package/dist/pos_stock/module.js +115 -0
  151. package/dist/product/.kosh/bindings.js +1 -1
  152. package/dist/product/.kosh/schema.d.ts +178 -1
  153. package/dist/product/index.js +81 -4
  154. package/dist/product/module.d.ts +43 -1
  155. package/dist/product/module.js +9 -2
  156. package/dist/project/.kosh/bindings.js +1 -1
  157. package/dist/project/.kosh/schema.d.ts +181 -3
  158. package/dist/project/index.js +147 -7
  159. package/dist/project/module.d.ts +210 -2
  160. package/dist/project/module.js +52 -5
  161. package/dist/project_portal/.kosh/bindings.js +1 -1
  162. package/dist/project_portal/.kosh/schema.d.ts +181 -3
  163. package/dist/project_portal/module.d.ts +353 -4
  164. package/dist/purchase/.kosh/bindings.js +1 -1
  165. package/dist/purchase/.kosh/schema.d.ts +181 -3
  166. package/dist/purchase/index.js +163 -3
  167. package/dist/purchase/module.d.ts +215 -3
  168. package/dist/purchase/module.js +21 -3
  169. package/dist/purchase_account/.kosh/bindings.js +1 -1
  170. package/dist/purchase_account/.kosh/schema.d.ts +182 -3
  171. package/dist/purchase_account/index.js +26 -1
  172. package/dist/purchase_account/module.d.ts +393 -7
  173. package/dist/purchase_portal/.kosh/bindings.js +1 -1
  174. package/dist/purchase_portal/.kosh/schema.d.ts +181 -3
  175. package/dist/purchase_portal/module.d.ts +366 -5
  176. package/dist/purchase_stock/.kosh/bindings.d.ts +22 -0
  177. package/dist/purchase_stock/.kosh/bindings.js +15 -0
  178. package/dist/purchase_stock/.kosh/schema.d.ts +1310 -0
  179. package/dist/purchase_stock/index.d.ts +7 -0
  180. package/dist/purchase_stock/index.js +91 -0
  181. package/dist/purchase_stock/module.d.ts +6763 -0
  182. package/dist/purchase_stock/module.js +144 -0
  183. package/dist/purchase_stock_account/.kosh/bindings.d.ts +22 -0
  184. package/dist/purchase_stock_account/.kosh/bindings.js +15 -0
  185. package/dist/purchase_stock_account/.kosh/schema.d.ts +1959 -0
  186. package/dist/purchase_stock_account/index.d.ts +3 -0
  187. package/dist/purchase_stock_account/index.js +24 -0
  188. package/dist/purchase_stock_account/module.d.ts +35366 -0
  189. package/dist/purchase_stock_account/module.js +162 -0
  190. package/dist/recruitment/.kosh/bindings.d.ts +22 -0
  191. package/dist/recruitment/.kosh/bindings.js +15 -0
  192. package/dist/recruitment/.kosh/schema.d.ts +990 -0
  193. package/dist/recruitment/demo.d.ts +6 -0
  194. package/dist/recruitment/demo.js +45 -0
  195. package/dist/recruitment/index.d.ts +3 -0
  196. package/dist/recruitment/index.js +385 -0
  197. package/dist/recruitment/module.d.ts +3247 -0
  198. package/dist/recruitment/module.js +193 -0
  199. package/dist/recruitment/web/HireButton.d.ts +9 -0
  200. package/dist/recruitment/web/HireButton.js +32 -0
  201. package/dist/recruitment/web/index.d.ts +11 -0
  202. package/dist/recruitment/web/index.js +16 -0
  203. package/dist/recruitment/web/messages.d.ts +2 -0
  204. package/dist/recruitment/web/messages.js +19 -0
  205. package/dist/reporting/documents.d.ts +5 -0
  206. package/dist/reporting/documents.js +28 -1
  207. package/dist/reporting/index.d.ts +1 -1
  208. package/dist/reporting/index.js +4 -2
  209. package/dist/reporting/models.js +9 -0
  210. package/dist/reporting/overviews.d.ts +16 -0
  211. package/dist/reporting/overviews.js +56 -0
  212. package/dist/reporting/routes-documents.js +1 -1
  213. package/dist/reporting/routes.js +138 -80
  214. package/dist/reporting/web/DashboardView.d.ts +11 -0
  215. package/dist/reporting/web/DashboardView.js +2 -2
  216. package/dist/reporting/web/DesignerView.js +5 -0
  217. package/dist/reporting/web/Overview.d.ts +9 -0
  218. package/dist/reporting/web/Overview.js +53 -0
  219. package/dist/reporting/web/index.d.ts +1 -0
  220. package/dist/reporting/web/index.js +4 -1
  221. package/dist/reporting/web/messages.js +9 -0
  222. package/dist/sale_account/.kosh/bindings.js +1 -1
  223. package/dist/sale_account/.kosh/schema.d.ts +186 -3
  224. package/dist/sale_account/index.js +22 -1
  225. package/dist/sale_account/module.d.ts +461 -7
  226. package/dist/sale_portal/.kosh/bindings.js +1 -1
  227. package/dist/sale_portal/.kosh/schema.d.ts +185 -3
  228. package/dist/sale_portal/module.d.ts +434 -5
  229. package/dist/sale_project/.kosh/bindings.js +1 -1
  230. package/dist/sale_project/.kosh/schema.d.ts +187 -3
  231. package/dist/sale_project/module.d.ts +476 -6
  232. package/dist/sale_stock/.kosh/bindings.d.ts +22 -0
  233. package/dist/sale_stock/.kosh/bindings.js +15 -0
  234. package/dist/sale_stock/.kosh/schema.d.ts +1228 -0
  235. package/dist/sale_stock/index.d.ts +7 -0
  236. package/dist/sale_stock/index.js +84 -0
  237. package/dist/sale_stock/module.d.ts +6791 -0
  238. package/dist/sale_stock/module.js +146 -0
  239. package/dist/sales/.kosh/bindings.js +1 -1
  240. package/dist/sales/.kosh/schema.d.ts +185 -3
  241. package/dist/sales/index.js +191 -4
  242. package/dist/sales/module.d.ts +355 -3
  243. package/dist/sales/module.js +78 -3
  244. package/dist/server/api/metadata.d.ts +5 -0
  245. package/dist/server/api/metadata.js +5 -0
  246. package/dist/server/api/rest.js +64 -1
  247. package/dist/server/api/views.js +1 -0
  248. package/dist/server/app-settings.d.ts +7 -0
  249. package/dist/server/app-settings.js +10 -0
  250. package/dist/server/auth/base.js +85 -0
  251. package/dist/server/auth/oauth.d.ts +21 -0
  252. package/dist/server/auth/oauth.js +579 -0
  253. package/dist/server/auth/service.d.ts +4 -0
  254. package/dist/server/auth/service.js +17 -0
  255. package/dist/server/identity.d.ts +2 -0
  256. package/dist/server/images.d.ts +12 -0
  257. package/dist/server/images.js +139 -0
  258. package/dist/server/index.d.ts +2 -0
  259. package/dist/server/index.js +2 -0
  260. package/dist/server/server.d.ts +4 -0
  261. package/dist/server/server.js +9 -1
  262. package/dist/settings/app-settings.d.ts +2 -0
  263. package/dist/settings/app-settings.js +518 -0
  264. package/dist/settings/company.js +3 -1
  265. package/dist/settings/index.d.ts +1 -0
  266. package/dist/settings/index.js +15 -0
  267. package/dist/settings/people.js +32 -6
  268. package/dist/settings/web/AppSettingsPage.d.ts +11 -0
  269. package/dist/settings/web/AppSettingsPage.js +210 -0
  270. package/dist/settings/web/CompaniesPage.js +2 -2
  271. package/dist/settings/web/CompanyPage.js +13 -2
  272. package/dist/settings/web/ConnectedAppsPage.d.ts +7 -0
  273. package/dist/settings/web/ConnectedAppsPage.js +33 -0
  274. package/dist/settings/web/OverviewPage.js +28 -4
  275. package/dist/settings/web/PeoplePage.js +23 -18
  276. package/dist/settings/web/ProfilePage.js +9 -7
  277. package/dist/settings/web/index.d.ts +2 -0
  278. package/dist/settings/web/index.js +8 -0
  279. package/dist/settings/web/messages.js +146 -2
  280. package/dist/stock/.kosh/bindings.d.ts +22 -0
  281. package/dist/stock/.kosh/bindings.js +15 -0
  282. package/dist/stock/.kosh/schema.d.ts +1147 -0
  283. package/dist/stock/demo.d.ts +7 -0
  284. package/dist/stock/demo.js +55 -0
  285. package/dist/stock/index.d.ts +3 -0
  286. package/dist/stock/index.js +674 -0
  287. package/dist/stock/module.d.ts +6330 -0
  288. package/dist/stock/module.js +1325 -0
  289. package/dist/stock/web/ScanBox.d.ts +8 -0
  290. package/dist/stock/web/ScanBox.js +90 -0
  291. package/dist/stock/web/index.d.ts +11 -0
  292. package/dist/stock/web/index.js +16 -0
  293. package/dist/stock/web/messages.d.ts +2 -0
  294. package/dist/stock/web/messages.js +25 -0
  295. package/dist/stock_account/.kosh/bindings.d.ts +22 -0
  296. package/dist/stock_account/.kosh/bindings.js +15 -0
  297. package/dist/stock_account/.kosh/schema.d.ts +1875 -0
  298. package/dist/stock_account/index.d.ts +3 -0
  299. package/dist/stock_account/index.js +130 -0
  300. package/dist/stock_account/module.d.ts +10655 -0
  301. package/dist/stock_account/module.js +339 -0
  302. package/dist/storage/attachments.d.ts +5 -0
  303. package/dist/storage/attachments.js +12 -1
  304. package/dist/storage/models.js +3 -0
  305. package/dist/storage/routes.js +13 -2
  306. package/dist/todo/.kosh/bindings.d.ts +22 -0
  307. package/dist/todo/.kosh/bindings.js +15 -0
  308. package/dist/todo/.kosh/schema.d.ts +732 -0
  309. package/dist/todo/demo.d.ts +6 -0
  310. package/dist/todo/demo.js +35 -0
  311. package/dist/todo/index.d.ts +3 -0
  312. package/dist/todo/index.js +187 -0
  313. package/dist/todo/module.d.ts +1180 -0
  314. package/dist/todo/module.js +130 -0
  315. package/dist/trade_finance/.kosh/bindings.d.ts +22 -0
  316. package/dist/trade_finance/.kosh/bindings.js +15 -0
  317. package/dist/trade_finance/.kosh/schema.d.ts +884 -0
  318. package/dist/trade_finance/demo.d.ts +6 -0
  319. package/dist/trade_finance/demo.js +63 -0
  320. package/dist/trade_finance/index.d.ts +3 -0
  321. package/dist/trade_finance/index.js +413 -0
  322. package/dist/trade_finance/module.d.ts +3779 -0
  323. package/dist/trade_finance/module.js +505 -0
  324. package/dist/trade_finance_account/.kosh/bindings.d.ts +22 -0
  325. package/dist/trade_finance_account/.kosh/bindings.js +15 -0
  326. package/dist/trade_finance_account/.kosh/schema.d.ts +1711 -0
  327. package/dist/trade_finance_account/index.d.ts +3 -0
  328. package/dist/trade_finance_account/index.js +92 -0
  329. package/dist/trade_finance_account/module.d.ts +7928 -0
  330. package/dist/trade_finance_account/module.js +244 -0
  331. package/dist/trade_finance_purchase/.kosh/bindings.d.ts +22 -0
  332. package/dist/trade_finance_purchase/.kosh/bindings.js +15 -0
  333. package/dist/trade_finance_purchase/.kosh/schema.d.ts +1153 -0
  334. package/dist/trade_finance_purchase/index.d.ts +8 -0
  335. package/dist/trade_finance_purchase/index.js +50 -0
  336. package/dist/trade_finance_purchase/module.d.ts +4252 -0
  337. package/dist/trade_finance_purchase/module.js +44 -0
  338. package/dist/trade_finance_sale/.kosh/bindings.d.ts +22 -0
  339. package/dist/trade_finance_sale/.kosh/bindings.js +15 -0
  340. package/dist/trade_finance_sale/.kosh/schema.d.ts +1071 -0
  341. package/dist/trade_finance_sale/index.d.ts +8 -0
  342. package/dist/trade_finance_sale/index.js +50 -0
  343. package/dist/trade_finance_sale/module.d.ts +4280 -0
  344. package/dist/trade_finance_sale/module.js +44 -0
  345. package/dist/ui/api.d.ts +6 -1
  346. package/dist/ui/api.js +2 -1
  347. package/dist/ui/app.js +51 -17
  348. package/dist/ui/components/AppIcon.js +33 -1
  349. package/dist/ui/components/Avatar.d.ts +21 -0
  350. package/dist/ui/components/Avatar.js +71 -0
  351. package/dist/ui/components/primitives.d.ts +2 -0
  352. package/dist/ui/components/primitives.js +7 -1
  353. package/dist/ui/i18n/messages.d.ts +53 -0
  354. package/dist/ui/i18n/messages.js +98 -0
  355. package/dist/ui/index.d.ts +2 -0
  356. package/dist/ui/index.js +2 -0
  357. package/dist/ui/offline/queue.d.ts +5 -1
  358. package/dist/ui/offline/queue.js +2 -0
  359. package/dist/ui/registry.d.ts +12 -1
  360. package/dist/ui/registry.js +10 -1
  361. package/dist/ui/search/ViewTabs.d.ts +14 -0
  362. package/dist/ui/search/ViewTabs.js +42 -0
  363. package/dist/ui/shell/Consent.d.ts +5 -0
  364. package/dist/ui/shell/Consent.js +35 -0
  365. package/dist/ui/shell/Home.js +136 -16
  366. package/dist/ui/shell/Sidebar.js +15 -22
  367. package/dist/ui/views/FormView.js +98 -17
  368. package/dist/ui/views/KanbanView.d.ts +2 -0
  369. package/dist/ui/views/KanbanView.js +32 -3
  370. package/dist/ui/views/ListView.js +155 -31
  371. package/dist/ui/views/StatsRow.d.ts +14 -0
  372. package/dist/ui/views/StatsRow.js +88 -0
  373. package/dist/ui/views/widgets.d.ts +2 -1
  374. package/dist/ui/views/widgets.js +194 -1
  375. package/dist/views/builders.d.ts +19 -2
  376. package/dist/views/builders.js +21 -1
  377. package/dist/views/condition.d.ts +6 -0
  378. package/dist/views/condition.js +20 -0
  379. package/dist/views/documents.d.ts +8 -0
  380. package/dist/views/extend.d.ts +2 -2
  381. package/dist/views/extend.js +11 -1
  382. package/dist/views/index.d.ts +2 -2
  383. package/dist/views/index.js +2 -2
  384. package/dist/views/types.d.ts +52 -5
  385. package/dist/views/validate.js +39 -1
  386. package/dist/website/.kosh/bindings.d.ts +22 -0
  387. package/dist/website/.kosh/bindings.js +15 -0
  388. package/dist/website/.kosh/schema.d.ts +881 -0
  389. package/dist/website/demo.d.ts +6 -0
  390. package/dist/website/demo.js +115 -0
  391. package/dist/website/index.d.ts +9 -0
  392. package/dist/website/index.js +250 -0
  393. package/dist/website/module.d.ts +2987 -0
  394. package/dist/website/module.js +281 -0
  395. package/dist/website/render.d.ts +45 -0
  396. package/dist/website/render.js +102 -0
  397. package/dist/website/routes.d.ts +12 -0
  398. package/dist/website/routes.js +246 -0
  399. package/dist/website/web/PagePreview.d.ts +7 -0
  400. package/dist/website/web/PagePreview.js +33 -0
  401. package/dist/website/web/index.d.ts +11 -0
  402. package/dist/website/web/index.js +16 -0
  403. package/dist/website/web/messages.d.ts +2 -0
  404. package/dist/website/web/messages.js +15 -0
  405. package/dist/website_crm/.kosh/bindings.d.ts +22 -0
  406. package/dist/website_crm/.kosh/bindings.js +15 -0
  407. package/dist/website_crm/.kosh/schema.d.ts +966 -0
  408. package/dist/website_crm/index.d.ts +3 -0
  409. package/dist/website_crm/index.js +39 -0
  410. package/dist/website_crm/module.d.ts +2955 -0
  411. package/dist/website_crm/module.js +44 -0
  412. package/package.json +118 -1
@@ -0,0 +1,1228 @@
1
+ // GENERATED by `pnpm generate:models` (Shutro’s generator). Do not edit. definitions-hash: 40ceb03accefab19
2
+ // Schema view of module `sale_stock` (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.tax': AccountTax;
8
+ readonly 'audit.event': AuditEvent;
9
+ readonly 'auth.api_key': AuthApiKey;
10
+ readonly 'auth.credential': AuthCredential;
11
+ readonly 'auth.policy': AuthPolicy;
12
+ readonly 'auth.session': AuthSession;
13
+ readonly 'auth.user_grant': AuthUserGrant;
14
+ readonly 'auth.user_group': AuthUserGroup;
15
+ readonly 'kosh.image': KoshImage;
16
+ readonly 'kosh.saved_view': KoshSavedView;
17
+ readonly 'kosh.setting': KoshSetting;
18
+ readonly 'mail.activity': MailActivity;
19
+ readonly 'mail.activity.type': MailActivityType;
20
+ readonly 'mail.channel': MailChannel;
21
+ readonly 'mail.channel.member': MailChannelMember;
22
+ readonly 'mail.follower': MailFollower;
23
+ readonly 'mail.message': MailMessage;
24
+ readonly 'mail.message.reaction': MailMessageReaction;
25
+ readonly 'oauth.app': OauthApp;
26
+ readonly 'oauth.code': OauthCode;
27
+ readonly 'oauth.grant': OauthGrant;
28
+ readonly 'oauth.token': OauthToken;
29
+ readonly 'product.category': ProductCategory;
30
+ readonly 'product.product': ProductProduct;
31
+ readonly 'res.company': ResCompany;
32
+ readonly 'res.currency': ResCurrency;
33
+ readonly 'res.partner': ResPartner;
34
+ readonly 'res.partner.tag': ResPartnerTag;
35
+ readonly 'res.users': ResUsers;
36
+ readonly 'sale.order': SaleOrder;
37
+ readonly 'sale.order.line': SaleOrderLine;
38
+ readonly 'stock.count': StockCount;
39
+ readonly 'stock.count.line': StockCountLine;
40
+ readonly 'stock.location': StockLocation;
41
+ readonly 'stock.lot': StockLot;
42
+ readonly 'stock.lot.line': StockLotLine;
43
+ readonly 'stock.move': StockMove;
44
+ readonly 'stock.picking': StockPicking;
45
+ readonly 'stock.quant': StockQuant;
46
+ readonly 'stock.reservation': StockReservation;
47
+ readonly 'stock.scrap': StockScrap;
48
+ readonly 'stock.warehouse': StockWarehouse;
49
+ readonly 'storage.attachment': StorageAttachment;
50
+ readonly 'uom.uom': UomUom;
51
+ }
52
+
53
+ /** `account.tax` (owner: product). */
54
+ export interface AccountTax {
55
+ readonly name: 'account.tax';
56
+ readonly fields: {
57
+ readonly id: F.Id<'account.tax'>;
58
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
59
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
60
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
61
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
62
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
63
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
64
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
65
+ readonly use: F.Selection<'sale' | 'purchase', { readonly required: true; readonly default: true }>;
66
+ readonly sequence: F.Integer<{ readonly required: true; readonly default: true }>;
67
+ readonly amountType: F.Selection<'percent' | 'fixed', { readonly required: true; readonly default: true }>;
68
+ readonly rate: F.Decimal<{ readonly required: true; readonly default: true }>;
69
+ readonly fixedAmount: F.Decimal<{ readonly required: true; readonly default: true }>;
70
+ readonly affectsBase: F.Bool<{ readonly required: true; readonly default: true }>;
71
+ readonly priceIncluded: F.Bool<{ readonly required: true; readonly default: true }>;
72
+ readonly reverseCharge: F.Bool<{ readonly required: true; readonly default: true }>;
73
+ };
74
+ readonly methods: AccountTaxMethods;
75
+ }
76
+
77
+ /** Methods of `account.tax`: declared ones and transitions. */
78
+ export interface AccountTaxMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'account.tax'> {
79
+ }
80
+
81
+ /** `audit.event` (owner: base). */
82
+ export interface AuditEvent {
83
+ readonly name: 'audit.event';
84
+ readonly fields: {
85
+ readonly id: F.Id<'audit.event'>;
86
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
87
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
88
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
89
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
90
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
91
+ readonly kind: F.Char<{ readonly required: true }>;
92
+ readonly actor: F.Many2one<'res.users'>;
93
+ readonly company: F.Many2one<'res.company'>;
94
+ readonly targetModel: F.Char;
95
+ readonly targetId: F.Integer;
96
+ readonly summary: F.Char<{ readonly required: true }>;
97
+ readonly details: F.Json;
98
+ readonly ip: F.Char;
99
+ };
100
+ readonly methods: AuditEventMethods;
101
+ }
102
+
103
+ /** Methods of `audit.event`: declared ones and transitions. */
104
+ export interface AuditEventMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'audit.event'> {
105
+ }
106
+
107
+ /** `auth.api_key` (owner: base). */
108
+ export interface AuthApiKey {
109
+ readonly name: 'auth.api_key';
110
+ readonly fields: {
111
+ readonly id: F.Id<'auth.api_key'>;
112
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
113
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
114
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
115
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
116
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
117
+ readonly name: F.Char<{ readonly required: true }>;
118
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
119
+ readonly tokenHash: F.Char<{ readonly required: true }>;
120
+ readonly prefix: F.Char<{ readonly required: true }>;
121
+ readonly scopes: F.Text<{ readonly required: true }>;
122
+ readonly expiresAt: F.Datetime<{ readonly required: true }>;
123
+ readonly lastUsedAt: F.Datetime;
124
+ readonly lastUsedIp: F.Char;
125
+ readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
126
+ readonly issuedBy: F.Many2one<'res.users'>;
127
+ };
128
+ readonly methods: AuthApiKeyMethods;
129
+ }
130
+
131
+ /** Methods of `auth.api_key`: declared ones and transitions. */
132
+ export interface AuthApiKeyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.api_key'> {
133
+ }
134
+
135
+ /** `auth.credential` (owner: base). */
136
+ export interface AuthCredential {
137
+ readonly name: 'auth.credential';
138
+ readonly fields: {
139
+ readonly id: F.Id<'auth.credential'>;
140
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
141
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
142
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
143
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
144
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
145
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
146
+ readonly passwordHash: F.Char;
147
+ readonly totpSecret: F.Char;
148
+ readonly totpEnabled: F.Bool<{ readonly required: true; readonly default: true }>;
149
+ readonly recoveryCodes: F.Json;
150
+ };
151
+ readonly methods: AuthCredentialMethods;
152
+ }
153
+
154
+ /** Methods of `auth.credential`: declared ones and transitions. */
155
+ export interface AuthCredentialMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.credential'> {
156
+ }
157
+
158
+ /** `auth.policy` (owner: base). */
159
+ export interface AuthPolicy {
160
+ readonly name: 'auth.policy';
161
+ readonly fields: {
162
+ readonly id: F.Id<'auth.policy'>;
163
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
164
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
165
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
166
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
167
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
168
+ readonly twoFactor: F.Selection<'administrators' | 'everyone', { readonly required: true; readonly default: true }>;
169
+ readonly sessionDays: F.Integer;
170
+ };
171
+ readonly methods: AuthPolicyMethods;
172
+ }
173
+
174
+ /** Methods of `auth.policy`: declared ones and transitions. */
175
+ export interface AuthPolicyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.policy'> {
176
+ }
177
+
178
+ /** `auth.session` (owner: base). */
179
+ export interface AuthSession {
180
+ readonly name: 'auth.session';
181
+ readonly fields: {
182
+ readonly id: F.Id<'auth.session'>;
183
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
184
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
185
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
186
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
187
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
188
+ readonly tokenHash: F.Char<{ readonly required: true }>;
189
+ readonly csrfHash: F.Char<{ readonly required: true }>;
190
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
191
+ readonly twoFactorVerified: F.Bool<{ readonly required: true; readonly default: true }>;
192
+ readonly secondFactor: F.Bool<{ readonly required: true; readonly default: true }>;
193
+ readonly expiresAt: F.Datetime<{ readonly required: true }>;
194
+ readonly lastSeenAt: F.Datetime<{ readonly required: true }>;
195
+ readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
196
+ readonly ip: F.Char;
197
+ readonly userAgent: F.Char;
198
+ };
199
+ readonly methods: AuthSessionMethods;
200
+ }
201
+
202
+ /** Methods of `auth.session`: declared ones and transitions. */
203
+ export interface AuthSessionMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.session'> {
204
+ }
205
+
206
+ /** `auth.user_grant` (owner: base). */
207
+ export interface AuthUserGrant {
208
+ readonly name: 'auth.user_grant';
209
+ readonly fields: {
210
+ readonly id: F.Id<'auth.user_grant'>;
211
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
212
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
213
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
214
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
215
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
216
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
217
+ readonly company: F.Many2one<'res.company'>;
218
+ readonly grant: F.Char<{ readonly required: true }>;
219
+ readonly expiresAt: F.Datetime;
220
+ readonly reason: F.Char<{ readonly required: true }>;
221
+ };
222
+ readonly methods: AuthUserGrantMethods;
223
+ }
224
+
225
+ /** Methods of `auth.user_grant`: declared ones and transitions. */
226
+ export interface AuthUserGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_grant'> {
227
+ }
228
+
229
+ /** `auth.user_group` (owner: base). */
230
+ export interface AuthUserGroup {
231
+ readonly name: 'auth.user_group';
232
+ readonly fields: {
233
+ readonly id: F.Id<'auth.user_group'>;
234
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
235
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
236
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
237
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
238
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
239
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
240
+ readonly company: F.Many2one<'res.company'>;
241
+ readonly group: F.Char<{ readonly required: true }>;
242
+ };
243
+ readonly methods: AuthUserGroupMethods;
244
+ }
245
+
246
+ /** Methods of `auth.user_group`: declared ones and transitions. */
247
+ export interface AuthUserGroupMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'auth.user_group'> {
248
+ }
249
+
250
+ /** `kosh.image` (owner: base). */
251
+ export interface KoshImage {
252
+ readonly name: 'kosh.image';
253
+ readonly fields: {
254
+ readonly id: F.Id<'kosh.image'>;
255
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
256
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
257
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
258
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
259
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
260
+ readonly ownerModel: F.Char<{ readonly required: true }>;
261
+ readonly ownerId: F.Integer<{ readonly required: true }>;
262
+ readonly mime: F.Char<{ readonly required: true }>;
263
+ readonly data: F.Text<{ readonly required: true }>;
264
+ readonly hash: F.Char<{ readonly required: true }>;
265
+ };
266
+ readonly methods: KoshImageMethods;
267
+ }
268
+
269
+ /** Methods of `kosh.image`: declared ones and transitions. */
270
+ export interface KoshImageMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.image'> {
271
+ }
272
+
273
+ /** `kosh.saved_view` (owner: base). */
274
+ export interface KoshSavedView {
275
+ readonly name: 'kosh.saved_view';
276
+ readonly fields: {
277
+ readonly id: F.Id<'kosh.saved_view'>;
278
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
279
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
280
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
281
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
282
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
283
+ readonly name: F.Char<{ readonly required: true }>;
284
+ readonly targetModel: F.Char<{ readonly required: true }>;
285
+ readonly viewType: F.Char<{ readonly required: true; readonly default: true }>;
286
+ readonly state: F.Json<unknown, { readonly required: true }>;
287
+ readonly shared: F.Bool<{ readonly required: true; readonly default: true }>;
288
+ readonly isDefault: F.Bool<{ readonly required: true; readonly default: true }>;
289
+ };
290
+ readonly methods: KoshSavedViewMethods;
291
+ }
292
+
293
+ /** Methods of `kosh.saved_view`: declared ones and transitions. */
294
+ export interface KoshSavedViewMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.saved_view'> {
295
+ }
296
+
297
+ /** `kosh.setting` (owner: base). */
298
+ export interface KoshSetting {
299
+ readonly name: 'kosh.setting';
300
+ readonly fields: {
301
+ readonly id: F.Id<'kosh.setting'>;
302
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
303
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
304
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
305
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
306
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
307
+ readonly key: F.Char<{ readonly required: true }>;
308
+ readonly value: F.Json;
309
+ };
310
+ readonly methods: KoshSettingMethods;
311
+ }
312
+
313
+ /** Methods of `kosh.setting`: declared ones and transitions. */
314
+ export interface KoshSettingMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'kosh.setting'> {
315
+ }
316
+
317
+ /** `mail.activity` (owner: messaging). */
318
+ export interface MailActivity {
319
+ readonly name: 'mail.activity';
320
+ readonly fields: {
321
+ readonly id: F.Id<'mail.activity'>;
322
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
323
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
324
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
325
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
326
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
327
+ readonly resModel: F.Char<{ readonly required: true }>;
328
+ readonly resId: F.Integer<{ readonly required: true }>;
329
+ readonly type: F.Many2one<'mail.activity.type', { readonly required: true }>;
330
+ readonly summary: F.Char;
331
+ readonly note: F.Text;
332
+ readonly deadline: F.DateOnly<{ readonly required: true }>;
333
+ readonly assignee: F.Many2one<'res.users', { readonly required: true }>;
334
+ readonly done: F.Bool<{ readonly required: true; readonly default: true }>;
335
+ readonly doneAt: F.Datetime;
336
+ readonly feedback: F.Text;
337
+ };
338
+ readonly methods: MailActivityMethods;
339
+ }
340
+
341
+ /** Methods of `mail.activity`: declared ones and transitions. */
342
+ export interface MailActivityMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity'> {
343
+ }
344
+
345
+ /** `mail.activity.type` (owner: messaging). */
346
+ export interface MailActivityType {
347
+ readonly name: 'mail.activity.type';
348
+ readonly fields: {
349
+ readonly id: F.Id<'mail.activity.type'>;
350
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
351
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
352
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
353
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
354
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
355
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
356
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
357
+ readonly key: F.Char;
358
+ readonly icon: F.Char<{ readonly default: true }>;
359
+ readonly days: F.Integer<{ readonly default: true }>;
360
+ readonly sequence: F.Integer<{ readonly default: true }>;
361
+ };
362
+ readonly methods: MailActivityTypeMethods;
363
+ }
364
+
365
+ /** Methods of `mail.activity.type`: declared ones and transitions. */
366
+ export interface MailActivityTypeMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.activity.type'> {
367
+ }
368
+
369
+ /** `mail.channel` (owner: messaging). */
370
+ export interface MailChannel {
371
+ readonly name: 'mail.channel';
372
+ readonly fields: {
373
+ readonly id: F.Id<'mail.channel'>;
374
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
375
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
376
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
377
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
378
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
379
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
380
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
381
+ readonly name: F.Char<{ readonly required: true }>;
382
+ readonly kind: F.Selection<'channel' | 'group' | 'direct', { readonly required: true; readonly default: true }>;
383
+ readonly description: F.Char;
384
+ readonly public: F.Bool<{ readonly required: true; readonly default: true }>;
385
+ readonly members: F.One2many<'mail.channel.member', { readonly required: true }>;
386
+ readonly pairKey: F.Char;
387
+ readonly lastMessageAt: F.Datetime;
388
+ };
389
+ readonly methods: MailChannelMethods;
390
+ }
391
+
392
+ /** Methods of `mail.channel`: declared ones and transitions. */
393
+ export interface MailChannelMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel'> {
394
+ }
395
+
396
+ /** `mail.channel.member` (owner: messaging). */
397
+ export interface MailChannelMember {
398
+ readonly name: 'mail.channel.member';
399
+ readonly fields: {
400
+ readonly id: F.Id<'mail.channel.member'>;
401
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
402
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
403
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
404
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
405
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
406
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
407
+ readonly channel: F.Many2one<'mail.channel', { readonly required: true }>;
408
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
409
+ readonly lastReadMessage: F.Many2one<'mail.message'>;
410
+ readonly muted: F.Bool<{ readonly required: true; readonly default: true }>;
411
+ readonly pinned: F.Bool<{ readonly required: true; readonly default: true }>;
412
+ };
413
+ readonly methods: MailChannelMemberMethods;
414
+ }
415
+
416
+ /** Methods of `mail.channel.member`: declared ones and transitions. */
417
+ export interface MailChannelMemberMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.channel.member'> {
418
+ }
419
+
420
+ /** `mail.follower` (owner: messaging). */
421
+ export interface MailFollower {
422
+ readonly name: 'mail.follower';
423
+ readonly fields: {
424
+ readonly id: F.Id<'mail.follower'>;
425
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
426
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
427
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
428
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
429
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
430
+ readonly resModel: F.Char<{ readonly required: true }>;
431
+ readonly resId: F.Integer<{ readonly required: true }>;
432
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
433
+ };
434
+ readonly methods: MailFollowerMethods;
435
+ }
436
+
437
+ /** Methods of `mail.follower`: declared ones and transitions. */
438
+ export interface MailFollowerMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.follower'> {
439
+ }
440
+
441
+ /** `mail.message` (owner: messaging). */
442
+ export interface MailMessage {
443
+ readonly name: 'mail.message';
444
+ readonly fields: {
445
+ readonly id: F.Id<'mail.message'>;
446
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
447
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
448
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
449
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
450
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
451
+ readonly resModel: F.Char<{ readonly required: true }>;
452
+ readonly resId: F.Integer<{ readonly required: true }>;
453
+ readonly kind: F.Selection<'comment' | 'note' | 'activity' | 'system', { readonly required: true; readonly default: true }>;
454
+ readonly author: F.Many2one<'res.users'>;
455
+ readonly authorEmail: F.Char;
456
+ readonly authorName: F.Char;
457
+ readonly text: F.Text<{ readonly required: true }>;
458
+ readonly body: F.Text<{ readonly required: true }>;
459
+ readonly mentions: F.Many2many<'res.users', { readonly required: true }>;
460
+ readonly attachments: F.Many2many<'storage.attachment', { readonly required: true }>;
461
+ readonly editedAt: F.Datetime;
462
+ readonly parent: F.Many2one<'mail.message'>;
463
+ readonly replyCount: F.Integer<{ readonly required: true; readonly default: true }>;
464
+ readonly reactions: F.One2many<'mail.message.reaction', { readonly required: true }>;
465
+ readonly deletedAt: F.Datetime;
466
+ };
467
+ readonly methods: MailMessageMethods;
468
+ }
469
+
470
+ /** Methods of `mail.message`: declared ones and transitions. */
471
+ export interface MailMessageMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message'> {
472
+ }
473
+
474
+ /** `mail.message.reaction` (owner: messaging). */
475
+ export interface MailMessageReaction {
476
+ readonly name: 'mail.message.reaction';
477
+ readonly fields: {
478
+ readonly id: F.Id<'mail.message.reaction'>;
479
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
480
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
481
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
482
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
483
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
484
+ readonly message: F.Many2one<'mail.message', { readonly required: true }>;
485
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
486
+ readonly emoji: F.Char<{ readonly required: true }>;
487
+ };
488
+ readonly methods: MailMessageReactionMethods;
489
+ }
490
+
491
+ /** Methods of `mail.message.reaction`: declared ones and transitions. */
492
+ export interface MailMessageReactionMethods extends F.Methods<typeof import('../../messaging/index.js').messagingShutro, 'mail.message.reaction'> {
493
+ }
494
+
495
+ /** `oauth.app` (owner: base). */
496
+ export interface OauthApp {
497
+ readonly name: 'oauth.app';
498
+ readonly fields: {
499
+ readonly id: F.Id<'oauth.app'>;
500
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
501
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
502
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
503
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
504
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
505
+ readonly name: F.Char<{ readonly required: true }>;
506
+ readonly clientId: F.Char<{ readonly required: true }>;
507
+ readonly secretHash: F.Char;
508
+ readonly confidential: F.Bool<{ readonly required: true; readonly default: true }>;
509
+ readonly redirectUris: F.Text<{ readonly required: true }>;
510
+ readonly scopes: F.Char<{ readonly required: true }>;
511
+ readonly homepage: F.Char;
512
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
513
+ readonly owner: F.Many2one<'res.users'>;
514
+ };
515
+ readonly methods: OauthAppMethods;
516
+ }
517
+
518
+ /** Methods of `oauth.app`: declared ones and transitions. */
519
+ export interface OauthAppMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.app'> {
520
+ }
521
+
522
+ /** `oauth.code` (owner: base). */
523
+ export interface OauthCode {
524
+ readonly name: 'oauth.code';
525
+ readonly fields: {
526
+ readonly id: F.Id<'oauth.code'>;
527
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
528
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
529
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
530
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
531
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
532
+ readonly codeHash: F.Char<{ readonly required: true }>;
533
+ readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
534
+ readonly redirectUri: F.Char<{ readonly required: true }>;
535
+ readonly challenge: F.Char;
536
+ readonly expiresAt: F.Datetime<{ readonly required: true }>;
537
+ readonly used: F.Bool<{ readonly required: true; readonly default: true }>;
538
+ };
539
+ readonly methods: OauthCodeMethods;
540
+ }
541
+
542
+ /** Methods of `oauth.code`: declared ones and transitions. */
543
+ export interface OauthCodeMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.code'> {
544
+ }
545
+
546
+ /** `oauth.grant` (owner: base). */
547
+ export interface OauthGrant {
548
+ readonly name: 'oauth.grant';
549
+ readonly fields: {
550
+ readonly id: F.Id<'oauth.grant'>;
551
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
552
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
553
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
554
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
555
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
556
+ readonly user: F.Many2one<'res.users', { readonly required: true }>;
557
+ readonly app: F.Many2one<'oauth.app', { readonly required: true }>;
558
+ readonly scopes: F.Char<{ readonly required: true }>;
559
+ readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
560
+ readonly lastUsedAt: F.Datetime;
561
+ };
562
+ readonly methods: OauthGrantMethods;
563
+ }
564
+
565
+ /** Methods of `oauth.grant`: declared ones and transitions. */
566
+ export interface OauthGrantMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.grant'> {
567
+ }
568
+
569
+ /** `oauth.token` (owner: base). */
570
+ export interface OauthToken {
571
+ readonly name: 'oauth.token';
572
+ readonly fields: {
573
+ readonly id: F.Id<'oauth.token'>;
574
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
575
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
576
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
577
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
578
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
579
+ readonly grant: F.Many2one<'oauth.grant', { readonly required: true }>;
580
+ readonly accessHash: F.Char<{ readonly required: true }>;
581
+ readonly refreshHash: F.Char<{ readonly required: true }>;
582
+ readonly accessExpiresAt: F.Datetime<{ readonly required: true }>;
583
+ readonly refreshExpiresAt: F.Datetime<{ readonly required: true }>;
584
+ readonly revoked: F.Bool<{ readonly required: true; readonly default: true }>;
585
+ readonly rotated: F.Bool<{ readonly required: true; readonly default: true }>;
586
+ };
587
+ readonly methods: OauthTokenMethods;
588
+ }
589
+
590
+ /** Methods of `oauth.token`: declared ones and transitions. */
591
+ export interface OauthTokenMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'oauth.token'> {
592
+ }
593
+
594
+ /** `product.category` (owner: product). */
595
+ export interface ProductCategory {
596
+ readonly name: 'product.category';
597
+ readonly fields: {
598
+ readonly id: F.Id<'product.category'>;
599
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
600
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
601
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
602
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
603
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
604
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
605
+ readonly parent: F.Many2one<'product.category'>;
606
+ };
607
+ readonly methods: ProductCategoryMethods;
608
+ }
609
+
610
+ /** Methods of `product.category`: declared ones and transitions. */
611
+ export interface ProductCategoryMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.category'> {
612
+ }
613
+
614
+ /** `product.product` (owner: product; extended by: stock). */
615
+ export interface ProductProduct {
616
+ readonly name: 'product.product';
617
+ readonly fields: {
618
+ readonly id: F.Id<'product.product'>;
619
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
620
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
621
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
622
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
623
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
624
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
625
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
626
+ readonly code: F.Char<{ readonly readonly: true; readonly sequence: true }>;
627
+ readonly kind: F.Selection<'goods' | 'service', { readonly required: true; readonly default: true }>;
628
+ readonly category: F.Many2one<'product.category'>;
629
+ readonly uom: F.Many2one<'uom.uom'>;
630
+ readonly barcode: F.Char;
631
+ readonly image: F.Many2one<'storage.attachment'>;
632
+ readonly listPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
633
+ readonly standardPrice: F.Decimal<{ readonly required: true; readonly default: true }>;
634
+ readonly saleOk: F.Bool<{ readonly required: true; readonly default: true }>;
635
+ readonly purchaseOk: F.Bool<{ readonly required: true; readonly default: true }>;
636
+ readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
637
+ readonly purchaseTaxes: F.Many2many<'account.tax', { readonly required: true }>;
638
+ readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
639
+ readonly purchaseTax: F.Many2one<'account.tax', { readonly readonly: true }>;
640
+ readonly description: F.Text<{ readonly translate: true }>;
641
+ readonly tracking: F.Selection<'none' | 'lot' | 'serial', { readonly required: true; readonly default: true }>; // stock
642
+ readonly lots: F.One2many<'stock.lot', { readonly required: true }>; // stock
643
+ readonly quants: F.One2many<'stock.quant', { readonly required: true }>; // stock
644
+ readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
645
+ readonly qtyReserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
646
+ readonly qtyAvailable: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // stock
647
+ };
648
+ readonly methods: ProductProductMethods;
649
+ }
650
+
651
+ /** Methods of `product.product`: declared ones and transitions. */
652
+ export interface ProductProductMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'product.product'>, F.Methods<typeof import('../../stock/index.js').stockShutro, 'product.product'> {
653
+ }
654
+
655
+ /** `res.company` (owner: base; extended by: contacts, sales). */
656
+ export interface ResCompany {
657
+ readonly name: 'res.company';
658
+ readonly fields: {
659
+ readonly id: F.Id<'res.company'>;
660
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
661
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
662
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
663
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
664
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
665
+ readonly name: F.Char<{ readonly required: true }>;
666
+ readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
667
+ readonly numberGrouping: F.Selection<'international' | 'lakh', { readonly required: true; readonly default: true }>;
668
+ readonly accentColor: F.Char;
669
+ readonly street: F.Char;
670
+ readonly city: F.Char;
671
+ readonly zip: F.Char;
672
+ readonly email: F.Char;
673
+ readonly phone: F.Char;
674
+ readonly website: F.Char;
675
+ readonly contactTaxIdRequired: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
676
+ readonly contactUniqueEmail: F.Bool<{ readonly required: true; readonly default: true }>; // contacts
677
+ readonly saleValidityDays: F.Integer<{ readonly default: true }>; // sales
678
+ readonly saleTerms: F.Text; // sales
679
+ };
680
+ readonly methods: ResCompanyMethods;
681
+ }
682
+
683
+ /** Methods of `res.company`: declared ones and transitions. */
684
+ export interface ResCompanyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.company'>, F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.company'>, F.Methods<typeof import('../../sales/index.js').salesShutro, 'res.company'> {
685
+ }
686
+
687
+ /** `res.currency` (owner: base). */
688
+ export interface ResCurrency {
689
+ readonly name: 'res.currency';
690
+ readonly fields: {
691
+ readonly id: F.Id<'res.currency'>;
692
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
693
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
694
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
695
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
696
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
697
+ readonly name: F.Char<{ readonly required: true }>;
698
+ readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
699
+ readonly decimalPlaces: F.Integer<{ readonly default: true }>;
700
+ };
701
+ readonly methods: ResCurrencyMethods;
702
+ }
703
+
704
+ /** Methods of `res.currency`: declared ones and transitions. */
705
+ export interface ResCurrencyMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.currency'> {
706
+ }
707
+
708
+ /** `res.partner` (owner: contacts). */
709
+ export interface ResPartner {
710
+ readonly name: 'res.partner';
711
+ readonly fields: {
712
+ readonly id: F.Id<'res.partner'>;
713
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
714
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
715
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
716
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
717
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
718
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
719
+ readonly company: F.Many2one<'res.company', { readonly default: true }>;
720
+ readonly name: F.Char<{ readonly required: true }>;
721
+ readonly image: F.Many2one<'storage.attachment'>;
722
+ readonly tags: F.Many2many<'res.partner.tag', { readonly required: true }>;
723
+ readonly latitude: F.Decimal;
724
+ readonly longitude: F.Decimal;
725
+ readonly isCompany: F.Bool<{ readonly required: true; readonly default: true }>;
726
+ readonly parent: F.Many2one<'res.partner'>;
727
+ readonly contacts: F.One2many<'res.partner', { readonly required: true }>;
728
+ readonly email: F.Char;
729
+ readonly phone: F.Char;
730
+ readonly mobile: F.Char;
731
+ readonly website: F.Char;
732
+ readonly street: F.Char;
733
+ readonly city: F.Char;
734
+ readonly zip: F.Char;
735
+ readonly country: F.Char;
736
+ readonly state: F.Char;
737
+ readonly taxId: F.Char;
738
+ readonly isCustomer: F.Bool<{ readonly required: true; readonly default: true }>;
739
+ readonly isVendor: F.Bool<{ readonly required: true; readonly default: true }>;
740
+ readonly currency: F.Many2one<'res.currency'>;
741
+ readonly notes: F.Text;
742
+ };
743
+ readonly methods: ResPartnerMethods;
744
+ }
745
+
746
+ /** Methods of `res.partner`: declared ones and transitions. */
747
+ export interface ResPartnerMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner'> {
748
+ }
749
+
750
+ /** `res.partner.tag` (owner: contacts). */
751
+ export interface ResPartnerTag {
752
+ readonly name: 'res.partner.tag';
753
+ readonly fields: {
754
+ readonly id: F.Id<'res.partner.tag'>;
755
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
756
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
757
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
758
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
759
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
760
+ readonly name: F.Char<{ readonly required: true }>;
761
+ };
762
+ readonly methods: ResPartnerTagMethods;
763
+ }
764
+
765
+ /** Methods of `res.partner.tag`: declared ones and transitions. */
766
+ export interface ResPartnerTagMethods extends F.Methods<typeof import('../../contacts/index.js').contactsShutro, 'res.partner.tag'> {
767
+ }
768
+
769
+ /** `res.users` (owner: base). */
770
+ export interface ResUsers {
771
+ readonly name: 'res.users';
772
+ readonly fields: {
773
+ readonly id: F.Id<'res.users'>;
774
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
775
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
776
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
777
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
778
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
779
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
780
+ readonly login: F.Char<{ readonly required: true }>;
781
+ readonly name: F.Char<{ readonly required: true }>;
782
+ readonly email: F.Char;
783
+ readonly phone: F.Char;
784
+ readonly company: F.Many2one<'res.company'>;
785
+ readonly companies: F.Many2many<'res.company', { readonly required: true }>;
786
+ readonly lang: F.Char<{ readonly default: true }>;
787
+ readonly tz: F.Char<{ readonly default: true }>;
788
+ readonly isService: F.Bool<{ readonly required: true; readonly default: true }>;
789
+ };
790
+ readonly methods: ResUsersMethods;
791
+ }
792
+
793
+ /** Methods of `res.users`: declared ones and transitions. */
794
+ export interface ResUsersMethods extends F.Methods<typeof import('../../server/index.js').baseShutro, 'res.users'> {
795
+ }
796
+
797
+ /** `sale.order` (owner: sales; extended by: sale_stock). */
798
+ export interface SaleOrder {
799
+ readonly name: 'sale.order';
800
+ readonly fields: {
801
+ readonly id: F.Id<'sale.order'>;
802
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
803
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
804
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
805
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
806
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
807
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
808
+ readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
809
+ readonly user: F.Many2one<'res.users', { readonly required: true; readonly default: true }>;
810
+ readonly partner: F.Many2one<'res.partner', { readonly required: true }>;
811
+ readonly currency: F.Many2one<'res.currency', { readonly required: true }>;
812
+ readonly dateOrder: F.DateOnly<{ readonly required: true; readonly default: true }>;
813
+ readonly validityDate: F.DateOnly;
814
+ readonly clientReference: F.Char;
815
+ readonly note: F.Text;
816
+ readonly lines: F.One2many<'sale.order.line', { readonly required: true }>;
817
+ readonly amountUntaxed: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
818
+ readonly amountTax: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
819
+ readonly amountTotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
820
+ readonly margin: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
821
+ readonly marginPercent: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
822
+ readonly state: F.State<'draft' | 'sent' | 'sale' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
823
+ readonly deliveries: F.One2many<'stock.picking', { readonly required: true }>; // sale_stock
824
+ readonly deliveryState: F.Selection<'nothing' | 'to_deliver' | 'partial' | 'delivered', { readonly readonly: true; readonly compute: true; readonly store: true }>; // sale_stock
825
+ };
826
+ readonly methods: SaleOrderMethods;
827
+ }
828
+
829
+ /** Methods of `sale.order`: declared ones and transitions. */
830
+ export interface SaleOrderMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order'>, F.Methods<typeof import('../module.js').saleStockShutro, 'sale.order'> {
831
+ readonly 'cancel': () => Promise<void>;
832
+ readonly 'confirm': () => Promise<void>;
833
+ readonly 'lock': () => Promise<void>;
834
+ readonly 'redraft': () => Promise<void>;
835
+ readonly 'send': () => Promise<void>;
836
+ readonly 'unlock': () => Promise<void>;
837
+ }
838
+
839
+ /** `sale.order.line` (owner: sales; extended by: sale_stock). */
840
+ export interface SaleOrderLine {
841
+ readonly name: 'sale.order.line';
842
+ readonly fields: {
843
+ readonly id: F.Id<'sale.order.line'>;
844
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
845
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
846
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
847
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
848
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
849
+ readonly order: F.Many2one<'sale.order', { readonly required: true }>;
850
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
851
+ readonly name: F.Char<{ readonly required: true }>;
852
+ readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
853
+ readonly uom: F.Many2one<'uom.uom'>;
854
+ readonly priceUnit: F.Decimal<{ readonly required: true; readonly default: true }>;
855
+ readonly discount: F.Decimal<{ readonly required: true; readonly default: true }>;
856
+ readonly taxes: F.Many2many<'account.tax', { readonly required: true }>;
857
+ readonly tax: F.Many2one<'account.tax', { readonly readonly: true }>;
858
+ readonly currency: F.Many2one<'res.currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
859
+ readonly subtotal: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
860
+ readonly margin: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
861
+ readonly taxAmount: F.Monetary<'currency', { readonly readonly: true; readonly compute: true; readonly store: true }>;
862
+ readonly moves: F.One2many<'stock.move', { readonly required: true }>; // sale_stock
863
+ readonly qtyDelivered: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>; // sale_stock
864
+ };
865
+ readonly methods: SaleOrderLineMethods;
866
+ }
867
+
868
+ /** Methods of `sale.order.line`: declared ones and transitions. */
869
+ export interface SaleOrderLineMethods extends F.Methods<typeof import('../../sales/index.js').salesShutro, 'sale.order.line'>, F.Methods<typeof import('../module.js').saleStockShutro, 'sale.order.line'> {
870
+ }
871
+
872
+ /** `stock.count` (owner: stock). */
873
+ export interface StockCount {
874
+ readonly name: 'stock.count';
875
+ readonly fields: {
876
+ readonly id: F.Id<'stock.count'>;
877
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
878
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
879
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
880
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
881
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
882
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
883
+ readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
884
+ readonly location: F.Many2one<'stock.location', { readonly required: true }>;
885
+ readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
886
+ readonly user: F.Many2one<'res.users', { readonly default: true }>;
887
+ readonly lines: F.One2many<'stock.count.line', { readonly required: true }>;
888
+ readonly adjustments: F.One2many<'stock.picking', { readonly required: true }>;
889
+ readonly note: F.Text;
890
+ readonly state: F.State<'draft' | 'counting' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
891
+ };
892
+ readonly methods: StockCountMethods;
893
+ }
894
+
895
+ /** Methods of `stock.count`: declared ones and transitions. */
896
+ export interface StockCountMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count'> {
897
+ readonly 'apply': () => Promise<void>;
898
+ readonly 'cancel': () => Promise<void>;
899
+ readonly 'redraft': () => Promise<void>;
900
+ readonly 'start': () => Promise<void>;
901
+ }
902
+
903
+ /** `stock.count.line` (owner: stock). */
904
+ export interface StockCountLine {
905
+ readonly name: 'stock.count.line';
906
+ readonly fields: {
907
+ readonly id: F.Id<'stock.count.line'>;
908
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
909
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
910
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
911
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
912
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
913
+ readonly count: F.Many2one<'stock.count', { readonly required: true }>;
914
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
915
+ readonly lot: F.Many2one<'stock.lot'>;
916
+ readonly expected: F.Decimal;
917
+ readonly counted: F.Decimal;
918
+ readonly difference: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
919
+ };
920
+ readonly methods: StockCountLineMethods;
921
+ }
922
+
923
+ /** Methods of `stock.count.line`: declared ones and transitions. */
924
+ export interface StockCountLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.count.line'> {
925
+ }
926
+
927
+ /** `stock.location` (owner: stock). */
928
+ export interface StockLocation {
929
+ readonly name: 'stock.location';
930
+ readonly fields: {
931
+ readonly id: F.Id<'stock.location'>;
932
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
933
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
934
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
935
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
936
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
937
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
938
+ readonly company: F.Many2one<'res.company', { readonly default: true }>;
939
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
940
+ readonly parent: F.Many2one<'stock.location'>;
941
+ readonly parentPath: F.Char<{ readonly readonly: true }>;
942
+ readonly children: F.One2many<'stock.location', { readonly required: true }>;
943
+ readonly warehouse: F.Many2one<'stock.warehouse'>;
944
+ readonly usage: F.Selection<'internal' | 'vendor' | 'customer' | 'adjustment' | 'production' | 'transit', { readonly required: true; readonly default: true }>;
945
+ readonly fullName: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
946
+ };
947
+ readonly methods: StockLocationMethods;
948
+ }
949
+
950
+ /** Methods of `stock.location`: declared ones and transitions. */
951
+ export interface StockLocationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.location'> {
952
+ }
953
+
954
+ /** `stock.lot` (owner: stock). */
955
+ export interface StockLot {
956
+ readonly name: 'stock.lot';
957
+ readonly fields: {
958
+ readonly id: F.Id<'stock.lot'>;
959
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
960
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
961
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
962
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
963
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
964
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
965
+ readonly name: F.Char<{ readonly required: true }>;
966
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
967
+ readonly expiryDate: F.DateOnly;
968
+ readonly quants: F.One2many<'stock.quant', { readonly required: true }>;
969
+ readonly qtyOnHand: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
970
+ readonly history: F.One2many<'stock.lot.line', { readonly required: true }>;
971
+ readonly note: F.Text;
972
+ };
973
+ readonly methods: StockLotMethods;
974
+ }
975
+
976
+ /** Methods of `stock.lot`: declared ones and transitions. */
977
+ export interface StockLotMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot'> {
978
+ }
979
+
980
+ /** `stock.lot.line` (owner: stock). */
981
+ export interface StockLotLine {
982
+ readonly name: 'stock.lot.line';
983
+ readonly fields: {
984
+ readonly id: F.Id<'stock.lot.line'>;
985
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
986
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
987
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
988
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
989
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
990
+ readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
991
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
992
+ readonly lot: F.Many2one<'stock.lot'>;
993
+ readonly lotName: F.Char;
994
+ readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
995
+ };
996
+ readonly methods: StockLotLineMethods;
997
+ }
998
+
999
+ /** Methods of `stock.lot.line`: declared ones and transitions. */
1000
+ export interface StockLotLineMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.lot.line'> {
1001
+ }
1002
+
1003
+ /** `stock.move` (owner: stock; extended by: sale_stock). */
1004
+ export interface StockMove {
1005
+ readonly name: 'stock.move';
1006
+ readonly fields: {
1007
+ readonly id: F.Id<'stock.move'>;
1008
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1009
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1010
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1011
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1012
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1013
+ readonly picking: F.Many2one<'stock.picking', { readonly required: true }>;
1014
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
1015
+ readonly name: F.Char;
1016
+ readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
1017
+ readonly uom: F.Many2one<'uom.uom'>;
1018
+ readonly productQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1019
+ readonly quantityDone: F.Decimal;
1020
+ readonly doneQty: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1021
+ readonly restrictLot: F.Many2one<'stock.lot'>;
1022
+ readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
1023
+ readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1024
+ readonly saleLine: F.Many2one<'sale.order.line'>; // sale_stock
1025
+ };
1026
+ readonly methods: StockMoveMethods;
1027
+ }
1028
+
1029
+ /** Methods of `stock.move`: declared ones and transitions. */
1030
+ export interface StockMoveMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.move'>, F.Methods<typeof import('../module.js').saleStockShutro, 'stock.move'> {
1031
+ }
1032
+
1033
+ /** `stock.picking` (owner: stock; extended by: sale_stock). */
1034
+ export interface StockPicking {
1035
+ readonly name: 'stock.picking';
1036
+ readonly fields: {
1037
+ readonly id: F.Id<'stock.picking'>;
1038
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1039
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1040
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1041
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1042
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1043
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
1044
+ readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
1045
+ readonly kind: F.Selection<'receipt' | 'delivery' | 'internal' | 'adjustment' | 'production', { readonly required: true; readonly default: true }>;
1046
+ readonly partner: F.Many2one<'res.partner'>;
1047
+ readonly warehouse: F.Many2one<'stock.warehouse'>;
1048
+ readonly source: F.Many2one<'stock.location', { readonly required: true }>;
1049
+ readonly destination: F.Many2one<'stock.location', { readonly required: true }>;
1050
+ readonly scheduledDate: F.DateOnly<{ readonly required: true; readonly default: true }>;
1051
+ readonly doneDate: F.DateOnly;
1052
+ readonly origin: F.Char;
1053
+ readonly note: F.Text;
1054
+ readonly moves: F.One2many<'stock.move', { readonly required: true }>;
1055
+ readonly lotLines: F.One2many<'stock.lot.line', { readonly required: true }>;
1056
+ readonly count: F.Many2one<'stock.count'>;
1057
+ readonly backorderOf: F.Many2one<'stock.picking'>;
1058
+ readonly backorders: F.One2many<'stock.picking', { readonly required: true }>;
1059
+ readonly availability: F.Selection<'none' | 'partial' | 'full', { readonly readonly: true; readonly compute: true; readonly store: true }>;
1060
+ readonly status: F.Selection<'draft' | 'waiting' | 'ready' | 'done' | 'cancelled', { readonly readonly: true; readonly compute: true; readonly store: true }>;
1061
+ readonly state: F.State<'draft' | 'confirmed' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
1062
+ readonly saleOrder: F.Many2one<'sale.order'>; // sale_stock
1063
+ };
1064
+ readonly methods: StockPickingMethods;
1065
+ }
1066
+
1067
+ /** Methods of `stock.picking`: declared ones and transitions. */
1068
+ export interface StockPickingMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.picking'>, F.Methods<typeof import('../module.js').saleStockShutro, 'stock.picking'> {
1069
+ readonly 'cancel': () => Promise<void>;
1070
+ readonly 'confirm': () => Promise<void>;
1071
+ readonly 'redraft': () => Promise<void>;
1072
+ readonly 'reserve': () => Promise<void>;
1073
+ readonly 'unreserve': () => Promise<void>;
1074
+ readonly 'validate': () => Promise<void>;
1075
+ }
1076
+
1077
+ /** `stock.quant` (owner: stock). */
1078
+ export interface StockQuant {
1079
+ readonly name: 'stock.quant';
1080
+ readonly fields: {
1081
+ readonly id: F.Id<'stock.quant'>;
1082
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1083
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1084
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1085
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1086
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1087
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
1088
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
1089
+ readonly location: F.Many2one<'stock.location', { readonly required: true }>;
1090
+ readonly lot: F.Many2one<'stock.lot'>;
1091
+ readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
1092
+ readonly reservations: F.One2many<'stock.reservation', { readonly required: true }>;
1093
+ readonly reserved: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1094
+ readonly available: F.Decimal<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1095
+ };
1096
+ readonly methods: StockQuantMethods;
1097
+ }
1098
+
1099
+ /** Methods of `stock.quant`: declared ones and transitions. */
1100
+ export interface StockQuantMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.quant'> {
1101
+ }
1102
+
1103
+ /** `stock.reservation` (owner: stock). */
1104
+ export interface StockReservation {
1105
+ readonly name: 'stock.reservation';
1106
+ readonly fields: {
1107
+ readonly id: F.Id<'stock.reservation'>;
1108
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1109
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1110
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1111
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1112
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1113
+ readonly move: F.Many2one<'stock.move', { readonly required: true }>;
1114
+ readonly quant: F.Many2one<'stock.quant', { readonly required: true }>;
1115
+ readonly quantity: F.Decimal<{ readonly required: true }>;
1116
+ readonly label: F.Char<{ readonly readonly: true; readonly compute: true; readonly store: true }>;
1117
+ };
1118
+ readonly methods: StockReservationMethods;
1119
+ }
1120
+
1121
+ /** Methods of `stock.reservation`: declared ones and transitions. */
1122
+ export interface StockReservationMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.reservation'> {
1123
+ }
1124
+
1125
+ /** `stock.scrap` (owner: stock). */
1126
+ export interface StockScrap {
1127
+ readonly name: 'stock.scrap';
1128
+ readonly fields: {
1129
+ readonly id: F.Id<'stock.scrap'>;
1130
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1131
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1132
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1133
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1134
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1135
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
1136
+ readonly name: F.Char<{ readonly required: true; readonly readonly: true; readonly sequence: true }>;
1137
+ readonly product: F.Many2one<'product.product', { readonly required: true }>;
1138
+ readonly quantity: F.Decimal<{ readonly required: true; readonly default: true }>;
1139
+ readonly location: F.Many2one<'stock.location'>;
1140
+ readonly lot: F.Many2one<'stock.lot'>;
1141
+ readonly reason: F.Selection<'damaged' | 'defect' | 'expired' | 'spill' | 'other', { readonly required: true; readonly default: true }>;
1142
+ readonly note: F.Text;
1143
+ readonly date: F.DateOnly<{ readonly required: true; readonly default: true }>;
1144
+ readonly picking: F.Many2one<'stock.picking'>;
1145
+ readonly state: F.State<'draft' | 'done' | 'cancel', { readonly required: true; readonly readonly: true; readonly default: true }>;
1146
+ };
1147
+ readonly methods: StockScrapMethods;
1148
+ }
1149
+
1150
+ /** Methods of `stock.scrap`: declared ones and transitions. */
1151
+ export interface StockScrapMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.scrap'> {
1152
+ readonly 'cancel': () => Promise<void>;
1153
+ readonly 'validate': () => Promise<void>;
1154
+ }
1155
+
1156
+ /** `stock.warehouse` (owner: stock). */
1157
+ export interface StockWarehouse {
1158
+ readonly name: 'stock.warehouse';
1159
+ readonly fields: {
1160
+ readonly id: F.Id<'stock.warehouse'>;
1161
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1162
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1163
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1164
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1165
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1166
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
1167
+ readonly company: F.Many2one<'res.company', { readonly required: true; readonly default: true }>;
1168
+ readonly name: F.Char<{ readonly required: true }>;
1169
+ readonly code: F.Char<{ readonly required: true }>;
1170
+ readonly locations: F.One2many<'stock.location', { readonly required: true }>;
1171
+ readonly address: F.Many2one<'res.partner'>;
1172
+ };
1173
+ readonly methods: StockWarehouseMethods;
1174
+ }
1175
+
1176
+ /** Methods of `stock.warehouse`: declared ones and transitions. */
1177
+ export interface StockWarehouseMethods extends F.Methods<typeof import('../../stock/index.js').stockShutro, 'stock.warehouse'> {
1178
+ }
1179
+
1180
+ /** `storage.attachment` (owner: storage). */
1181
+ export interface StorageAttachment {
1182
+ readonly name: 'storage.attachment';
1183
+ readonly fields: {
1184
+ readonly id: F.Id<'storage.attachment'>;
1185
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1186
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1187
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1188
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1189
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1190
+ readonly name: F.Char<{ readonly required: true }>;
1191
+ readonly mime: F.Char<{ readonly required: true }>;
1192
+ readonly size: F.Integer<{ readonly required: true }>;
1193
+ readonly sha256: F.Char<{ readonly required: true }>;
1194
+ readonly key: F.Char<{ readonly required: true }>;
1195
+ readonly resModel: F.Char<{ readonly required: true }>;
1196
+ readonly resId: F.Integer<{ readonly required: true }>;
1197
+ readonly variantOf: F.Many2one<'storage.attachment'>;
1198
+ readonly width: F.Integer;
1199
+ };
1200
+ readonly methods: StorageAttachmentMethods;
1201
+ }
1202
+
1203
+ /** Methods of `storage.attachment`: declared ones and transitions. */
1204
+ export interface StorageAttachmentMethods extends F.Methods<typeof import('../../storage/index.js').storageShutro, 'storage.attachment'> {
1205
+ }
1206
+
1207
+ /** `uom.uom` (owner: product). */
1208
+ export interface UomUom {
1209
+ readonly name: 'uom.uom';
1210
+ readonly fields: {
1211
+ readonly id: F.Id<'uom.uom'>;
1212
+ readonly createdAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1213
+ readonly updatedAt: F.Datetime<{ readonly required: true; readonly readonly: true }>;
1214
+ readonly createdBy: F.Many2one<'res.users', { readonly readonly: true }>;
1215
+ readonly updatedBy: F.Many2one<'res.users', { readonly readonly: true }>;
1216
+ readonly displayName: F.Char<{ readonly required: true; readonly readonly: true; readonly compute: true }>;
1217
+ readonly active: F.Bool<{ readonly required: true; readonly default: true }>;
1218
+ readonly name: F.Char<{ readonly required: true; readonly translate: true }>;
1219
+ readonly category: F.Selection<'unit' | 'time' | 'weight' | 'length' | 'volume', { readonly required: true; readonly default: true }>;
1220
+ readonly ratio: F.Decimal<{ readonly required: true; readonly default: true }>;
1221
+ readonly rounding: F.Decimal<{ readonly required: true; readonly default: true }>;
1222
+ };
1223
+ readonly methods: UomUomMethods;
1224
+ }
1225
+
1226
+ /** Methods of `uom.uom`: declared ones and transitions. */
1227
+ export interface UomUomMethods extends F.Methods<typeof import('../../product/index.js').productShutro, 'uom.uom'> {
1228
+ }