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

I have been trying to ramp up my learning of Openerp

I now have....

1) watched 43 videos on python.

2) read countless documents doucuments

3) Countless you tube

4) Countless forums

However I am now more confused than ever on which path to take to create a new field!

1) Settings > Database Structure > Fields > Create

2) Edit an existing module

3) Create a new module

4) Developer Mode > Manage Views > Edit > + > New Field

Which way would you add a field?

Whats the differences?

Is their a recommended way?

Is one way way better than another?

Many Thanks

Avatar
Discard
Best Answer

The best way depends on your situation.

But in general the best thing would be to create your own module, if you want to extend an official module.

If you have downloaded a module from internet, and you had to upgrade it to match V7, than you might want to use that module. But even then, making your own module would be preferred.

Making your own module(s) and extend other modules, means you have all your modifications in 1 place, you can use your new fields to do things with (for example calculations), when you install a new database, you just install your module(s) and everything is there. And you can share your modifications with the rest of the world, without the need to add additional information about what field to create where and with what name.

Option 1 of your question is something you can do to quickly add a field, but you can only fill it, and print it on forms. Disadvantage is that you have to do everything manually (easy to forget when making a new database).

Option 4 is sort of the same as option 1.

Option 2 is better, because of the reasons above.

Option 3 is the best, given the reasons above.

Avatar
Discard
Author

Many thanks

Related Posts Replies Views Activity
0
Mar 15
3531
2
Mar 15
4543
0
Apr 25
937
2
Jan 24
2192
1
Sep 23
2685