YouTube2Text

How to Create a Wizard and Use the Transient Model in Odoo 17 | Step-by-Step Guide — Transcript

by Odoo Tech · 1,239 words · 244 segments · language en · Watch on YouTube

Full transcript

  1. 0:01hello so welcome to my YouTube channel
  2. 0:03so uh today we will learn how to create
  3. 0:06the wizard okay and what is the
  4. 0:08transient model and how we can use the
  5. 0:10trans model in the Udo okay so simply
  6. 0:15click on
  7. 0:16the here now last time I'm create one
  8. 0:20mod student and all the things here so
  9. 0:24today I create a one wiard through the
  10. 0:28button or you can open the wizard
  11. 0:31through the button or menus so today I'm
  12. 0:35create a wizard from the menu okay let's
  13. 0:38go to the
  14. 0:41code me open my
  15. 0:44modules go to the student management so
  16. 0:48create a one folder in the
  17. 0:51module folder name is a
  18. 0:54visard
  19. 0:56res then
  20. 1:02[Music]
  21. 1:04create one
  22. 1:11file
  23. 1:13record
  24. 1:16student
  25. 1:22stent basically I I will update the
  26. 1:25recort through the visard okay
  27. 1:28so this file need to Link in here in
  28. 1:31internal unit
  29. 1:33file
  30. 1:35from
  31. 1:36import student wizard okay after that
  32. 1:40the wizard link here external init file
  33. 1:47import then
  34. 1:50visard okay so
  35. 1:54now
  36. 1:58import models
  37. 2:00fields and API then create one class
  38. 2:05this class name
  39. 2:07student
  40. 2:10wizard this model will be transient
  41. 2:14model the transend model why we create
  42. 2:17him here whenever you open the visard or
  43. 2:20create the visard so you need to create
  44. 2:23a basically you need to use Transit
  45. 2:26model trans model used for uh data
  46. 2:30temperary actually data is not sa in
  47. 2:32your database we see data current on
  48. 2:35your window that is the data only once
  49. 2:38you close the windows or once you close
  50. 2:42the menus the data will be remove
  51. 2:45automatically deleted in the system okay
  52. 2:47so data basically not saved in the
  53. 2:50database so click here
  54. 2:53and create the
  55. 2:56object student do result
  56. 3:01and let's
  57. 3:03see now I want to add
  58. 3:05here some fields which is copying from
  59. 3:10the student
  60. 3:12form see I am want to add that only okay
  61. 3:18so simply copy and paste here also
  62. 3:22create a
  63. 3:25file
  64. 3:27student visard
  65. 3:33G
  66. 3:38gxm now start ending
  67. 3:43tab
  68. 3:45data and copy the
  69. 3:50XML that one okay okay this one copy
  70. 3:56form VI copy
  71. 4:00and then x
  72. 4:03copy copy two things on paste
  73. 4:08here and change the
  74. 4:13IDS student
  75. 4:16wiard okay
  76. 4:21student student visard copy
  77. 4:24here paste
  78. 4:27here remove the preview
  79. 4:31and one more field need to add here this
  80. 4:35is called Target Target means when you
  81. 4:39click on the this action the window
  82. 4:42popup will become as a
  83. 4:46name okay so write here
  84. 4:53wizard so I'm adding this
  85. 4:56field name age gender name gender name
  86. 5:04iser
  87. 5:09remove
  88. 5:11okay after that address phone number
  89. 5:14email image left remove
  90. 5:22address phone
  91. 5:25number
  92. 5:28em phone
  93. 5:36email student
  94. 5:38ring that will will be add in the home
  95. 5:43view
  96. 5:45okay and
  97. 5:48then
  98. 5:58correct so let's
  99. 6:00this file need to link in the Manifest
  100. 6:02file go to the Manifest and duplicate
  101. 6:07and here after the data file chain the
  102. 6:12Reser
  103. 6:14then that's it only okay now upgrade the
  104. 6:19module this module will be upgraded from
  105. 6:22the backend
  106. 6:23side click on the
  107. 6:26configuration right here and that's mod
  108. 6:28name
  109. 6:31go to the
  110. 6:32refresh so I want to update the record
  111. 6:36from here so basically I'm add a button
  112. 6:39here button name will be update data
  113. 6:43okay so I'm adding the go to the student
  114. 6:48form
  115. 6:50and copy this
  116. 6:54one and write here this way and after
  117. 6:58that D inside this bracket need to paste
  118. 7:03xon id xon id
  119. 7:07okay
  120. 7:10or the button name will be
  121. 7:14update
  122. 7:17data and button type will be
  123. 7:20accent
  124. 7:22okay now upgrade the
  125. 7:27module so my button it will be showing
  126. 7:31here click on the update so you okay I'm
  127. 7:35not access I'm not give the access this
  128. 7:40object in the security file so I need to
  129. 7:43give access in the security file simply
  130. 7:46duplicate then paste here and give the
  131. 7:56access after that also
  132. 8:00[Music]
  133. 8:01here and
  134. 8:04that's then up
  135. 8:06module
  136. 8:08refresh P click on the update so my
  137. 8:11popup is coming this is called
  138. 8:13bizard okay now I'm change the ID like I
  139. 8:17want to change this this you can see
  140. 8:19back inside student name is our CL our
  141. 8:22hand right here
  142. 8:24um Imran
  143. 8:28Imran okay
  144. 8:30or select here and enter the H2 and
  145. 8:33address
  146. 8:35is main
  147. 8:38room okay simply and something right
  148. 8:42here on your bus that save if have click
  149. 8:47on Save what happen so I only save but
  150. 8:50record is not update because the data
  151. 8:53only saved but if this data is not saved
  152. 8:56in the backend this button is by default
  153. 8:59is coming in the pop okay so need to add
  154. 9:03one button in the
  155. 9:05visard okay so after the seat add button
  156. 9:11let me open the
  157. 9:14button so first copy
  158. 9:23this let open this is the two
  159. 9:26t after the seat past here start T
  160. 9:31footer button name will be
  161. 9:35update update
  162. 9:38data data okay also string name will be
  163. 9:42so
  164. 9:43update
  165. 9:45data okay this button will be accent
  166. 9:48type and now create this button
  167. 9:52here da and this simply I'm right here
  168. 9:57three for checking is working or not
  169. 10:02update data so nowr the
  170. 10:06module and refresh the
  171. 10:09pce and click on the button so my button
  172. 10:13will be showing here you can see here
  173. 10:15the update button so I'm randomly write
  174. 10:18here now click on the update so go to
  175. 10:21the P charm now my Buton is working so
  176. 10:27now now after that I want to update the
  177. 10:30records okay in the current open object
  178. 10:34open record okay so need
  179. 10:37to find before active
  180. 10:40ID so we can search the current recort
  181. 10:44from the active ID okay how we can get
  182. 10:47the active ID so you can get the active
  183. 10:50ID that
  184. 10:52way okay so I'm WR here the variable
  185. 10:57active ID is equals to
  186. 10:59then this oh and
  187. 11:05search
  188. 11:08student
  189. 11:10okay
  190. 11:12self. EnV and write here
  191. 11:18student dot student and
  192. 11:23also
  193. 11:27browse browse
  194. 11:30so report will be coming so I'm print
  195. 11:34the student
  196. 11:37simple student then upgrade the module
  197. 11:41checking student is catching the with
  198. 11:44current ID or not okay simply p and
  199. 11:47click the student is coming student ID
  200. 11:51is two and this is student ID you can
  201. 11:55see here ID is to okay now
  202. 11:59I want to update the data
  203. 12:02simply
  204. 12:07student
  205. 12:09or
  206. 12:11student and
  207. 12:13[Music]
  208. 12:16student right
  209. 12:20sod
  210. 12:21dot
  211. 12:24name equal to self. name
  212. 12:34the
  213. 12:38email student
  214. 12:45ID
  215. 12:47student do
  216. 12:53is sell is only that feel only update
  217. 12:59remove right now only thing F update
  218. 13:01name email or age okay so upgrade the
  219. 13:07module then go here you can see the name
  220. 13:10is a I'm right here the
  221. 13:13rul and age
  222. 13:1520 also 20 is there I'm right here 15
  223. 13:19and the second one is the
  224. 13:23email
  225. 13:25AK
  226. 13:26gmail.com then click on update
  227. 13:29so here you can see that data is update
  228. 13:32name also change there is before is the
  229. 13:35name here is the a instead of right now
  230. 13:39the and also the age and
  231. 13:42also so you can use the visard like this
  232. 13:46way okay from the buttons or you can
  233. 13:50open the visard like from the menu only
  234. 13:54go to the menu or here you can give only
  235. 13:58xtion ID
  236. 13:59simply and open the resort through the
  237. 14:03menu this is the simple way how to
  238. 14:06create the menu Vis in theur okay so
  239. 14:11this thing to thing is completed after
  240. 14:14that we we will learn in deeply QB
  241. 14:18template language
  242. 14:20okay so thank you if you have any
  243. 14:23question please write the comment in the
  244. 14:26video section

About this transcript

This page contains the full transcript of How to Create a Wizard and Use the Transient Model in Odoo 17 | Step-by-Step Guide by Odoo Tech , generated from the public captions YouTube serves with the video. The transcript has 1,239 words across 244 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.