Commit Graph

35 Commits

Author SHA1 Message Date
Pedro M. Baeza a717c2a24a [FIX] Size for icon field of ir_module_module table in base.sql 2014-09-04 01:46:44 +02:00
Christophe Simonis ee613ec6cd [IMP] remove useless table/column creations in base.sql. Let the ORM do it job.
[FIX] force creation of workflow used columns.

bzr revid: chs@openerp.com-20140425162828-e85aut02ua8c53nv
2014-04-25 18:28:28 +02:00
Christophe Matthieu 8460122209 [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150856-fzrfcoa8pmsjutau
2013-12-02 16:08:56 +01:00
Denis Ledoux 0a42a9dec9 [FIX]base: remove unnecessary field sizes from all relateds of ir_model. Size limits prevented some database models customization (like selection fields with selection options longer than 128 chars)
bzr revid: dle@openerp.com-20131108130208-srt5gzlxbk890htf
2013-11-08 14:02:08 +01:00
Antony Lesuisse f4332b9b60 [MERGE] trunk
bzr revid: al@openerp.com-20130625162755-d6552p98m5jiw941
2013-06-25 18:27:55 +02:00
Quentin (OpenERP) 31d05360b2 [REF] fields: removed deprecated view_load attribute and removed useless first argument in property fields definition
bzr revid: qdp-launchpad@openerp.com-20130619091332-29pisdnyfemn1u3d
2013-06-19 11:13:32 +02:00
Xavier Morel 282a7180ca [IMP] remove SQL definition of ir.ui.view, schema alterations
* Formally make model not required
* Remove idiotic default values on type and arch
* Make type not required (it's a function field!)

bzr revid: xmo@openerp.com-20130426145113-cf0t0xx24lk9mtgs
2013-04-26 16:51:13 +02:00
Olivier Dony 9f77d2e2f4 [FIX] orm,registry: properly check m2o FKs during model update + fix some models `auto_init`ed multiple times
The case where no constraint existed at all was not working,
and after fixing it, the ORM started to re-create the same
constraints multiple times for some modules. This was for
models that are split within a module (such as res.users in
base, which is made of several small classes): all the
partial models were going through _auto_init instead
of only the final one - doing useless extra work.
      
Unfortunately establishing the FK happens before the
XML data files are loaded, so a number of FK and
NOT NULL constraints failed to apply due to missing
tables/records. base.sql had to be extended a bit
to cover these cases in a minimalist fashion

bzr revid: odo@openerp.com-20121217214645-av9n003yzterhujw
2012-12-17 22:46:45 +01:00
Fabien Meghazi 0615c9faaf [FIX] lang on res.users is still used
bzr revid: fme@openerp.com-20121122152159-a9lxb4fwn8qkvsvt
2012-11-22 16:21:59 +01:00
Fabien Meghazi b629963f24 [REM] Removed unused fields from base.sql
bzr revid: fme@openerp.com-20121122151425-fr8o1v587vgmnf5f
2012-11-22 16:14:25 +01:00
Fabien Pinckaers a48c57df40 [IMP] no certificate
bzr revid: fp@tinyerp.com-20120926121536-9836j42ulu8wcir8
2012-09-26 14:15:36 +02:00
Thibault Delavallée 4067f46ff7 [IMP] base.sql: no need to have a 'name' column on res.users I think.
bzr revid: tde@openerp.com-20120813093656-ywab7wjdpc5gwl02
2012-08-13 11:36:56 +02:00
Thibault Delavallée 2da4b1b3f5 [FIX] base.sql: added a partner_id integer field on res.users, to avoid the ORM being unable to set a not null constraint on it.
bzr revid: tde@openerp.com-20120810140549-w70l7nzwn4kt1oav
2012-08-10 16:05:49 +02:00
Thibault Delavallée d0b4f8413c [REF] base.sql, web_services: propagated changes in res.users model (lang, not context_lang anymore; tz, not context_tz.
bzr revid: tde@openerp.com-20120810081836-y4f2nsft9g7p4hl6
2012-08-10 10:18:36 +02:00
Jigar Amin - OpenERP 67931a35d2 [Add] Add module summary on db install
bzr revid: jam@tinyerp.com-20120717085028-2jkbf9ymrftkui45
2012-07-17 14:20:28 +05:30
Vo Minh Thu 5edca89903 [IMP] uninstall: typos
bzr revid: vmt@openerp.com-20120620100705-p9o5kktmj8zkbshm
2012-06-20 12:07:05 +02:00
Vo Minh Thu eadd5e0a0a [IMP] uninstall: use a dedicated table for many2many relationships instead of overlaoding ir.model.data.
bzr revid: vmt@openerp.com-20120601153449-uj2sl7qjzz3s7xnj
2012-06-01 17:34:49 +02:00
Vo Minh Thu 5df4aa8cca [IMP] uninstall: started test module, added new ir_model_constraint table.
bzr revid: vmt@openerp.com-20120531160140-tutjw76tp0u5hipo
2012-05-31 18:01:40 +02:00
Xavier Morel 33345c9e05 [REM] idiotic default value for type field in ir_actions table
bzr revid: xmo@openerp.com-20120420152220-1yo0rykkj45jfee0
2012-04-20 17:22:20 +02:00
Vo Minh Thu 0d86e08450 [IMP] manifest: `auto_installable` renamed to `auto_install`.
bzr revid: vmt@openerp.com-20120130095238-x2by4y11joeytipr
2012-01-30 10:52:38 +01:00
Vo Minh Thu 5b63c4f560 [IMP] ir.module.module: change `active` flag to
`auto_installable`. An auto-installable module is a module automatically
installed by the OpenERP server as soon as its dependencies are
satisfied, without explicit user action.

bzr revid: vmt@openerp.com-20120126164049-smrcvrojy0b1z6f8
2012-01-26 17:40:49 +01:00
Olivier Dony cf113c2316 [FIX] base: module sequence number removed from XML data, moved to individual module manifests
Having the sequence number living outside the module itself
causes various problems at initialization when modules are
missing (e.g. if creating a database with `base` only).
It is also cleaner to have the module sequence in the
module manifest, like other module metadata.
A corresponding commit in the addons project adds the
`sequence` field in the manifest of all modules who
have a non-default sequence (the main apps).

bzr revid: odo@openerp.com-20120107041745-tik3iu1b2qs4ym85
2012-01-07 05:17:45 +01:00
Raphael Collet 2661edacda [MERGE] translations: import using lower-level sql (translations load about 6 times faster)
bzr revid: rco@openerp.com-20111223104824-fup1cjbjni1fsty1
2011-12-23 11:48:24 +01:00
Olivier Dony d925235e62 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20111222102555-bydsozbdu6urkj31
2011-12-22 11:25:55 +01:00
Antony Lesuisse 7e12f46469 [IMP] ir.module.module: rename is_application to application
bzr revid: al@openerp.com-20111208222241-n9raoe1jec4llh26
2011-12-08 23:22:41 +01:00
Christophe Simonis 9b9d4f0928 [IMP] ir.module.module: rename 'core' to 'is_application'
bzr revid: chs@openerp.com-20111208145101-oth2k8xuymze7y2l
2011-12-08 15:51:01 +01:00
Fabien Pinckaers f7d4c3384d [IMP] Core features on modules, better views for modules
bzr revid: fp@tinyerp.com-20111206111531-qdkajwatqzb0dz45
2011-12-06 12:15:31 +01:00
Vo Minh Thu 842cb1ad41 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111201153214-0iintvpp7crnr2jc
2011-12-01 16:32:14 +01:00
Olivier Dony 3bf3279f25 [MERGE] Implementation of sparse field (to review), by Sebastien Beau, Akretion
bzr revid: odo@openerp.com-20111116172525-rmri79n9hpf2plwg
2011-11-16 18:25:25 +01:00
Stephane Wirtel 53554035ae [FIX] store the complexity field from the manifest during the database creation
bzr revid: stw@openerp.com-20110930095814-4o01upd0krmysbid
2011-09-30 11:58:14 +02:00
sebastien beau b243c0567c [REF] ir_model_field replace the serialisation_field by serialization_field_id
change request in base.sql as a new field is created in ir_model_fields

bzr revid: sebastien.beau@akretion.com.br-20110920170707-2wmfs1sg37hgvbl1
2011-09-20 19:07:07 +02:00
Xavier Morel 139c844655 [ADD] client action
bzr revid: xmo@openerp.com-20110630115134-m5tppqs9whmqtqow
2011-06-30 13:51:34 +02:00
P. Christeas 49fbcdb70a ir.translation: select restriction must be an SQL constraint
select fields validate themselves in ORM, through _check_selection_field_value(),
which /retrieves/ the .selection list and checks if value to be written
is among possible ones. This, however, is very expensive for models that
have variable selection lists (eg. ones that require an SQL query).

In fact, for ir.translation, the query would be repeat for every single
write() to ir.translation. The 'lang' field is actually a reference for
res.lang.code (not the .id, sadly), so let SQL implement the constraint
for us.

bzr revid: xrg@linux.gr-20110608093254-ua66p5co6dc203zs
2011-06-08 12:32:54 +03:00
Vo Minh Thu 4f2d05e968 [FIX] orm: correctly store in db the translate flag:
- added the "translate" column to ir_model_fields in base.sql
- modified orm.py to correctly set that column
- this is based on a patch by xrg.

lp bug: https://launchpad.net/bugs/780584 fixed

bzr revid: vmt@openerp.com-20110523132153-njovr5ynt66k8d81
2011-05-23 15:21:53 +02:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00