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

Is it possible to create a Field (char/selection/float/etc) and use this field multiple times within a single form, while saving each individual unique value? I do not want to create multiple fields (i.e. field1, field2, field3). 

A simple copy and paste of <field name="name"/> works, but it randomly stores only 1 value, when saving the form :-(

Surely this can be done very easily, but I'm at a loss going through all the topics/documentation. 

Please note: I prefer not to alter or create a module/python files, so that this change is saved in the database. 

Mission: 
My mission here is to create a notebook page, that allows you to fill in different values for the same fields. 
The following is an example, that I want to duplicate across a single form: 

  • Manufacturer (selector)

  • Type (selector)

  • Model (char)

  • Quantity (float)

Thank you very much for your help! 

-Odoo v8

Avatar
Discard
Best Answer

You can't. Python files creates a field un database to store the value. Evento if you show It multiple times un the view, It can be stored just once. You need multiple files for different values.


Avatar
Discard