YouTube2Text

Mastering Groups and Access Rights in Odoo 17. Days-4:#2 — Transcript

by Odoo Tech · 1,591 words · 226 segments · language en · Watch on YouTube

Full transcript

  1. 0:01Hello, welcome to my YouTube channel.
  2. 0:03So today is the second video of day
  3. 0:07four. Okay, so in today's video, we
  4. 0:10will see what groups are and what
  5. 0:11access rights are. Module security.
  6. 0:14Basically, what module security is, it
  7. 0:17works with groups. It works on access
  8. 0:19rights, basically. Okay? These come
  9. 0:21under module security. Right? So let's
  10. 0:25start. This was my 17th. I had run it.
  11. 0:32Copied it and pasted my localhost here.
  12. 0:37Ran it. Okay. So this was our student.
  13. 0:43Right? Currently, what is happening
  14. 0:46here is there are two menus. Student
  15. 0:48and Google. So now, what I want is to
  16. 0:51create a group, and the user who has
  17. 0:54access to that group. Right? Only that
  18. 0:57user will see access to Google. Right?
  19. 1:00Only they can use Google's access. Only
  20. 1:03they can open Google by clicking on the
  21. 1:07menu. Okay? So now I will show you
  22. 1:10where our groups are created. You can
  23. 1:13see your groups here. You will go into
  24. 1:15settings. Right? There is a menu for
  25. 1:18groups here. So you will see all the
  26. 1:20groups here. They are already created
  27. 1:22here. These are used to provide access
  28. 1:24rights. Right? And you can also see
  29. 1:27here. Opened a user. So these that you
  30. 1:30see, the ticks you see here. Blue
  31. 1:33boolean type, true-false type. Right?
  32. 1:36Ticked on these. So these are all our
  33. 1:38access rights. Groups. Right? We will
  34. 1:41see how to create these today. Right?
  35. 1:44We have some groups of this selection
  36. 1:47type. Like billing or billing
  37. 1:49administrator. So we will normally look
  38. 1:53at these, no need to create those. If
  39. 1:57needed, there is nothing special in it.
  40. 1:59It just needs an implied ID to be given
  41. 2:02, which is a group. This group has a
  42. 2:04bit less access. The last one has
  43. 2:07proper access. Has complete access.
  44. 2:11Right? Now we go inside the security
  45. 2:15folder and create a file named security
  46. 2:18where we will make all the groups. This
  47. 2:22is our XML type. Okay, we will start
  48. 2:26the odoo tag here. Press enter. Odoo.
  49. 2:34Start the tag. Then start the data tag.
  50. 2:38After this comes the model, which is
  51. 2:42res.groups. Groups. So, I'll copy it
  52. 2:48now. These are the models. These are
  53. 2:54the rest groups. Okay? We'll pick this
  54. 3:04one up from here. Copied it and pasted
  55. 3:08it here. Let me align this. I will
  56. 3:12change its ID. Then I'll explain it to
  57. 3:14you. Google Axis Google Axis Google
  58. 3:25Axis Menu. Okay? What is this ID? The
  59. 3:31ID is basically what you see here as
  60. 3:34Technical; it's a group. All these are
  61. 3:37inside this group. Okay? It's a
  62. 3:39container. Basically, you can assume
  63. 3:41everything is kept inside it. So, the
  64. 3:43ID of the container will be this one.
  65. 3:47You search for its ID where this
  66. 3:48category is created. ID equals, written
  67. 3:56here, look, it's created here. This
  68. 3:59category is created. It's the
  69. 4:01category's ID. We will keep all these
  70. 4:03things inside this category. Okay? It's
  71. 4:05a container. We will keep all of this
  72. 4:07inside this category. Okay? So we will
  73. 4:09put it in this category, or you can put
  74. 4:11it in any other category too. Like the
  75. 4:13Accounting one is created. Like there
  76. 4:15will be an Accounting menu here. Access
  77. 4:17right will be there. There it is. Here,
  78. 4:22it's Invoicing, Invoicing Accounting.
  79. 4:24Okay? That's it. So, we'll do it in
  80. 4:29this for now. This is a category ID. In
  81. 4:32which category you are going to put
  82. 4:34your group. So, I put it under
  83. 4:37Technical. I will link my file in the
  84. 4:41manifest. I'll link it here in the
  85. 4:45manifest. Link your file. Then I will
  86. 4:53upgrade the model. Now we will check
  87. 4:57here if my group appeared or not. Okay?
  88. 5:10You will see here in the groups. Google
  89. 5:15Axis, the name is strange.
  90. 5:17Google Axis Menu, okay, it's Google AIS
  91. 5:21Menu.
  92. 5:22Vipin
  93. 5:24Don't you need it?
  94. 5:26What is the name?
  95. 5:26Vipin
  96. 5:28Okay, Google Axis will appear.
  97. 5:31Brother, I gave it, tell me.
  98. 5:33The name is.
  99. 5:35Either it will be Harsh or.
  100. 5:38Whichever user you add here, they will
  101. 5:41get the access. Basically, okay, you
  102. 5:44can also go and check in the user's
  103. 5:46menu. Why is it written, why is it kept
  104. 5:52there. If you look here, it will appear
  105. 6:01here too. Okay, sometimes its styling
  106. 6:03gets messed up, but it happens in this
  107. 6:06case, otherwise it doesn't. Okay, you
  108. 6:08will also get to see this styling etc.
  109. 6:11sometimes, but it works properly. Okay,
  110. 6:14it doesn't cause any issues, so you can
  111. 6:17simply add a line here to add your
  112. 6:20group, and it will work. Okay? So now
  113. 6:25look here, the Google menu is appearing
  114. 6:28. Okay? It is appearing right now. So
  115. 6:32as soon as I Google Access was there. I
  116. 6:39will apply the Google Access to this
  117. 6:43menu. I will apply this group's access
  118. 6:45to the menu, and then it will work.
  119. 6:47Okay? We haven't applied it yet. We
  120. 6:49have only created it. Now let's apply
  121. 6:52it to the menus. Okay? So this is our
  122. 6:55student one. This one is Google's. So
  123. 6:58it has an attribute called groups. I
  124. 7:01put the attribute of groups here.
  125. 7:04Before this, I need to provide our
  126. 7:06module name. I entered the module name.
  127. 7:09Then module upgrade. Just doing this is
  128. 7:12enough, just this much. Now I will
  129. 7:14refresh it. Refreshed it here. Now see,
  130. 7:17the menu has disappeared from here. Now
  131. 7:19I want the menu to show only if the
  132. 7:22admin has access to that group.
  133. 7:24Otherwise, it won't show. Currently, it
  134. 7:27has Google access, so it will show. So
  135. 7:30I will give Google access here. Gave
  136. 7:36Google access. Then saved it. As soon
  137. 7:40as I save and refresh here, the menu
  138. 7:42will start showing. Similarly, you can
  139. 7:44apply it to fields as well. Like it is
  140. 7:46here right now. I will apply it to the
  141. 7:50phone number. Okay? I will apply it to
  142. 7:53the phone field. I will just copy this.
  143. 7:57It is that simple. We will go to the
  144. 8:01form. Go to the phone number field and
  145. 8:04paste it. That's it. That's all, it's
  146. 8:08pasted. Okay? Now performed a module
  147. 8:12upgrade. It is currently visible. I
  148. 8:18will remove the access from here. I
  149. 8:24will remove the Google menu access from
  150. 8:27here and then save. Then that field
  151. 8:29will disappear from here. Okay? This is
  152. 8:33how you can use groups. You can apply
  153. 8:36it to menus, fields, or even buttons.
  154. 8:41Okay. Now let's look at access rights.
  155. 8:45What are access rights? Like you see
  156. 8:48the create button here. Okay? Now if I
  157. 8:51go into this, I mean I will change
  158. 8:53something. So by default, the edit
  159. 8:54button is not showing here. As I save,
  160. 8:56the edit button starts working. Okay?
  161. 8:58It used to show edit in version 16.
  162. 9:00Sorry, it used to show in 13 and 15. It
  163. 9:03doesn't show in 16 and 17; you can edit
  164. 9:07directly. Okay? And here you can see
  165. 9:10the duplicate and delete options. These
  166. 9:13are your four types of access rights.
  167. 9:15Read, write, create, and copy. Okay? So
  168. 9:18, you can also see them from here.
  169. 9:22Access rights, view access rights. You
  170. 9:25can also see from here. Read, write,
  171. 9:26create, and delete. Okay? If I remove
  172. 9:31someone's access from here. This is my
  173. 9:36student.student. If I remove the read
  174. 9:39access from this now. Sorry, I'll
  175. 9:42remove the create access. I'll set the
  176. 9:46third one in student.student to zero.
  177. 9:50It has set its main access right to
  178. 9:51false. It can only read, write, and
  179. 9:55delete. But it cannot create. The new
  180. 9:59button that was appearing will be gone
  181. 10:01now. I will refresh. As soon as I
  182. 10:05refreshed, the new button disappeared.
  183. 10:08Okay? You can still edit here. You can
  184. 10:12edit. Okay? But you cannot create. This
  185. 10:17is our access right. Now, I will keep
  186. 10:21it at zero and apply the group I
  187. 10:25created here. Okay? I will now grant
  188. 10:32access rights based on this group. I'll
  189. 10:36remove the one that was already applied
  190. 10:38. I will add my own here. I added my
  191. 10:45group here. So, only if my Google
  192. 10:47Access group has access, will it be
  193. 10:50able to create. Otherwise, it can read,
  194. 10:53write, and copy. Okay? Refreshed. Okay?
  195. 11:02Now I go here. And grant Google access.
  196. 11:13Access granted. Saved. Now I go over
  197. 11:20there and refresh. Okay? Refreshed. Now
  198. 11:24, if I set this to one. Only then will
  199. 11:29you be able to create it. Okay? If I
  200. 11:33look at this group, the module is
  201. 11:37visible here. Okay? If I remove this
  202. 11:41group, the module will disappear. Watch
  203. 11:45, I haven't done anything yet. Went to
  204. 11:47user. And. Searched and removed the
  205. 11:55token menu. Save, now I go here. I
  206. 11:59refresh. Oh, sorry, I didn't apply it
  207. 12:02to the menu. I have to apply it to the
  208. 12:04main menu. Then your main module will
  209. 12:07be removed from here. Our main menu is
  210. 12:10this student menu. So you have to apply
  211. 12:13it to this, and when you refresh here.
  212. 12:16Okay? The module will disappear from
  213. 12:18here. If you want to grant access to
  214. 12:20that group, you can also do it by going
  215. 12:23into the group. Search here. You can
  216. 12:26also add users from here. Once you
  217. 12:28grant access from here, it will show up
  218. 12:32here. Okay? This is how you can use
  219. 12:35access rights. These are our access
  220. 12:38rights and groups. This is how you can
  221. 12:40use groups along with access rights.
  222. 12:43Okay? The agenda of this video was
  223. 12:45exactly that: groups and access rights.
  224. 12:47We covered two topics. In the next
  225. 12:49video, we will look at report rules.
  226. 12:52Okay? So, thank you.

About this transcript

This page contains the full transcript of Mastering Groups and Access Rights in Odoo 17. Days-4:#2 by Odoo Tech , generated from the public captions YouTube serves with the video. The transcript has 1,591 words across 226 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 choose a caption track available on the video.

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, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.