How To Define Search View in Odoo12

  Рет қаралды 16,055

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 48
@DebugWithAdam
@DebugWithAdam 4 жыл бұрын
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
@OdooMates
@OdooMates 4 жыл бұрын
happy to hear those words from you. Wish you all the best and feel free to ask queries if you have in future
@DebugWithAdam
@DebugWithAdam 4 жыл бұрын
Odoo Mates 🤝
@DebugWithAdam
@DebugWithAdam 4 жыл бұрын
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.
@OdooMates
@OdooMates 4 жыл бұрын
@@DebugWithAdam override name_search function
@moha.wasefy
@moha.wasefy 4 жыл бұрын
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
@OdooMates
@OdooMates 4 жыл бұрын
Thanks for suggestions brother
@bram5782
@bram5782 3 жыл бұрын
it worked! even in odoo14. thanks mates ! :)
@OdooMates
@OdooMates 3 жыл бұрын
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
@OdooMates
@OdooMates 3 жыл бұрын
@bram5782
@bram5782 3 жыл бұрын
@@OdooMates that's why i've been struggling into it. Thanks for your help.:)
@OdooMates
@OdooMates 3 жыл бұрын
@@bram5782 welcome bro :)
@yasirkhan1278
@yasirkhan1278 3 жыл бұрын
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.
@OdooMates
@OdooMates 3 жыл бұрын
See: kzbin.info/www/bejne/rYban4F8mr9ma68
@yasirkhan1278
@yasirkhan1278 3 жыл бұрын
@@OdooMates Yeah Man it worked. Thank You Very Much..!
@OdooMates
@OdooMates 3 жыл бұрын
@@yasirkhan1278 :)
@mudassiralizaidi2417
@mudassiralizaidi2417 4 жыл бұрын
very well explained mate
@OdooMates
@OdooMates 4 жыл бұрын
happy to hear it
@dudutlesmono1799
@dudutlesmono1799 3 жыл бұрын
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-3184
@senlan-3184 3 жыл бұрын
Sir, can you tell me what the difference of group expand="0" and expand="1" is ? thanks.
@OdooMates
@OdooMates 3 жыл бұрын
not sure with it, will check and tel you, meanwhile you can give the both and see whether there is any difference.
@AdeshPaul
@AdeshPaul 4 жыл бұрын
Thank you sir.
@OdooMates
@OdooMates 4 жыл бұрын
:)
@aurangzaibbhatti4709
@aurangzaibbhatti4709 4 жыл бұрын
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
@OdooMates
@OdooMates 4 жыл бұрын
Solved m
@CassandraJacklyaDakius
@CassandraJacklyaDakius 2 ай бұрын
Hi, I want to ask why is it fe_male and not female?
@ibrahimhalouane8130
@ibrahimhalouane8130 4 жыл бұрын
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.
@carlitosmelgar5310
@carlitosmelgar5310 5 жыл бұрын
In minute 3:42 your search says "Search Test for: HP". Where is the word Test coming from??
@OdooMates
@OdooMates 5 жыл бұрын
We will check the video and update you.. Most probably the test will be the label given for the field
@khanhnongvan9801
@khanhnongvan9801 4 жыл бұрын
You can change it in file "patient.py"
@mudassarali9582
@mudassarali9582 4 жыл бұрын
when we are grouping the the gender then why age column is sum up the all age values
@OdooMates
@OdooMates 4 жыл бұрын
See this: kzbin.info/www/bejne/rYban4F8mr9ma68
@mudassarali9582
@mudassarali9582 4 жыл бұрын
@@OdooMates thank you mate
@dibouneyasmina7154
@dibouneyasmina7154 4 жыл бұрын
please i need to create a dynamic list view in odoo
@OdooMates
@OdooMates 4 жыл бұрын
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
@KhalilulrahmanAG
@KhalilulrahmanAG 4 жыл бұрын
rest all wroking fine ? what is the issue on this domain ?
@KhalilulrahmanAG
@KhalilulrahmanAG 4 жыл бұрын
changed to patient_name/name_seq or any other existing field, then its working
@OdooMates
@OdooMates 4 жыл бұрын
Happy to hear you solved it :)
@omkardeekonda2687
@omkardeekonda2687 4 жыл бұрын
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.
@OdooMates
@OdooMates 4 жыл бұрын
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-qq3ob
@AbdulHaseeb-qq3ob 4 жыл бұрын
Inside Change
@saraaltahir5711
@saraaltahir5711 5 жыл бұрын
i had error when i applied your code : the fields male & female say must present in a view but it missing :(
@OdooMates
@OdooMates 5 жыл бұрын
Add the filed to form view..
@saraaltahir5711
@saraaltahir5711 5 жыл бұрын
just like a fields in search section??
@OdooMates
@OdooMates 5 жыл бұрын
@@saraaltahir5711 in the form
@saraaltahir5711
@saraaltahir5711 5 жыл бұрын
I sent u email! !??
@ahmedhakam4895
@ahmedhakam4895 2 жыл бұрын
Indian English is a bit difficult ! am I wright ?
@OdooMates
@OdooMates 2 жыл бұрын
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
Record Rules in Odoo
19:50
Odoo Mates
Рет қаралды 32 М.
Create a Wizard and Call it in Button Click Odoo
17:51
Odoo Mates
Рет қаралды 34 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 9 МЛН
How To Add Smart Buttons in Odoo12 (type object)
21:42
Odoo Mates
Рет қаралды 20 М.
How to Add New Sequence in odoo12
11:34
Odoo Mates
Рет қаралды 24 М.
Define New Menu and Actions in Odoo
22:07
Odoo Mates
Рет қаралды 49 М.
Helpdesk Overview | Odoo Helpdesk
13:01
Odoo
Рет қаралды 32 М.
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
How To Define Tree and Form View In Odoo
12:37
Odoo Mates
Рет қаралды 30 М.
How to Add States/Statusbar for Records in Odoo
7:33
Odoo Mates
Рет қаралды 12 М.
8 AI Tools That Will Make You Rich in 2025!
15:58
Aurelius Tjin
Рет қаралды 23 М.
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 118 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 9 МЛН