How To Inherit And Add Field To One2many Field In Odoo
HTML-код
- Опубликовано: 8 сен 2024
- How to inherit and add fields to one2many field in odoo. How to inherit and add field in Odoo. Odoo inheritance. How to inherit one2many model in Odoo. Odoo customization steps. Inheritance in Odoo. Odoo 15 development tutorials. Creating module in Odoo.
𝐉𝐨𝐢𝐧 𝐭𝐡𝐢𝐬 𝐜𝐡𝐚𝐧𝐧𝐞𝐥:
/ @odoomates
𝐎𝐝𝐨𝐨 𝟏𝟓 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭: • How To Configure Odoo1...
Sponsor Us: github.com/spo...
𝐖𝐞𝐛𝐬𝐢𝐭𝐞: www.odoomates....
𝐈𝐧𝐬𝐭𝐠𝐫𝐚𝐦: / odoomates
𝐆𝐢𝐭𝐡𝐮𝐛: github.com/odo...
𝐄𝐦𝐚𝐢𝐥 : odoomates@gmail.com
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / odoomate
𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / odoomates
𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐔𝐬 𝐢𝐧 𝐊𝐨 𝐅𝐢 : ko-fi.com/odoo...
Hey guys, what would be the best way to inherit a custom field's information from stock to sale order line? I have tried related field, but it only fills in the name of the column when I add products it doesn't bring the information for that field. Cheers
tried a computed field ?
@@OdooMates no I haven't, can't say I'm confident in figuring out how computed fields work but I'll give it a go. Do you guys happen to have any examples similar to my issue?
@@seanbentsen163 Hi did u find the solution?
I have tried this in odoo 14 but the field didn't appear in the form?
Can we see the code..
@@OdooMates < xpath expr ="//field[@name='invoice_line_ids']/form//field [@name='product_id']" position="after">
So you are adding the field to one2many form ? Can you confirm that you checked in one2many form not in one2many treee
@@OdooMates know it's added to the form view.but it don't get information from.same problem in 7:00min
Your inherited view get added in the db, can you check views menu
How to inherit the whole one2many field?
Can you elaborate, suppose if it is sale order line , what you are looking to do
@@OdooMates I need that, while clicking the customer name, the list of products are want to be filled automatically. only one click for selecting the customer. for different customers, there will be a different product.can you please help me in this
Thanks
@@sanjaibalajinallasivam3291 ruclips.net/video/LE7E2O4lBrQ/видео.html
i try this on stock.picking it gives error!!
Did you checked the original view? Inside one2many is there is a inline tree defined or not ?
@@OdooMates the function was not defined in its class 😁