Read Group Method In Odoo || Odoo Read Group Method || Odoo ORM Methods

  Рет қаралды 6,776

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 10
@hectorherrera4193
@hectorherrera4193 Жыл бұрын
Excelente explicacion ... Cada vez que veo tus videos aprendo algo nuevo. Gracias por compartir
@UtsavKumarMalviya
@UtsavKumarMalviya Жыл бұрын
nice video, it was a complicated topic you explain very well
@OdooMates
@OdooMates Жыл бұрын
Glad it was helpful!
@venkateshajjs5014
@venkateshajjs5014 2 жыл бұрын
thank you so much for this video brother .. it helps a lot to me ........
@OdooMates
@OdooMates 2 жыл бұрын
You are most welcome
@danakaplan7738
@danakaplan7738 Жыл бұрын
Clear explanation. Thank you
@OdooMates
@OdooMates Жыл бұрын
thanks dear
@kenwoychesko2163
@kenwoychesko2163 Жыл бұрын
Fantastic explanation -- thank you!
@OdooMates
@OdooMates Жыл бұрын
Glad it was helpful!
@aunnfriends
@aunnfriends 2 жыл бұрын
Here is my prefer way to force myself to deal with 'self' as a recordset to avoid singleton error when dealing with it. (on a different note, I have used account_count in _order before and it has store=True and the error is not getting triggered. Only when I remove store=True, the 0 appointment error is triggered but now I lost the _order with the appointment_count) @api.depends('appointment_ids') def _compute_appointment_count(self): recordsets = self appointment_group = self.env['hospital.appointment'].read_group( domain=[('state', '=', 'done')], fields=['patient_id'], groupby=['patient_id']) for appointment in appointment_group: print('HospitalPatient _compute_appointment_count : ', appointment) patient_id = appointment.get('patient_id')[0] patient_rec = recordsets.browse(patient_id) patient_rec.appointment_count = appointment['patient_id_count'] recordsets -= patient_rec for rec in recordsets: print('HospitalPatient _compute_appointment_count : ', rec.name) rec.appointment_count = 0
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
How to use read method in Odoo | Latest Odoo Tutorial
13:33
How to use read_group method in Odoo | Odoo ORM Methods
10:36
Attention in transformers, step-by-step | DL6
26:10
3Blue1Brown
Рет қаралды 2,1 МЛН
Raw SQL, SQL Query Builder, or ORM?
16:19
ArjanCodes
Рет қаралды 108 М.
How to use get_metadata method in Odoo | Odoo ORM Methods
13:31
WebLearns
Рет қаралды 1,7 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН