Odoo ORM Methods - Part1

Odoo ORM Methods - Part1

Odoo Mates

3 года назад

37,402 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@jamshadkhan2671
@jamshadkhan2671 - 15.05.2023 19:11

Who can we use or condition between more then two statements inside a search method.
please explain it.

Ответить
@asmaamohammad6004
@asmaamohammad6004 - 22.03.2023 11:16

Thanks

Ответить
@legend-facts
@legend-facts - 30.07.2022 10:06

This method os really help ful for me

Ответить
@amirkarim9932
@amirkarim9932 - 27.03.2022 10:55

first of all thank you for your videos,

i'm going to forward in odoo developing with your videos step by step.

but in this section , i don't know why odoo orm methods doesn't work properly:
instead of giving the same output just like this videos in search method
it gives me this output:
patients.... hospital.patient(1,)

could you help me please how solve this problem????

Ответить
@NMNaufaldo
@NMNaufaldo - 03.02.2022 10:30

Nice tutorial, it help people that don't like reading the docs except there are no tutorial

Ответить
@sansoftinfotech-career9282
@sansoftinfotech-career9282 - 23.10.2021 07:51

what are the columns in the odoo AccountType master , documentType master and how these are accessed in a code ?

Ответить
@tizianadipierro3921
@tizianadipierro3921 - 08.10.2021 13:23

bad audio quality

Ответить
@lenninlawliett
@lenninlawliett - 30.08.2021 20:44

A question!
What method can I get the values of a select-option?

For example in gender it has 3 values, 'Male', 'Female', 'Other'
How can I print these values on the console?

Ответить
@lenninlawliett
@lenninlawliett - 27.08.2021 20:55

How can I validate if a record exists using "request"?
Something like this:

record_to_update = request.env ['my.model']. browse (id)
if record_to_update.exist ():
... true
else:
... false

Ответить
@santoshsalekar6739
@santoshsalekar6739 - 18.06.2021 15:11

How to update Many2one field using write method?

Ответить
@zeiriibtissem9063
@zeiriibtissem9063 - 07.06.2021 12:57

thank you, can you please improve the audio quality ? that would help focus more

Ответить
@heatherpiverotto1425
@heatherpiverotto1425 - 20.05.2021 04:09

Thank you! Great content.

Ответить
@sarathexelixir6801
@sarathexelixir6801 - 13.05.2021 17:34

For relatively inexperienced OOPS starters ( which I think a major part of aspirant programmers are); there could be better mapping to OOPS concepts. Accordingly in the create record section, the directory declaration is an argument type variable declaration. And the argument value has to correspond to ANY ONE of the data attributes of the PATIENT class/model.

Ответить
@arturop8074
@arturop8074 - 03.05.2021 19:18

Hi! where can I get the Hospital module? Can't find it anywhere. Thanks!

Ответить
@otekinalp
@otekinalp - 27.04.2021 15:33

another very useful video. but i think for unlink id =18, you didnt press the confirm button, thats why it wasnt removed. But now im thinking you are making these small mistakes deliberately, so we can notice and learn better :)

Ответить
@abduljabbar8383
@abduljabbar8383 - 22.04.2021 08:04

how we can group data to male and female patients and male patients in search count.

Ответить
@abduljabbar8383
@abduljabbar8383 - 15.04.2021 08:59

how i can group data in search_count

Ответить
@mohamedboudekak8574
@mohamedboudekak8574 - 09.02.2021 13:16

love u man, ur explanations are perfect, thank u very much

Ответить
@adeniyio5582
@adeniyio5582 - 19.01.2021 04:39

Great Job guys, Very interesting video. My question is if you need to pass another field value (value from a Many2one field as one of the search criteria)

Code Sample

field1 = fields.Many2one("model1.model1", string="field1", required=False, )

def action_confirm:
for rec in self
patients = self.env['hospital.patient'].search([('gender', '=', 'field1' ])


Thanks

Ответить
@palanikumar8023
@palanikumar8023 - 29.12.2020 09:52

Hi is there any possible for writing orm queries for joins??

Ответить
@claudiatapia8453
@claudiatapia8453 - 03.12.2020 19:10

I am watching your videos. I have a question. Why are you using FOR in your action_confirm function if self represents one record. I tried a similar function with FOR and with no FOR and they both worked. The other question is when self represents one record or more. Thanks

Ответить
@microbasedesigners7057
@microbasedesigners7057 - 11.11.2020 15:13

100% perfect Explenation Sir. Thank you so much.

Ответить
@palanikumar8023
@palanikumar8023 - 06.11.2020 13:54

what is meant by for rec in self and self.env sir?? is rec in self: mandatory??

Ответить
@zenjoy5450
@zenjoy5450 - 07.09.2020 17:50

Thanks for your video but i can't really listen clearly, appreciate if there is any subtitle !

Ответить
@abhinavm.s1410
@abhinavm.s1410 - 12.08.2020 20:59

Thank you very much mates

Ответить
@AdeshPaul
@AdeshPaul - 07.08.2020 21:24

Trillion Thanks to you sir.

Ответить
@ganbaatarburiad400
@ganbaatarburiad400 - 25.07.2020 16:34

Thank you my teacher :).

Ответить
@abdelhalimkaddourguettaoui4591
@abdelhalimkaddourguettaoui4591 - 17.07.2020 18:40

this was really helpful, Brother I want to you to publish videos for the front-end in odoo and how to use javascript

Ответить
@kashifmanzoor7949
@kashifmanzoor7949 - 14.07.2020 11:41

thank you mates..... <3

Ответить
@nadeemkazi2092
@nadeemkazi2092 - 13.07.2020 08:52

You are awesome brother...Thanks

Ответить
@nadeemkazi2092
@nadeemkazi2092 - 13.07.2020 08:50

Great thanks champ...

Ответить
@supreetlaghate22
@supreetlaghate22 - 12.07.2020 09:24

Thank you soo much <3

Ответить
@MuhammadImranSarwar-dh4rv
@MuhammadImranSarwar-dh4rv - 11.07.2020 10:56

Keep it up brother, life saving video

Ответить
@hanishmangalasseri7294
@hanishmangalasseri7294 - 11.07.2020 10:29

Good job 👏,useful tutorial

Ответить
@osamakhalid5237
@osamakhalid5237 - 11.07.2020 08:34

Keep it up Brother,,
great

Ответить
@nassirrachid232
@nassirrachid232 - 11.07.2020 00:36

Good job 👍👍

Ответить
@davideercole2860
@davideercole2860 - 10.07.2020 21:48

Very great

Ответить