Nicely explained, I am getting complete form view of base model, however i add only tree view in my one2many field?
@OdooMates Жыл бұрын
if you haven't defined form view for the model, odoo will show auto generated form view for the model
@asero82. Жыл бұрын
Useful tutorial. I want to know if is it possible to use a specify pricelist for the product price? Let's say if a business requirement is to use a pricelist with ID 2 for products used in pharmacy lines, how could I set this up? Thanks in advance.
@MrHighvolt2 жыл бұрын
Thanks for the video!
@OdooMates2 жыл бұрын
Thanks for the support ❤️❤️❤️❤️
@javedshoukat353811 ай бұрын
Hi Odoo mates thank you for the useful video. Plz share how we can get the latest entered record from one2many fileld in another modules and how to show in view of that other module. Like from this One2many field you created, the last added medicine name only, show it in sale module, just under the Customer name. Plz help
@SamirSELLAMI2 жыл бұрын
In Odoo14, I keep getting the following error : File "C:\Odoo14\odoo\odoo\models.py", line 5168, in _update_cache raise ValueError("Invalid field %r on model %r" % (e.args[0], self._name)) Exception should I watch the video of Odoo14 tutorial ?
@OdooMates2 жыл бұрын
can you show us what code you have recently added
@SamirSELLAMI2 жыл бұрын
@@OdooMates Hi, let me explain my scenario: I have two child models B and C _inherit from parent model A. The main model A has a One2many relationship with another model D. The problem occurs when interacting with "field_ids" added to the views of B and C. However, the error does not occur when declaring the One2many relationship field between child model B and D for example! but this does not make sense to me, because in this case model D will have multiple Many2one fields ("B_id" and "C_id"] referring to child models B and C respectively, instead of a single Many2one field "A_id" referring to the main model A, so maybe the One2many relationship is not supported in the _inherit mode?
@wilfredocristobalolanochav57892 жыл бұрын
Muchas gracias por compartir, saludos
@OdooMates2 жыл бұрын
gracias por el apoyo hermano
@superjose278 Жыл бұрын
i had an error when try to save changes with two or more records in product list (area of multiple lines or products), ValueError: Expected singleton: concesion.internacional.lines(5, 6). What could be happend? Thanks
@OdooMates Жыл бұрын
kzbin.info/www/bejne/iKeXZaF8i9OSa7c
@StepUpG-j8m Жыл бұрын
Hi Odoo mates, thanks for your video tutorials they are really helpful. I noticed some issues even though I followed this video of One2many fields step by step. First, I'm developing on Odoo 16, and when I followed the exact steps in this video, the Add a line section as can been seen in the video @ 11:03, does not display in the UI. Secondly, products lists do not display in the UI as well. Can you help me in getting around this issue? Thanks. Update: I'd like to say that I have been able to figure out what the issue was, and I have had it fixed. Thanks for your time.
@moatazachour55292 ай бұрын
how do you fixed my friend
@OdooMates2 ай бұрын
Try with super use mode and see how it goes
@medomedop2566 Жыл бұрын
i have this error while try to add a line "Uncaught Promise > Cannot read properties of undefined (reading 'append') " but it is disappear when I add editable="bottom" in tree tag so what is the problem and this problem every where I try to add a line
@pranavbhat922 жыл бұрын
Thank you for the video! I was able to get the product lists without adding the dependency in the manifest file. Thats weird. 🤔
@OdooMates2 жыл бұрын
Glad to hear it
@pranavbhat922 жыл бұрын
@@OdooMates Sorry I spoke too soon. When I added the 'related' field for the price_unit, I started getting the error. After adding the dependency, the error vanished. Once again, thanks for covering everything in detail! 😀
@OdooMates2 жыл бұрын
❤️❤️❤️ thanks for the support brother
@FunnyDay.5631 Жыл бұрын
I'm getting the output but when i create tree view for that it showing "price" does not exist in model "hospital.appointment"
@OdooMates Жыл бұрын
is it resolved ?
@FunnyDay.5631 Жыл бұрын
No
@ShadHastam8 ай бұрын
Thanks
@OdooMates3 ай бұрын
Welcome
@chaotixsniper2 жыл бұрын
i have a problem with the security file : Exception: Module loading om_hospital failed: file om_hospital\security/ir.model.access.csv could not be processed: No matching record found for external id 'om_hospital.model_appointment_availability_lines' in field 'Model' Missing required value for the field 'Model' (model_id) i got this error when i upgraded the module ..
@OdooMates2 жыл бұрын
do you have a model named: appointment_availability_lines in the module and imported the file in init file ?
@chaotixsniper2 жыл бұрын
@@OdooMates no i just followed your steps i just changed the naming, instead of appointment_pharmacy_lines i named it appointment_availability_lines.. I have the same models as you in this tutorial.
@OdooMates2 жыл бұрын
So you need to set access rights for appointment availability model ?
@chaotixsniper2 жыл бұрын
@@OdooMates yeah i did exactly the same way you did and still get the error when i upgrade the module
@mohamedsobh26262 жыл бұрын
in a patient form, an one2many tree of appointments (editable is false), then create a new appointment line a form popup, how to pass the patient id to the appointment form?