Комментарии:
Who can we use or condition between more then two statements inside a search method.
please explain it.
Thanks
ОтветитьThis method os really help ful for me
Ответить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????
Nice tutorial, it help people that don't like reading the docs except there are no tutorial
Ответитьwhat are the columns in the odoo AccountType master , documentType master and how these are accessed in a code ?
Ответитьbad audio quality
Ответить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?
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
How to update Many2one field using write method?
Ответитьthank you, can you please improve the audio quality ? that would help focus more
ОтветитьThank you! Great content.
Ответить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.
ОтветитьHi! where can I get the Hospital module? Can't find it anywhere. Thanks!
Ответить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 :)
Ответитьhow we can group data to male and female patients and male patients in search count.
Ответитьhow i can group data in search_count
Ответитьlove u man, ur explanations are perfect, thank u very much
Ответить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
Hi is there any possible for writing orm queries for joins??
Ответить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
Ответить100% perfect Explenation Sir. Thank you so much.
Ответитьwhat is meant by for rec in self and self.env sir?? is rec in self: mandatory??
ОтветитьThanks for your video but i can't really listen clearly, appreciate if there is any subtitle !
ОтветитьThank you very much mates
ОтветитьTrillion Thanks to you sir.
ОтветитьThank you my teacher :).
Ответитьthis was really helpful, Brother I want to you to publish videos for the front-end in odoo and how to use javascript
Ответитьthank you mates..... <3
ОтветитьYou are awesome brother...Thanks
ОтветитьGreat thanks champ...
ОтветитьThank you soo much <3
ОтветитьKeep it up brother, life saving video
ОтветитьGood job 👏,useful tutorial
ОтветитьKeep it up Brother,,
great
Good job 👍👍
ОтветитьVery great
Ответить