odoo/openerp
Denis Ledoux 1b8c9aed9f [FIX] models: custom fields seen as base fields
This was possible to create custom fields `x_*`
but seen as base fields.

For instance,
 - Go to Settings > Technical > Database Structure > Fields
 - Select a field (any)
 - Click on the model link, to be redirected to the model form
 - Edit & add a custom field from there.
 - Save
 - Notice that the field you just added is saved as a base field.

We solve this issue by assuming that all created fields and models
are customs, except the ones created by the ORM, by the database
initialization, the fields coming from the modules in python.

We therefore remove the mechanism on which a field was set
as custom according to the fact `manual` was set to True within
the context: This is now the case by default.

No change was required for the base fields: The `state` `base`
was already forced for those fields, that are created using
direct SQL requests `INSERT INTO`.

opw-657312
2015-11-26 15:44:29 +01:00
..
addons [FIX] models: custom fields seen as base fields 2015-11-26 15:44:29 +01:00
cli [FIX] core: correcly handle pidfile deletion. 2015-11-26 10:40:59 +01:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [FIX] module loading: pre/post_init_hook execution 2015-07-29 12:30:14 +02:00
osv [FIX] expression: `child_of` domain with `parent_store` & non-existing parent 2015-11-10 16:35:55 +01:00
report [MERGE] forward port of branch 7.0 up to 99c87b6 2015-05-21 16:33:45 +02:00
service [FIX] web: current transaction is aborted 2015-10-13 17:12:34 +02:00
tests [MERGE] forward port of branch saas-3 up to 24bcdb7 2015-09-22 15:40:28 +02:00
tools [FIX] tools: ignore unknown entities while parsing 2015-11-03 21:38:53 +01:00
workflow [MERGE] forward port of branch saas-3 up to 2e9b33b 2015-11-03 12:45:50 +01:00
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py [IMP] fields: turn field.digits and column.digits into dynamic properties 2015-03-23 14:36:15 +01:00
api.py [FIX] api: improve decorator `returns` to handle special cases, like method `search` 2015-11-25 09:59:35 +01:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [FIX] fields: fix assignment of related field on several records 2015-10-02 17:05:35 +02:00
http.py [FIX] http: no auto-load for modules not installable 2015-09-09 13:56:55 +02:00
import_xml.rng [MERGE] ir-ui-view split active and show_customize 2014-08-31 16:56:44 +02:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
models.py [FIX] api: improve decorator `returns` to handle special cases, like method `search` 2015-11-25 09:59:35 +01:00
netsvc.py [MERGE] forward port of branch 7.0 up to 1c0bc7c 2015-06-30 12:47:27 +02:00
pooler.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
release.py [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
sql_db.py [FIX] Cursor.closed property 2015-05-11 16:24:33 +02:00