This helped me a lot. Thanks so much, I was running away from Odoo but had no choice, my company adopted it, while going through your tutorials, I started finding it to be nice
@OdooMates4 жыл бұрын
happy to hear those words from you. Wish you all the best and feel free to ask queries if you have in future
@DebugWithAdam4 жыл бұрын
Odoo Mates 🤝
@DebugWithAdam4 жыл бұрын
Hello Boss, While creating a new Purchase entry, I wanted to search and select Vendor by custom field too, not only by; Name, TIN, Email or Reference. Kindly put me through. The custom field is in res.partner model After checking the Vendor Field on Purchase, I found it's called partner_id many2one field related to res.partner I even sent an Email to u.
@OdooMates4 жыл бұрын
@@DebugWithAdam override name_search function
@moha.wasefy4 жыл бұрын
I want to add something may help, if we add "-u om_hospital" to the Parameters in the configuration, the module will automaticly upgrade with every time u running the pycharm, the Parameters will be like this -for me-: --addons-path=/opt/odoo/odoo/addons,/opt/odoo/odooProj/custom_module -u om_hospital Thank u very much bro, i really likes ur great way to teach us
@OdooMates4 жыл бұрын
Thanks for suggestions brother
@bram57823 жыл бұрын
it worked! even in odoo14. thanks mates ! :)
@OdooMates3 жыл бұрын
Is there any error? if not, if you are expecting full or opertions, it seems you have missed one '|', symbol. No of '|' is one less than the no of tuples
@OdooMates3 жыл бұрын
@bram57823 жыл бұрын
@@OdooMates that's why i've been struggling into it. Thanks for your help.:)
@OdooMates3 жыл бұрын
@@bram5782 welcome bro :)
@yasirkhan12783 жыл бұрын
Hey There, Your Efforts Are Truly Appreciateable. I have a question when we apply group by as "Gender" we are getting age as the sum of all records, So how to avoid that age sum after grouping it by gender. Thank You.
@OdooMates3 жыл бұрын
See: kzbin.info/www/bejne/rYban4F8mr9ma68
@yasirkhan12783 жыл бұрын
@@OdooMates Yeah Man it worked. Thank You Very Much..!
@OdooMates3 жыл бұрын
@@yasirkhan1278 :)
@mudassiralizaidi24174 жыл бұрын
very well explained mate
@OdooMates4 жыл бұрын
happy to hear it
@dudutlesmono17993 жыл бұрын
Thank for tutorial. I have problem need complex filter condition that need python code handle it. How to apply to search view. Thanks for help
@senlan-31843 жыл бұрын
Sir, can you tell me what the difference of group expand="0" and expand="1" is ? thanks.
@OdooMates3 жыл бұрын
not sure with it, will check and tel you, meanwhile you can give the both and see whether there is any difference.
@AdeshPaul4 жыл бұрын
Thank you sir.
@OdooMates4 жыл бұрын
:)
@aurangzaibbhatti47094 жыл бұрын
Hi, I have created a new field in sales order lines but i cannot apply search on it, when ever i search by going to sales orders -> custom filter->order lines contains -> results nothing. how can i solve this
@OdooMates4 жыл бұрын
Solved m
@CassandraJacklyaDakius2 ай бұрын
Hi, I want to ask why is it fe_male and not female?
@ibrahimhalouane81304 жыл бұрын
The group feature will automatically sum up the ages which doesn't make sense in this example, here is quick way to remove the sum in the group age field: @api.model def read_group(self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True): if 'gender' in groupby: fields.remove('patient_age') return super(HospitalPatient, self).read_group(domain, fields, groupby, offset=offset, limit=limit, orderby=orderby) This method need to be added to the patient model, and HospitalPatient is the name of the class.
@carlitosmelgar53105 жыл бұрын
In minute 3:42 your search says "Search Test for: HP". Where is the word Test coming from??
@OdooMates5 жыл бұрын
We will check the video and update you.. Most probably the test will be the label given for the field
@khanhnongvan98014 жыл бұрын
You can change it in file "patient.py"
@mudassarali95824 жыл бұрын
when we are grouping the the gender then why age column is sum up the all age values
@OdooMates4 жыл бұрын
See this: kzbin.info/www/bejne/rYban4F8mr9ma68
@mudassarali95824 жыл бұрын
@@OdooMates thank you mate
@dibouneyasmina71544 жыл бұрын
please i need to create a dynamic list view in odoo
@OdooMates4 жыл бұрын
Dynamic list view is possible in Odoo13. For odoo12 you have custom modules in odoo store for free. See odoo13: kzbin.info/www/bejne/i5e6f6qrpdZleac
@KhalilulrahmanAG4 жыл бұрын
rest all wroking fine ? what is the issue on this domain ?
@KhalilulrahmanAG4 жыл бұрын
changed to patient_name/name_seq or any other existing field, then its working
@OdooMates4 жыл бұрын
Happy to hear you solved it :)
@omkardeekonda26874 жыл бұрын
1. Getting the following error: *odoo.tools.convert.ParseError: "Error while validating view* *Field `name` does not exist* on creating search view in patient.xml 2. Also can you please explain the purpose of ** tag in the search view 3. In Group By, Summation of the age is displayed in the group header. Why is it happening and how to remove it.
@OdooMates4 жыл бұрын
1. Make sure field is there in the model 2. Separator - You can see a line separating things in the filter and group. Already show over the email 3. Use group_operator=False Thanks
@AbdulHaseeb-qq3ob4 жыл бұрын
Inside Change
@saraaltahir57115 жыл бұрын
i had error when i applied your code : the fields male & female say must present in a view but it missing :(
@OdooMates5 жыл бұрын
Add the filed to form view..
@saraaltahir57115 жыл бұрын
just like a fields in search section??
@OdooMates5 жыл бұрын
@@saraaltahir5711 in the form
@saraaltahir57115 жыл бұрын
I sent u email! !??
@ahmedhakam48952 жыл бұрын
Indian English is a bit difficult ! am I wright ?
@OdooMates2 жыл бұрын
Yes we were having some issues initially, we hope we try to improve our best in latest videos, please follow odoo 14 or odoo 15 playlist