Commit Graph

50 Commits

Author SHA1 Message Date
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
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
ggh-openerp e8ef63e0c0 [IMP] Improve warning title
bzr revid: ggh@tinyerp.com-20130429092924-2qgaxvkfb801q4dl
2013-04-29 14:59:24 +05:30
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
Vo Minh Thu 76ec85fca1 [IMP] report: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222124823-6u7cqzj3d60buud5
2013-02-22 13:48:23 +01:00
Antony Lesuisse 32cd94c631 [MERGE] lp:~florent.x/openobject-addons/trunk-use-simplejson
bzr revid: al@openerp.com-20121218152110-aj4rxlzlovfp1qhw
2012-12-18 16:21:10 +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
Olivier Dony ce1226a4a8 [FIX] sale,edi: fix sale EDI import test + better debug
- `delay` field on SO line  moved to sale_stock, ignoring it for now
- avoid reusing the same bank account in 6.1 test, would cause a test
  failure because the import would be skipped and the new partner
  would have no bank account. Bank accounts should be unique in the
  real world.
- log in DEBUG when a relationship record is skipped during EDI import

bzr revid: odo@openerp.com-20121019111100-dwf0crocqv43m3ij
2012-10-19 13:11:00 +02:00
Olivier Dony 48cfc1bb02 [IMP] edi,account: fix EDI import of invoices, now compatible again with 6.1, and correct wrt. partners import (vs old addresses)
bzr revid: odo@openerp.com-20121017162937-fprd53n4ljo5bdim
2012-10-17 18:29:37 +02:00
Olivier Dony c7757baf77 [IMP] edi: ported web part to 7.0 + removed the EDI preview- and export-related parts
As started in previous commits, in 7.0 there is no more
static storage of exported EDI documents, and they are
instead replaced by the improved portal - which will
provide the preview as well as export capabilities.
(The export might be added in a second phase)

bzr revid: odo@openerp.com-20121016122913-ndl0l36buhku3kxy
2012-10-16 14:29:13 +02:00
Olivier Dony 5f24594223 [IMP] edi: work-in-progress: remove permanent storage of edi.document
The EDI documents will now be generated on demand
and available from the Portal view of each document.
Instead of getting a link to a statically generated
EDI document, customers will receive a link to
the portal access to the document. They will be able
to signup on the portal the first time as well,
provided they are using the secure token that was
sent to them (i.e. the right link).

The link to pay online will be available in the
portal as well.

Still much to do, this is a small first step,
with edi.document renamed to edi.edi for
consistency, as it will not persist any
edi.document anymore.

bzr revid: odo@openerp.com-20121011152008-bht7ub6woaex0a7u
2012-10-11 17:20:08 +02:00
Quentin (OpenERP) af32150ad8 [REV] reverted previous commit (7212) that removes footer field on res.partner.bank, because specs changed
bzr revid: qdp-launchpad@openerp.com-20120809120409-lmubwp2k7wig83hz
2012-08-09 14:04:09 +02:00
Stephane Wirtel db1fe326e5 [MERGE] lp:~openerp-dev/openobject-addons/trunk-res_bank_remove_footer-mdi
bzr revid: stw@openerp.com-20120809091227-rit1oj5vqzppo5q6
2012-08-09 11:12:27 +02:00
Divyesh Makwana (Open ERP) 917a361fa4 [IMP] edi : Removed the 'bank_ids' from 'Company Address' because 'rml_footer2' is now fully editable.
bzr revid: mdi@tinyerp.com-20120807122931-divkd8a9xhgtamzf
2012-08-07 17:59:31 +05:30
Divyesh Makwana (Open ERP) 10b26a9edf [IMP] account, edi : Removed 'footer' boolean from 'res.partner.bank' because 'rml_footer2' is now fully editable since server revision 4198 and its related changes.
bzr revid: mdi@tinyerp.com-20120807110257-sy98hpliumlhtwis
2012-08-07 16:32:57 +05:30
Antonin Bourguignon a52eeef519 [IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk
2012-08-06 19:08:41 +02:00
Saurang Suthar(OpenERP) 839d166da5 [IMP] Improved warning messages for edi and fetchmail modules
bzr revid: pso@tinyerp.com-20120725120401-cyn84znppa8t9vqf
2012-07-25 17:34:01 +05:30
Pinakin Nayi (OpenERP) 62e4a52f2d [IMP]edi-event-email_template-fetchmail-warning-msg
bzr revid: pna@tinyerp.com-20120712122459-hvvxq5nqrtfxv3ei
2012-07-12 17:54:59 +05:30
Quentin (OpenERP) 25fc3c3ec5 [MERGE] merged main trunk branch
bzr revid: qdp-launchpad@openerp.com-20120628114905-nnnho2mngndimj9b
2012-06-28 13:49:05 +02:00
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Ankita Patel (OpenERP) 26a39a6d0c [FIX]sale_crm: update context
bzr revid: pat@tinyerp.com-20120619121016-quk5kem1eud7ddro
2012-06-19 17:40:16 +05:30
Quentin (OpenERP) ffd0c86ec2 [FIX] a lot of fixes in several modules, as the result of the code review of the merge of the objects res.partner and res.partner.address
bzr revid: qdp-launchpad@openerp.com-20120330090837-s87z2qzsvynhlbwr
2012-03-30 11:08:37 +02:00
Turkesh Patel (Open ERP) f5f9d458b6 [FIX] improved code in edi and l10n_ch modules.
bzr revid: tpa@tinyerp.com-20120322061846-021c8rb9yfkespr4
2012-03-22 11:48:46 +05:30
Jigar Amin - OpenERP 92420a78f3 [FIX] Account edi import parent_id
bzr revid: jam@tinyerp.com-20120306100743-562ep2q3lr9ylt36
2012-03-06 15:37:43 +05:30
Jigar Amin - OpenERP c1c73c3fda [FIX] edir partner_id id reference to self .id
bzr revid: jam@tinyerp.com-20120305133048-gm2tc527t1gzagu3
2012-03-05 19:00:48 +05:30
Bhumika (OpenERP) ca9325156d [MERGE] edi : remove res.partner.address
bzr revid: sbh@tinyerp.com-20120305102435-1q579r3o89b8l60m
2012-03-05 15:54:35 +05:30
Jigar Amin - OpenERP e3ab3120c8 [FIX] fix bank addres type fiedl parse
bzr revid: jam@tinyerp.com-20120305070001-h5g9gj3ipx33mv7y
2012-03-05 12:30:01 +05:30
Jigar Amin - OpenERP 09b0ecc8f9 [FIX] removed res partner address code
bzr revid: jam@tinyerp.com-20120305060628-qlynpirl1e6fh5nb
2012-03-05 11:36:28 +05:30
Christophe Simonis 664de510ad [IMP] edi: remove debug in edi url
bzr revid: chs@openerp.com-20120113111736-w542872mwozrhbpp
2012-01-13 12:17:36 +01:00
Olivier Dony 519165183e [FIX] edi: replace name_create by create
Now that res.partner does not allow name_create anymore
for usability reasons, we cannot depend on it, so we re-
implement it with create().

bzr revid: odo@openerp.com-20111220144131-1fbmx5vqckpofrkg
2011-12-20 15:41:31 +01:00
Olivier Dony 8f61212ad6 [MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe)
bzr revid: odo@openerp.com-20111124155058-le9vg75rik4pl0xa
2011-11-24 16:50:58 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Olivier Dony dc844d92b6 [IMP] edi: cleanup comments, copyright years, etc.
bzr revid: odo@openerp.com-20111108120754-vzhmszqy02a4ovkt
2011-11-08 13:07:54 +01:00
Olivier Dony 9f121848f2 [FIX] edi: do not force send EDI notification, wait for mail scheduler
bzr revid: odo@openerp.com-20111105140059-1g2d6rfzf1um6m66
2011-11-05 15:00:59 +01:00
Olivier Dony f8af3c0c09 [FIX] edi: watch out for context=None
bzr revid: odo@openerp.com-20111105015751-s8wtp4yik222kaux
2011-11-05 02:57:51 +01:00
Olivier Dony 2b94ba1718 [FIX] edi: fix importing already existing partner
bzr revid: odo@openerp.com-20111105004332-yhgslidcd5ls957j
2011-11-05 01:43:32 +01:00
Olivier Dony 00dc28d4b0 [IMP] edi: updated metadata, improved error handling
bzr revid: odo@openerp.com-20111105004217-7s1ks15so5167lfp
2011-11-05 01:42:17 +01:00
Olivier Dony 61eb5220a9 [IMP] edi,email_template: allow directly sending EDI emails notification without queuing
bzr revid: odo@openerp.com-20111103020803-woh1ydv1z0okfp3i
2011-11-03 03:08:03 +01:00
Olivier Dony 0f047fc025 [IMP] edi: fix bank info import/export
bzr revid: odo@openerp.com-20111102234116-rixugbnnq92ix7o6
2011-11-03 00:41:16 +01:00
Olivier Dony 74a1c3fe03 [IMP] edi: fix bank info import/export + test it
bzr revid: odo@openerp.com-20111028151654-s54mn52fcaf796l9
2011-10-28 17:16:54 +02:00
Olivier Dony 59c6a000cb [IMP] edi: improve EDI preview sidebar + add payment options for invoices
bzr revid: odo@openerp.com-20111028134724-1nkpg8srghbznpov
2011-10-28 15:47:24 +02:00
Olivier Dony 326a7b562c [IMP] edi: review/improve EDI templates, cleanup, minor fixes (wip)
bzr revid: odo@openerp.com-20111026000110-12zecr32uyola9lc
2011-10-26 02:01:10 +02:00
Olivier Dony f469df9580 [IMP] edi: res.currency EDIfied, needed for so/po/invoice
bzr revid: odo@openerp.com-20111024143911-iaje0lg0vxgim2i0
2011-10-24 16:39:11 +02:00
Olivier Dony 1e80c28ef1 [IMP] edi: provide central metod to generate the `canonical` document printout for EDI export
bzr revid: odo@openerp.com-20111010143713-jnr9tkkoz60m5pnj
2011-10-10 16:37:13 +02:00
Olivier Dony 2fe81d3567 [IMP] edi: better user feedback for import errors
bzr revid: odo@openerp.com-20111006163342-4ah7fh7dwamegt6z
2011-10-06 18:33:42 +02:00
Olivier Dony e47fbc56ea [IMP] edi: support for __import_module and __import_model metadata
This is useful for transtyping documents, for example a sale.order
must be converted to a purchase.order when it is imported via EDI.

bzr revid: odo@openerp.com-20111006113319-ll5rfavzwzftkydb
2011-10-06 13:33:19 +02:00
Olivier Dony 77180a5bcc [IMP] edi: bugfixes/cleanup after more review
bzr revid: odo@openerp.com-20111005003338-6ol0kd8espdfaq32
2011-10-05 02:33:38 +02:00
Olivier Dony b57ad41b0b [IMP] edi: finish moving edi into new addon
bzr revid: odo@openerp.com-20111004205716-u3pdb9th4ma3zkvx
2011-10-04 22:57:16 +02:00
Olivier Dony d59572ccc2 [ADD] edi: moved from server into separate module
bzr revid: odo@openerp.com-20111004164339-4fxlpxjadsm499kb
2011-10-04 18:43:39 +02:00