Thank you for your great videos ! A question: I see that it is possible to modify a template directly from the odoo screen. 'Add a line ...' Is there a difference between fields created by the code or those created by the user interface? What method do you recommend?
@@OdooMates Does this mean that the creation of models or email template by the user interface saves the information only in the database? and therefore in the active db only ?
@@OdooMates hello, how can I insert image to qweb report using the tag? bellow is my code : note: I want a static image which is different than the logo image
Please in odoo 15 is it possible de defin price sel and cost by serial number of article? By default odoo 15 permit define one price per article And how I can create costume print button to print caractéristics of project
Hello please help me, I created a model but in the postgres database there is no model data when running on the website the models are not displayed, now how to fix it?
hi odoo Mates i really need your help i have a module in odoo 14 that inherit account.move and account.move.line what i am trying to do is to add new field in the invoice lines i did this successfully and the subtotal is calculated base on the new fields for example : subtotal = price_unit * quantity * date_deffrence date_deffrence is the new field and it is integer feld the problem is the sub total is not changeing in my code can you pleas tell me how can i acheve this thanks
Hello, I am beginner. I followed all your tutorial. I am using PyCharm on Windows11 Table ‘hospital patient’ in database is not created. from odoo import api, fields, models class HospitalPatient(models.Model): _name = 'hospital.patient' # in this line I have: override attribute in base model _description = 'Hospital Patient' # in this line I have: override attribute in base model name = fields.Char(string='Name') age = fields.Integer(string='Age') gender = fields.Selection([('male', 'Male'), ('female', 'Female')], string='Gender') How to solve this problem?
@@OdooMates OK. Now all is ok. Why sometimes very long response for the database (about one day.). I am doing rerun in PyCharm, refresh in google Chome, and Update Apps List and Updates in Odoo, but sometimes no effect. Some times in some seconds.
hello odoo mates i just have a problem in pychram when iam trying this line of code "from odoo import api, fields, models " it gives me an error "Cannot find reference 'api,fields,models' can you help me please
if you cannot see your model, make sure that all the files are named correctly, all directories, all imports, and mostly important.... 😑restart the odoo service.
Thank you Sir! Another masterpiece video on odoo!
Thanks for the support and love brother ❤️❤️❤️❤️❤️
wow you are a really master teaching , thanks so much!!!!
Glad it was helpful!
It's Very Good video.
Thank for your continues generous!
Thank you too
Thank you. Your videos are very useful to me.
Glad to hear it and thanks for the support
Thank you for your great videos !
A question: I see that it is possible to modify a template directly from the odoo screen. 'Add a line ...'
Is there a difference between fields created by the code or those created by the user interface? What method do you recommend?
create from code will be more stable, and it can be used across multiple db
@@OdooMates Does this mean that the creation of models or email template by the user interface saves the information only in the database? and therefore in the active db only ?
Yes only the current db
what an amazing video, thanks alot for your hard work.
Could you please upload a video about configure odoo with pycharm on windows for development.
❤️ thanks for the appreciation ❤️❤️
@@OdooMates
hello, how can I insert image to qweb report using the tag?
bellow is my code :
note: I want a static image which is different than the logo image
Thank you, so nicely explained
glad to hear it and thanks for the support
Thanks!
Welcome!
Please in odoo 15 is it possible de defin price sel and cost by serial number of article? By default odoo 15 permit define one price per article
And how I can create costume print button to print caractéristics of project
Hello please help me, I created a model but in the postgres database there is no model data when running on the website the models are not displayed, now how to fix it?
@Odoo Mates Please help me to fix this issue. table is not create in the model
@OdooMates where should i found the files of this project?
github.com/odoomates/odooapps/tree/15.0/om_hospital
@@OdooMates Thank you Sir
Based
Hi
hi odoo Mates i really need your help i have a module in odoo 14 that inherit account.move and account.move.line what i am trying to do is to add new field in the invoice lines i did this successfully
and the subtotal is calculated base on the new fields
for example : subtotal = price_unit * quantity * date_deffrence
date_deffrence is the new field and it is integer feld
the problem is the sub total is not changeing in my code can you pleas tell me how can i acheve this thanks
Did you adjusted the computation of the sub total field?
@@OdooMates i have make new def in the new module
There will be an existing compute field for this, you have to inherit and make changes there
@@OdooMates ok i know how to inherit class but how to inherit a compute field or method
@@mohamedalobaid2724 see: th-cam.com/video/UeMREPyUcRM/w-d-xo.html
Hello,
I am beginner. I followed all your tutorial. I am using PyCharm on Windows11
Table ‘hospital patient’ in database is not created.
from odoo import api, fields, models
class HospitalPatient(models.Model):
_name = 'hospital.patient' # in this line I have: override attribute in base model
_description = 'Hospital Patient' # in this line I have: override attribute in base model
name = fields.Char(string='Name')
age = fields.Integer(string='Age')
gender = fields.Selection([('male', 'Male'), ('female', 'Female')], string='Gender')
How to solve this problem?
imported the file in the init file ?
@@OdooMates yes
file name: __init__.py
from . import patient
@@OdooMates Number Nr.1 and Nr. 2 tutorials working but I stuck in Nr.3
@@OdooMates OK. Now all is ok. Why sometimes very long response for the database (about one day.). I am doing rerun in PyCharm, refresh in google Chome, and Update Apps List and Updates in Odoo, but sometimes no effect. Some times in some seconds.
Preffered environment for odoo in ubuntu
table doesnt created in database any help?
i am beginner trying to show field "name" but i can't show in odoo views and postgres
any help ?
Are you able to add models to the db ?
Make sure file is imported in init and service is restarted
I show othe fields like age and gender but name not showing 🤔
How you defined your form view
hello odoo mates i just have a problem in pychram when iam trying this line of code "from odoo import api, fields, models " it gives me an error "Cannot find reference 'api,fields,models' can you help me please
I face the same error , did you find the answer?
@@salmasameh5071 did you solve this issue
if you cannot see your model, make sure that all the files are named correctly, all directories, all imports, and mostly important.... 😑restart the odoo service.