17.How To Override Create Method In Odoo || Odoo Create Function

preview_player
Показать описание
How to override create method in Odoo. Steps to super the create method in Odoo. How to call create method in Odoo. Odoo 14 development, steps to override odoo functions.

Рекомендации по теме
Комментарии
Автор

hello Odoo Mates, thanks a lot for your efforts explaining Odoo in easy way,
regarding this lesson, is it possible to add some use case where override methods is needed, and why we need to use it in general.

again thanks a lot

abdalwahedfrea
Автор

realy nice teaching method Thank you so much dear.

effessservices
Автор

Please create a detailed vdo on How super method works in override? When and how to use?

jamesT
Автор

Thanks odoo mates! can we override the create method and add inside the action to also print a report?

irisgabrielaarronacardoza
Автор

Hello Odoo Mate Kindly Thanks for your valuable tutorial, please tell me how can I make the field mandatory when anyone clicks the cancel button in the status bar to enter reason(if cancel button is clicked there should be reason)

zolaesuye
Автор

What is the use of api.model decorator?

byassinmostafa
Автор

HI odoo mates. I am asking you a question. why vals doesnt return all of the field on my class.. in example, I have field many2one that is not appear in vals. neither or some related field. why is that?

TBKMCN
Автор

Why I test to print self it show nothing but I thought I should show all the records. Do you know why?

jirongzhang
Автор

what's the use of @api.model? Just to tell Odoo to call the function automatically?

ihsannuruliman
Автор

Hi, i have created a model. For this model i created a menu with its form view. Now i created another menu for the same model, but i want this menu to have its own form view not the same form view as the first menu. Because even than created a form view to the xml file of the 2nd menu it shows me the same form view as the first menu. How can i do it ?

reditaga
Автор

hi how to over ride function which showing id =195 (return button in purchase order shoes action id 195 )how i can over ride

malikkamil
Автор

My friend
How to add field my model after inherit but no show old model
Exple....
inherit model product
I want add field number_tage or anything but no show to old model product....
I can that?

osmoh
Автор

how i can pass self.activity_schedule to create method?

AetherSphere
Автор

why do you have to repeat yourself so many times through the video? if i miss something i can go back!

amrmoneer
Автор

hi I am trying to over write invoice total (amount_total)
def action_confirm(self):
result = super(AccountMove, self).action_confirm()
self.amount_untaxed + self.mrp_tax
})
return result
i tried different way but not succeed
def action_confirm(self):
result = super(AccountMove, self).action_confirm()
for record in self:
record.update({
'amount_total': record.amount_untaxed + record.mrp_tax,
})
return result
help plz

malikkamil
welcome to shbcf.ru