Hey Thanks for this Tutorial. And what if I need a specific button in two states?
@OdooMates2 жыл бұрын
states="state1,state2"
@balajib72192 жыл бұрын
@@OdooMates Thank you for your immediate response. Your tutorials are the life saver for me recently. Keep going mates. Thanks again :))
@OdooMates2 жыл бұрын
Thanks for the support bro
@cherryAndPapa3 жыл бұрын
Thank you!
@OdooMates3 жыл бұрын
welcome brother :)
@ipbastola4 жыл бұрын
Thank you for the amazing tutorials. Could you please also explain the workflow of "Cancel" state and how to? 🙏🏼😊
@OdooMates2 жыл бұрын
thanks for the support
@henryjiang15543 жыл бұрын
Hi odoo mates Thanks for the great video, can you explain why we use => for r in self: r.state = 'xxx' instead of using self.state = 'xxx' to change the state for current record.
@OdooMates3 жыл бұрын
To avoid single ton error
@OdooMates3 жыл бұрын
See: kzbin.info/www/bejne/iKeXZaF8i9OSa7c
@BMESSIASMONTEIRO3 жыл бұрын
Hello Odoo Mates, your approach is ok but in a real situation, these statuses should be more effective, I mean...they must be updated into the database. For instance, "draft" appointment should be marked into a column in a table and just marked as "confirmed" when the patient reply a call or an email. By the way, this confirmation should be kept a record as a note. what do you suggest? thanks.
@OdooMates3 жыл бұрын
Yes, your suggestion are correct. We will try to bring the real cases examples more in the upcoming videos. Thanks for the suggestion
@theoriginallukey3 жыл бұрын
Your videos are so helpful, thank you! Can I change the status just by clicking directly on the status bar? I don' t need to use the buttons/actions
@OdooMates3 жыл бұрын
Yes you can! set clickable="True" along with the state field
@theoriginallukey3 жыл бұрын
I found it! Adding options="{'clickable': '1'}" works perfectly!
@OdooMates3 жыл бұрын
Cool :)
@webcoder71574 жыл бұрын
BIG THANKSS MAN. YOU ARE LIFE SAVER
@OdooMates4 жыл бұрын
Hope you will refer the channel with odoo friends and keep supporting us. Thank you
@webcoder71574 жыл бұрын
@@OdooMates Yes.. I am getting issue to calculate discount Please can you help me with example I didn't got any usefull compute funtion