Hi, I see you have an odoo-community- folder and an enterprise one, so is it possible to have both editions on the same server? and how to start one or another? thanks in advance
How to get the form values when clicking on the 'create' button?. In this case you only gave a print message 'Button is clicked', but how to retrieve the values??
Hello friends, how this wizard form could be called automatically? for example after creating a new patient just after saving that the wizard launch to create the appointment with out pressing any button, thanks in advance...
thank you in the next tutorial you can add in configuration of pycharm " -u om_hospital " for making upgrade automatically : --config=C:\odoo-14\odoo-14\debian\odoo.conf -u om_hospital
look like it's not auto upgrade, it just upgrade by command. when ever u make a change and want to upgrade the module, you have to "Ctrl + C" to exit and run the command again
@@OdooMates yes, i mean this video only show how to create popup, and in "create" function, you just let it print out a message and do nothing else. on video #34, you have handle the "create" function to save the data to database.
hi sir , I created I created Many2 many field in wizard how can i get value in pdf report and excel report companies = fields.Many2many(comodel_name='res.company', string='Company') I try but it works when only 1 company selected if more than 1 company selected it shows error excel worksheet.merge_range(row, col + 5, row, col + 6, 'Company', format_data_header) worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left) in pdf it works when only 1 company selected if more than 1 company selected it shows error comp = wizard_data.companies.name help plz
you may have received singleton error, change the below line: worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left) to worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.mapped('name'), format_data_left)
great videos you are doing! thank you so much for teaching all this. you are doing this very very good in an excelent didactic way.
thanks brother for the feedback and support
Hi, I see you have an odoo-community- folder and an enterprise one, so is it possible to have both editions on the same server? and how to start one or another? thanks in advance
ua-cam.com/video/l4jpz_bDI0Q/v-deo.html
How to get the form values when clicking on the 'create' button?. In this case you only gave a print message 'Button is clicked', but how to retrieve the values??
hi how can i replace tax Amount(amount_by_group) by custom amount in odoo 14?any dacument for help / or video
Hello friends, how this wizard form could be called automatically? for example after creating a new patient just after saving that the wizard launch to create the appointment with out pressing any button, thanks in advance...
See: ua-cam.com/video/QpzBdLWEWsE/v-deo.html
Great content, thank you
Thanks brother :)
I need to filter 'lost reason' depend on stage of lead, could you please show me how to do it, thank you in advance!
thank you
in the next tutorial you can add in configuration of pycharm " -u om_hospital " for making upgrade automatically :
--config=C:\odoo-14\odoo-14\debian\odoo.conf -u om_hospital
ua-cam.com/video/ErzOia_A21w/v-deo.html
look like it's not auto upgrade, it just upgrade by command.
when ever u make a change and want to upgrade the module, you have to "Ctrl + C" to exit and run the command again
The "save to database" step is in video 34 in case some one wonder where's the save process.
save data to database ?
@@OdooMates yes, i mean this video only show how to create popup, and in "create" function, you just let it print out a message and do nothing else.
on video #34, you have handle the "create" function to save the data to database.
@@futhedude4848 ua-cam.com/video/z-4MQVh5R_0/v-deo.html
Button readonly when adding in one2many field on wizard .How to fix
How can i generate a form page when we click that generate button
How to populate Many2many field in wizard?
with default values ?
hi sir , I created I created Many2 many field in wizard how can i get value in pdf report and excel report
companies = fields.Many2many(comodel_name='res.company', string='Company')
I try but it works when only 1 company selected if more than 1 company selected it shows error excel
worksheet.merge_range(row, col + 5, row, col + 6, 'Company', format_data_header)
worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left)
in pdf it works when only 1 company selected if more than 1 company selected it shows error
comp = wizard_data.companies.name
help plz
error
File "/home/kamal/odoo/odoo14/odoo14/odoo/models.py", line 5000, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.company(2, 1)
you may have received singleton error,
change the below line:
worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left)
to
worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.mapped('name'), format_data_left)
@@OdooMates after replacing below all lines goes red and shows error
May be some issue In the code we have shared just change wizard.companies.name to wizard.companies.mapped('name')
@@OdooMates Thanks A lot working now
I activate the developer mode and even developer with assets and I don't see the bug on the wizard, somebody has experienced the same?
What is the issue that you are facing