Skip to Content
Menu
This question has been flagged
1 Reply
833 Views

Recently, we've added some columns to improve the quality of life during our daily operations on odoo. We've added fields like "variant_count", "is_quote_only", "freight_markup" into Inventory, Product List View.

But, I can't remember if those were added via Studio as a related field, or added directly via xml codes in Edit List View under the Developer mode.


However, our I.T encountered issues when trying to update the modules.  Then, I.T suggested that we don't add in customised columns.


So, my question is, is there no safer way to add columns into List Views? If so, what's the purpose of having Studio or Developer Mode?  Maybe I've missunderstood the nature of these functionalites.

Avatar
Discard
Best Answer

ref: Studio adds an xpath so that makes it safer and will work 90% with any update. 10% a field will be moved,renamed and will affect this change.

Editing directly through the xml is not recommended and will for sure cause you more trouble when updating, and if it updates correctly will erase alll made changes 


https://www.reddit.com/r/Odoo/comments/ywij4o/comment/iwk28kz/?utm_source=share&utm_medium=web2x&context=3


other way is to use extension view with xpath to add new field.

ref: https://www.youtube.com/watch?v=9Sy2SxQEkSk

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 24
4
1
Mar 24
255
0
Feb 24
40
1
Jul 24
333
2
Mar 23
2369