Комментарии:
What is the use of api.model decorator?
Ответитьhow to override the edit function
Ответить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?
ОтветитьThanks odoo mates! can we override the create method and add inside the action to also print a report?
Ответитьhi how to over ride function which showing id =195 (return button in purchase order shoes action id 195 )how i can over ride
Ответитьhi I am trying to over write invoice total (amount_total)
def action_confirm(self):
result = super(AccountMove, self).action_confirm()
result.update({'amount_total': 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
how i can pass self.activity_schedule to create method?
Ответитьrealy nice teaching method Thank you so much dear.
Ответить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 ?
Ответитьwhy do you have to repeat yourself so many times through the video? if i miss something i can go back!
Ответитьwhat's the use of @api.model? Just to tell Odoo to call the function automatically?
ОтветитьThis is the Video very nice 👌👏
Ответить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?
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)
ОтветитьPlease create a detailed vdo on How super method works in override? When and how to use?
Ответить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