Commit Graph

44 Commits

Author SHA1 Message Date
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
Christophe Simonis 5e6ec89659 [MERGE] forward port of branch saas-3 up to 43235e2 2015-07-27 14:09:57 +02:00
Christophe Simonis 43235e2d1d [MERGE] forward port of branch 7.0 up to 0e151f7 2015-07-27 14:08:38 +02:00
Nicolas Lempereur 0e151f7f32 [FIX] web_view_editor: javascript errors
A jquery selector $('td[id^=]') may have been valid once uppon a time,
but it cause error on current jquery versions.

Also in some case when we want to add a field on a view, there may be
a mess to detect the parent.

opw-645557
2015-07-23 15:48:53 +02:00
Cedric Snauwaert c8607c8b81 [FIX]few cosmetic of code
bzr revid: csn@openerp.com-20140411122753-qzxb29uwkw89mrxs
2014-04-11 14:27:53 +02:00
Cedric Snauwaert 049539809d [FIX]modal strict to bootstrap: no resize and only use 3 size, large-medium-small instead of changing width of modal
bzr revid: csn@openerp.com-20140410151940-w0m1ljjqgo0eysgp
2014-04-10 17:19:40 +02:00
Thibault Delavallée f9838a6032 [FIX] view manager: effectively take into account the
> selected view.

bzr revid: tde@openerp.com-20140217120453-oen4xfbkngemnrab
2014-02-17 13:04:53 +01:00
Vidhin Mehta 77595a843e [IMP]Improvements in Manage View.
bzr revid: vme@tinyerp.com-20130405085224-yecygjxi39nd60h0
2013-04-05 14:22:24 +05:30
Fabien Meghazi 43cba221b2 [FIX] View editor does not handle inherited views
lp bug: https://launchpad.net/bugs/1157117 fixed

bzr revid: fme@openerp.com-20130321152831-n3bkdtoru72hbbub
2013-03-21 16:28:31 +01:00
Xavier Morel 0b0cfff063 [MERGE] missing translation marks, courtesy of Csaba TOTH
lp bug: https://launchpad.net/bugs/1084306 fixed

bzr revid: xmo@openerp.com-20121129140109-bwx1njhyqfenc2d3
2012-11-29 15:01:09 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Fabien Meghazi 2994db89ca [MERGE] trunk
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Vidhin Mehta (OpenERP) 011c9ca6c7 [imp]indentation
bzr revid: vme@tinyerp.com-20121101070828-jiznujjiacg69zl1
2012-11-01 12:38:28 +05:30
Vidhin Mehta (OpenERP) a5aa575356 [FIX]
bzr revid: vme@tinyerp.com-20121101070418-guunfniuhvgy8ot9
2012-11-01 12:34:18 +05:30
Vidhin Mehta (OpenERP) 8152ff9609 [IMP]Css cleanup and refactore code.
bzr revid: vme@tinyerp.com-20121101063220-jlppjre8vefpeezv
2012-11-01 12:02:20 +05:30
Vidhin Mehta (OpenERP) 1f4be50079 [MERGE]trunk.
bzr revid: vme@tinyerp.com-20121101055702-aoybyhf8od52kto0
2012-11-01 11:27:02 +05:30
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
vta vta@openerp.com 1ccd8db987 [FIX] Fixed on_loaded in ViewEditor.
bzr revid: vta@openerp.com-20121018121947-xx2334wkt2tr6qcq
2012-10-18 14:19:47 +02:00
niv-openerp 04353719e9 [IMP] removed on_close in Dialog
bzr revid: nicolas.vanhoren@openerp.com-20121015135236-r5809kwwbcqo67tj
2012-10-15 15:52:36 +02:00
niv-openerp ed445ff91a [REVERT] revert commit 3224 because it didn't reproduced the original behavior and some on_close were forgotten
bzr revid: nicolas.vanhoren@openerp.com-20121015133815-hmkz6h1bkhnbq7up
2012-10-15 15:38:15 +02:00
vta vta@openerp.com 9f3198d00a [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012131427-rr9cl2ausnraogfg
2012-10-12 15:14:27 +02:00
vta vta@openerp.com 48118a7afe [IMP] Improved on close code.
bzr revid: vta@openerp.com-20121012130254-kthondab91jph64x
2012-10-12 15:02:54 +02:00
Vidhin Mehta (OpenERP) ffb5a9c802 [IMP]method name change.
bzr revid: vme@tinyerp.com-20121012083827-hq8xrnn333foyiu3
2012-10-12 14:08:27 +05:30
Vidhin Mehta (OpenERP) c6fa315737 [IMP]do_save method with trigger.
bzr revid: vme@tinyerp.com-20121011132122-m8qq603wk4gla0fq
2012-10-11 18:51:22 +05:30
Vishmita e50ce70fa7 [Fix]change event name
bzr revid: vja@tinyerp.com-20121011105516-h3fuwrgxdqqbtxh8
2012-10-11 16:25:16 +05:30
Vishmita ffe8dd604a [MERGE]Merge Trunk
bzr revid: vja@tinyerp.com-20121011102837-k0y1kvf901rp3l8u
2012-10-11 15:58:37 +05:30
vta vta@openerp.com 46b5ac9a37 [FIX] Fixed on_button_cancel.
bzr revid: vta@openerp.com-20121010114007-3cw3qlxu2zwt1k0s
2012-10-10 13:40:07 +02:00
Vishmita 3e15613cf7 [IMP]replace callenabled for on_close
bzr revid: vja@tinyerp.com-20121008133123-wg9gz98d0msrsnvn
2012-10-08 19:01:23 +05:30
Vishmita 777243bef3 [Fix]Improve code
bzr revid: vja@tinyerp.com-20121008093315-tnfnrr0rhum2yyoy
2012-10-08 15:03:15 +05:30
Vishmita 6b30915df2 [Fix]replace callenabled for on_button_cancel
bzr revid: vja@tinyerp.com-20121008072733-kveozkvheu9kiti2
2012-10-08 12:57:33 +05:30
Vidhin Mehta (OpenERP) 558ad0616a [IMP]remove callbacks from call method and improve related code.
bzr revid: vme@tinyerp.com-20121003103428-fnr942tzl065rcei
2012-10-03 16:04:28 +05:30
Antony Lesuisse f025e07860 [MERGE] trunk-deferred-write, change r.result into r
bzr revid: al@openerp.com-20121001220248-e40r7wypgzxa3i0a
2012-10-02 00:02:48 +02:00
Vidhin Mehta (OpenERP) 7c701944ec [IMP]remove callbacks from write method and change related code.
bzr revid: vme@tinyerp.com-20121001085609-rxdoknvpo130ehq3
2012-10-01 14:26:09 +05:30
Antony Lesuisse 04c263f284 [MERGE] callback2deferred dataset.create
bzr revid: al@openerp.com-20120930144528-dbtbt8xad3tsqndi
2012-09-30 16:45:28 +02:00
Antony Lesuisse a55cc6072a [IMP] callback2deferred part1 dataset.unlink
bzr revid: al@openerp.com-20120927234513-3aohele9gcoxkha4
2012-09-28 01:45:13 +02:00
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
Vidhin Mehta (OpenERP) 05bf985ace [merge]trunk.
bzr revid: vme@tinyerp.com-20120821120122-7lgndirsyuaop6mi
2012-08-21 17:31:22 +05:30
Fabien Meghazi b5d5b2f52c [FIX] Fixed view editor
bzr revid: fme@openerp.com-20120816175219-v0fzkgpb0zog290j
2012-08-16 19:52:19 +02:00
niv-openerp 3ebfaedd64 [IMP] removed a lot of OldWidget usage
bzr revid: nicolas.vanhoren@openerp.com-20120814134246-y2awqbt2i1hcan61
2012-08-14 15:42:46 +02:00
Vidhin Mehta (OpenERP) 63702d6064 [IMP]minor fix to view editor.
bzr revid: vme@tinyerp.com-20120814085041-s0lkqzcnyks0ukdn
2012-08-14 14:20:41 +05:30
Fabien Meghazi b56849da72 [MERGE] vieweditor extraction
bzr revid: fme@openerp.com-20120801145907-16oe3cu5jb04phmv
2012-08-01 16:59:07 +02:00
Vidhin Mehta (OpenERP) ed0d89e659 [IMP] override on_debug_changed method.
bzr revid: vme@tinyerp.com-20120731134406-6pornq9phwnahia3
2012-07-31 19:14:06 +05:30
Vidhin Mehta (OpenERP) 1fc733b919 [FIX]small issue.
bzr revid: vme@tinyerp.com-20120730094938-hr0et2qgm6jd7xjb
2012-07-30 15:19:38 +05:30
Vidhin Mehta (OpenERP) 8e5a0fa9b0 [IMP]removed view editor from web to web addons.
bzr revid: vme@tinyerp.com-20120730091815-scj8dt3j1tr1jpvx
2012-07-30 14:48:15 +05:30