Commit Graph

136 Commits

Author SHA1 Message Date
Erwin van der Ploeg 5843a12f26 [Fix] Some missed frontend openerp to odoo changes 2015-01-12 16:17:12 +01:00
Raphael Collet f2e4a10e1a [IMP] use model._fields instead of model._all_columns to cover all fields
The old-api model._all_columns contains information about model._columns and
inherited columns.  This dictionary is missing new-api computed non-stored
fields, and the new field objects provide a more readable api...

This commit contains the following changes:

 - adapt several methods of BaseModel to use fields instead of columns and
   _all_columns

 - copy all semantic-free attributes of related fields from their source

 - add attribute 'group_operator' on integer and float fields

 - base, base_action_rule, crm, edi, hr, mail, mass_mailing, pad,
   payment_acquirer, share, website, website_crm, website_mail: simply use
   _fields instead of _all_columns

 - base, decimal_precision, website: adapt qweb rendering methods to use fields
   instead of columns
2014-11-04 13:47:57 +01:00
Raphael Collet 2e0189770b [FIX] share/wizard: fix new-api method call incorrectly passing context 2014-09-16 17:34:00 +02:00
Thibault Delavallée 9d50b47033 [FIX] share: fixed crash when using the share wizard, linked to the new api. 2014-08-20 14:10:20 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Denis Ledoux 6cf9867f15 [REF] *: share field is now a computed field, if the user is in the employee group or not
bzr revid: dle@openerp.com-20140324143558-jqdm33c0i7wna3va
2014-03-24 15:35:58 +01:00
Olivier Dony 6a14fddc35 [MERGE] Forward port of saas-2 fixes up to rev 9152 rev-id odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: odo@openerp.com-20140314143911-c2mxesg31xezeyr9
2014-03-14 15:39:11 +01:00
Denis Ledoux 02459f8d4a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9929 revid:dle@openerp.com-20140325104921-x8zjx5p71l1o3uif
bzr revid: dle@openerp.com-20140310133913-465x5t3n1bo7fu98
bzr revid: dle@openerp.com-20140311164146-2s599kogbqj8e94l
bzr revid: dle@openerp.com-20140312111149-u6y036aej3ywq7et
bzr revid: dle@openerp.com-20140312121145-06s1jvct9v4m7l6s
bzr revid: mat@openerp.com-20140313084409-c0kckxemy3in0mlo
bzr revid: chs@openerp.com-20140313163420-ifa4hyixj722d6jo
bzr revid: chs@openerp.com-20140314102034-g0nzryvwhrpzdas9
bzr revid: chs@openerp.com-20140314104803-19c5snl2fcuih91o
bzr revid: odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: chs@openerp.com-20140318110229-y8098w3shdpmoig2
bzr revid: dle@openerp.com-20140318151824-sscl4m8p87emjl8s
bzr revid: dle@openerp.com-20140320112618-yfyihlwz66ryeqf5
bzr revid: dle@openerp.com-20140320161003-j01cc6sqves2wnp2
bzr revid: dle@openerp.com-20140320181252-4gqcog22p1ex0pz7
bzr revid: dle@openerp.com-20140321140450-8ulnhr76qybiadks
bzr revid: dle@openerp.com-20140324104743-ubvu8st7emq9pg1q
bzr revid: dle@openerp.com-20140325112413-xs5z7y81rhyjt0rd
2014-03-25 12:24:13 +01:00
Christophe Simonis b93ae13482 [FIX] share wizard: delete wizard lines in cascade
bzr revid: chs@openerp.com-20140314115936-8y6eg51tzmsdlb85
2014-03-14 12:59:36 +01:00
Denis Ledoux 18532330d4 [FIX] *: replace urllib calls by werkzeug calls, as werkzeug handles utf-8 encoding while urllib doesnt
bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
2014-01-30 12:24:08 +01:00
Antony Lesuisse 4c84a49afe [REM] shortcuts, deprecated by browser bookmarks
bzr revid: al@openerp.com-20131006131225-jguvkys2ngwsd6er
2013-10-06 15:12:25 +02:00
Olivier Dony 5cba82e2c9 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8788 dle@openerp.com-20131003094541-ro29hhkas03rdvw8
bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
2013-10-03 13:12:22 +02:00
Denis Ledoux a9158e5993 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9487 rev-id: dle@openerp.com-20130930141202-ghnujem348kydd2m
bzr revid: dle@openerp.com-20130930150804-b4j080uy06t4n7f1
2013-09-30 17:08:04 +02:00
Denis Ledoux 64308eba36 [FIX]share: embed url action= instead of action_id=
bzr revid: dle@openerp.com-20130925140058-hahb3gtrs97a71lw
2013-09-25 16:00:58 +02:00
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Christophe Matthieu 8c6ff33bef [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607102359-is19utzap127nwr4
2013-06-07 12:23:59 +02:00
Martin Trigaux ccb38117ee [MERGE] Forward porting of saas-1 until rev 8739
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
2013-06-05 11:04:53 +02:00
Olivier Dony 0f983a0146 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9183
rev-id launchpad_translations_on_behalf_of_openerp-20130531070107-7d2k818beg8965ll

bzr revid: odo@openerp.com-20130603121852-jdl6vlo9dmjk0rlc
2013-06-03 14:18:52 +02:00
Cedric Snauwaert c9b8a674b1 [FIX]share_wizard: fix problem due to related o2m fields that doesn't have the field: _fields_id
bzr revid: csn@openerp.com-20130521075553-lgbp3neaqeq8dzfo
2013-05-21 09:55:53 +02:00
ggh-openerp e8ef63e0c0 [IMP] Improve warning title
bzr revid: ggh@tinyerp.com-20130429092924-2qgaxvkfb801q4dl
2013-04-29 14:59:24 +05:30
Christophe Matthieu ca03b6de1c [MERGE] from trunk
bzr revid: chm@openerp.com-20130415133727-btc4a6qolfnxs3du
2013-04-15 15:37:27 +02:00
Christophe Matthieu ed4b70dfe3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130415103431-y96fhba0502b6aqc
2013-04-15 12:34:31 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Christophe Matthieu 177f51cb54 [IMP] auth_signup: change reset_password to no_reset_password context value
bzr revid: chm@openerp.com-20130410130244-3ef6mpw6s09xjn75
2013-04-10 15:02:44 +02:00
Raphael Collet 96ad608854 [IMP] general: use registry[X] instead registry.get(X) when X is dynamic
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-03-29 15:37:20 +01:00
Chris Biersbach 7a7186a913 [FIX] Share: The share wizard code still used expression.normalize, which does no longer exist. expression.normalize_domain is now correctly used instead.
bzr revid: cbi@openerp.com-20130307130442-penzwh2unq0vvfih
2013-03-07 14:04:42 +01:00
Cedric Snauwaert 0e20990f1e [FIX]share wizard: missing an argument in a function call
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
2013-03-04 11:53:44 +01:00
Antony Lesuisse d0d191b7bb [FIX] revert 8501 has share
bzr revid: al@openerp.com-20121227164559-wcgin8stkyhsk3h0
2012-12-27 17:45:59 +01:00
vta vta@openerp.com 378ee6784f [FIX] Share module traceback in method has_share, caused by a never used parameter but defined
bzr revid: vta@openerp.com-20121227134752-h1gfckkyyszs6vg3
2012-12-27 14:47:52 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Antony Lesuisse 4f2944b64c [FIX] share minimal fix
bzr revid: al@openerp.com-20121216020604-d0cxbr75wad5g7tg
2012-12-16 03:06:04 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Olivier Dony 5db87bea9c [MERGE] Bugfixes from 6.1 until revision 6800
bzr revid: odo@openerp.com-20121206153856-9y9v8ok6yxo6l5f0
2012-12-06 16:38:56 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Hardik Ansodariya (OpenERP) 7c92b8ba00 [FIX]portal,share : fixed the translation issue of share document wizard
bzr revid: mma@tinyerp.com-20121108100319-qfukxayiz7siic39
2012-11-08 15:33:19 +05:30
Turkesh Patel (Open ERP) ac75763855 [MRG] merge with lp:openobjec-addons.
bzr revid: tpa@tinyerp.com-20120907063657-l0eve7vwo9w3jij1
2012-09-07 12:06:57 +05:30
Thibault Delavallée acd610f039 [FIX] share: fixed second call to schedule_with_attach, in send_emails. It has been replaced by a mail_mail.create() and mail_mail.send().
bzr revid: tde@openerp.com-20120904161956-tw1xvl2vghndhif7
2012-09-04 18:19:56 +02:00
Thibault Delavallée 6bea3b189b [FIX] share: fixed call to schedule_with_attach, as send_invite_email is now commented. This module will be cleaned in the next few days, and all invite mechanism is likely to disappear. scedule_with_attach is therefore commented and not really fixed.
bzr revid: tde@openerp.com-20120904161453-vq8zartows3eggtp
2012-09-04 18:14:53 +02:00
Thibault Delavallée 6fa349a4eb [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120903091818-0qnjl3e5tss54bbj
2012-09-03 11:18:18 +02:00
Jiten (OpenERP) dfb82b2081 [MERGE] Merge from trunk.
bzr revid: jra@tinyerp.com-20120903065444-bcadcpsnadx0vhpx
2012-09-03 12:24:44 +05:30
Stephane Wirtel 1eac0fbe52 [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135136-8k2wjeiixqt6tnkr
2012-08-31 15:51:36 +02:00
Bhumi Thakkar (Open ERP) 26a2b7378d [IMP] Remove 'message_email_pref' field.
bzr revid: bth@tinyerp.com-20120829132420-9c2mqv2pzg10z0co
2012-08-29 18:54:20 +05:30
Fabien Pinckaers b62858e83e [IMP] Merging different ways of posting a message:
message_append_note
  message_append_dict
  message_append
  --> merged all to message_post

bzr revid: fp@tinyerp.com-20120817100302-bqsqv23ogrchslew
2012-08-17 12:03:02 +02:00
Thibault Delavallée 620b7e9b11 [IMP] Addons: user_email -> email.
bzr revid: tde@openerp.com-20120810144339-30ro9omgfxtjtjyz
2012-08-10 16:43:39 +02:00
Antonin Bourguignon 54bbe3d78b [MERGE] exception and warning messages improvement
bzr revid: abo@openerp.com-20120808130608-tnk060lr543nqn2n
2012-08-08 15:06:08 +02:00
Christophe Simonis 6c12d5b308 [FIX] correct home and login urls
bzr revid: chs@openerp.com-20120808120214-13k9qgzx8gu330cs
2012-08-08 14:02:14 +02:00
Saurang Suthar(OpenERP) 7e978dce74 [IMP] Improved warning messages for report_webkit, share and wiki modules
bzr revid: pso@tinyerp.com-20120722134024-hu4fbdhw5ga8p1u7
2012-07-22 19:10:24 +05:30