Commit Graph
56760 Commits
Author SHA1 Message Date
Thibault Delavallée 16ea25646e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130515083000-3b033tyihxmubykh
2013-05-15 10:30:00 +02:00
Launchpad Translations on behalf of openerp b5b6dfbbf0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130515051525-6h06w6secz3p61fv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130516051214-e3v0iwa7lh573r9b
2013-05-16 05:12:14 +00:00
Thibault Delavallée a027590d6e [CLEAN] Some code cleaning about context management
bzr revid: tde@openerp.com-20130515082939-oediun6cb9wd87lh
2013-05-15 10:29:39 +02:00
Quentin (OpenERP) cf5eed1714 [MERGE] product, stock: improved usability
bzr revid: qdp-launchpad@openerp.com-20130514152724-n6u6ex0tjsg9e1yd
2013-05-14 17:27:24 +02:00
Launchpad Translations on behalf of openerp 389f491114 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130510060814-p5dqz6jx70vyj3h2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506054018-5fi2sd0fxqneyv2p
bzr revid: launchpad_translations_on_behalf_of_openerp-20130512052818-cdxzcubppixczhl3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130513051744-ykvvn8a82rsew0ki
bzr revid: launchpad_translations_on_behalf_of_openerp-20130514053036-l4i85pmwsn1qspgl
2013-05-14 05:30:36 +00:00
Xavier Morel 7743760a4f [FIX] case where Root's dispatcher finds a non-exposed method
Using elif, if a method was found but not exposed (because
internal/whatever) the controller's index method would be skipped
during URL dispatch leading to a 404.

Since matched method yields an early return, a simple if will work,
and will *not* skip case where ``method and not method.exposed``

bzr revid: xmo@openerp.com-20130507081611-t2bfba2ai79xj1ew
2013-05-07 10:16:11 +02:00
Antony Lesuisse 3baa897ec2 [REV] transactions on controllers
bzr revid: al@openerp.com-20130506112938-g9hck0xbwfb817r5
2013-05-06 13:29:38 +02:00
niv-openerp ff15c4ce7f [IMP] Added new api to handle transactions in controllers
bzr revid: nicolas.vanhoren@openerp.com-20130506102955-x28gmm3rx8i6j345
2013-05-06 12:29:55 +02:00
Christophe Matthieu 8088c205ed [FIX] kanban: add_widget: self undefined
bzr revid: chm@openerp.com-20130506093906-krfhlh021imkjcoc
2013-05-06 11:39:06 +02:00
niv-openerp 09e454d656 [FIX] small error
bzr revid: nicolas.vanhoren@openerp.com-20130506090816-djjmqa8knfd9asd2
2013-05-06 11:08:16 +02:00
niv-openerp c473f20af2 [FIX] bug with kanban view widgets and do_reload
bzr revid: nicolas.vanhoren@openerp.com-20130506090407-7urszfsjh10zichz
2013-05-06 11:04:07 +02:00
Foram Katharotiya (OpenERP) bf649e9def [IMP] move company_id in product module and hide storage location group if product of type 'service'
bzr revid: fka@tinyerp.com-20130503091603-oz109cyv0nafqxgt
2013-05-03 14:46:03 +05:30
Foram Katharotiya (OpenERP) 3dfb6abfae [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130422050357-d31fvhtd1h7swzwl
bzr revid: fka@tinyerp.com-20130423053720-15zmc1y1cptbnujz
bzr revid: fka@tinyerp.com-20130429050754-2bqa92xw9hzt38hb
bzr revid: fka@tinyerp.com-20130503083016-4o4b3e2vvwru5d6i
2013-05-03 14:00:16 +05:30
niv-openerp adb6437d3f [FIX] regenerate base.css, looks like someone modified directly base.css -> that's bad
bzr revid: nicolas.vanhoren@openerp.com-20130502165016-bltxxned4c58s1mh
2013-05-02 18:50:16 +02:00
Christophe Matthieu a31af55ef5 [MERGE] force module paths to be bytestrings
The http controllers handler crashes when there are non-ascii chars in the url path.

`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path `module` which is converted to ascii.
force `module` to be bytestrings

bzr revid: chm@openerp.com-20130502122806-1i9h8v0cvhb6p63q
2013-05-02 14:28:06 +02:00
Christophe Matthieu 47d8e1a470 [FIX] http.py
Impossible to load the website when there is a unicode char in the url path.

`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path which is converted to ascii.
force `openerp.modules.module.ad_paths` to only contain bytestrings

bzr revid: chm@openerp.com-20130502104249-ttokukc2rpetxqkr
2013-05-02 12:42:49 +02:00
Stephane Wirtel 26e33ea7dc [IMP] This commit contains the new wizard for the merge of partners.
Via this wizard, you will be able to merge a lot of partners via the email,
    name, vat or other columns.

It is available in the "Sales/Tools" menu.

bzr revid: stw@openerp.com-20130502103044-ljnj5n7pvs1vsbed
2013-05-02 12:30:44 +02:00
niv-openerp 5e0437226e [IMP] allow definition of web controllers that match all sub-urls
bzr revid: nicolas.vanhoren@openerp.com-20130502095055-xq9hna23otx65aq4
2013-05-02 11:50:55 +02:00
Launchpad Translations on behalf of openerp 511efd43a9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130430054239-pwosnc6em4h0linf
2013-04-30 05:42:39 +00:00
Launchpad Translations on behalf of openerp 45e303b528 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130430052924-th3a8rf85bi2xz1t
2013-04-30 05:29:24 +00:00
niv-openerp 5c1f41d68a [IMP] added widget options for kanban fields
bzr revid: nicolas.vanhoren@openerp.com-20130429143204-jmly4qxui5wtsyeq
2013-04-29 16:32:04 +02:00
niv-openerp fb4073bbf7 [IMP] added registry for kanban view's fields
bzr revid: nicolas.vanhoren@openerp.com-20130429110617-to54yjw29oqbx16j
2013-04-29 13:06:17 +02:00
niv-openerp aa9491608a stabilized api
bzr revid: nicolas.vanhoren@openerp.com-20130429110446-pqmbfg3fxjks6vb0
2013-04-29 13:04:46 +02:00
niv-openerp acfe41a905 Got working widget
bzr revid: nicolas.vanhoren@openerp.com-20130429105126-c4g504lbsp64m29t
2013-04-29 12:51:26 +02:00
Cedric Snauwaert 724cbb6dee [FIX]mail_followers: signature at the end of mail should be "sent by" and not "send by"
bzr revid: csn@openerp.com-20130429092532-3h31kduga1h0chbb
2013-04-29 11:25:32 +02:00
Launchpad Translations on behalf of openerp ae9b17ed1e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426054415-3peq258sdsxch6i5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429044254-mq5pfftub8njqfgn
2013-04-29 04:42:54 +00:00
Launchpad Translations on behalf of openerp 71b245598e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426053411-bv2sqofceiphm7vl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427054423-i8yn2pamtsptx8sr
2013-04-27 05:44:23 +00:00
Quentin (OpenERP) 37b424648a [MERGE] typo
bzr revid: qdp-launchpad@openerp.com-20130425140756-ijyanyyfltkidnf7
2013-04-25 16:07:56 +02:00
Christophe Matthieu 40f387e2d0 [FIX] user_creation: test yml, add context no_reset_password
bzr revid: chm@openerp.com-20130425133809-11n44mzahzk2kk52
2013-04-25 15:38:09 +02:00
Launchpad Translations on behalf of openerp d1d74460ea Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425052035-xdq90ai4jlru7s3r
2013-04-25 05:20:35 +00:00
Launchpad Translations on behalf of openerp 8e145d5ec5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421044257-raqgv60vzpztfbpp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424045253-1fct3yblx9cwddr9
2013-04-24 04:52:53 +00:00
niv-openerp 8590e68b2b [FIX] im: small graphical bug when we click on an already opened contact
bzr revid: nicolas.vanhoren@openerp.com-20130423092520-hoqpi01li03yjmrm
2013-04-23 11:25:20 +02:00
Quentin (OpenERP) 33f27b362b [MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +02:00
niv-openerp ef645d7376 [ADD] instant messaging and live chat features
bzr revid: nicolas.vanhoren@openerp.com-20130422113254-ixdfha7s8jbgy2y2
2013-04-22 13:32:54 +02:00
niv-openerp d5dc64c42d Removed modification to a file that has nothing to do with the feature
bzr revid: nicolas.vanhoren@openerp.com-20130422101524-eyd0138u51vot6it
2013-04-22 12:15:24 +02:00
niv-openerp d0863a0163 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130422095817-g7n3qe94u91bcefx
2013-04-22 11:58:17 +02:00
Launchpad Translations on behalf of openerp 6a2da1c2f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053215-jdbdrur8vk4zu5tc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130420064852-b6bt9syb79h1x16m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053233-g4dbsfidsqrs301v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130421053237-8jhzy2qe55bb766x
2013-04-21 05:32:37 +00:00
Olivier Dony 65ff677697 [MERGE/ADD] Many important fixes for contact/company management + new module account_report_company
This patch comes with a corresponding server-side patch (revision 4946 revid: odo@openerp.com-20130420032529-pvv6vuelp84bt26j)


- module-specific overrides of _commercial_fields() for all modules adding accounting/invoicing-related fields to res.partner

- corresponding changes to inherited views of res.partner form to hide these commercial fields when they are in fact "related fields" of their parent commercial entity. This mainly concerns 2 sections of the Partner form: the whole Accounting tab, and the bottom of the Sales&Purchase tabs with the pricelists and invoicing fields. These sections are replaced by a short message and a button to open the commercial entity to view/edit the fields

- a few fixes to properly delegate the resolution of various contact/address types to the corrected res.partner.address_get()

- changes to search views of the main business documents so that searching for a company name will also match its contacts

- a fix of the _find_accounting_partner() method that the account module uses to locate the partner to which journal entries must be linked - it will now use the same semantics as for "commercial entity"

- fix issue detected by Joël Grand-Guillaume in comment #34 of bug 1160365: when invoicing after delivery, the invoicing contact/address must be used rather than the main customer. Tests updated accordingly.

- add new 7.0 module "account_report_company": this module adds an extra stored field "commercial_partner_id" on Invoices to make reporting/aggregating by partner easier in the Invoice list and in the Invoice Analysis report. This module is expected to be merged in the main account module in the next major release. The module can be installed without any risk on any existing 7.0 databases.
This module also mitigates group_by issues on all models by adding a new stored function field `display_name` on res.partner that contains the name_get() result in the form "ACME, John Doe" and set it as the default _order for res.partner. This ensures that group_by entries for the same company will always be next to each other on all documents: "ACME" is directly followed by "ACME, John Doe", "ACME, John Anderson", etc. This field also replaces the `name` field in the list and kanban views of Partners, so that the display order matches the display labels.

- fixed unique constraints definition on some commercial fields on res.partner (l10n_ro)

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

bzr revid: odo@openerp.com-20130420034221-2wvf6rezwl7gog74
2013-04-20 05:42:21 +02:00
Olivier Dony feefb0ad36 [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts
The goal is to match both the Company and its contacts
when searching for the Company

bzr revid: odo@openerp.com-20130420022642-6qe8pp4ifexjms65
2013-04-20 04:26:42 +02:00
Olivier Dony b91cd6127a [REVERT] account_report_company: undo override of res.partner.commercial_partner_id field to store it, as the ORM does not support it and it's not strictly necessary
It works when installing the module but would break
everytime another module that inherits from res.partner
is installed/update from command-line (e.g. -i/-u crm),
as account_report_company is low in the dependency graph
so the field is dropped when the ORM notices that
the current field definition is not stored.
This can be solved in trunk by making the field stored
directly in 'base'.

bzr revid: odo@openerp.com-20130420015003-8y48xrb14cjif60w
2013-04-20 03:50:03 +02:00
Olivier Dony 64f29cfa10 [IMP] account_report_company: use display_name instead of name in kanban and list views, so labels visually match order
bzr revid: odo@openerp.com-20130419171853-dvfi5jvvlof9afoo
2013-04-19 19:18:53 +02:00
Olivier Dony 5e2ce8b709 [IMP] account_report_company: add extra stored function field display_name on res.partner and use it for sorting
This makes name_search() results, group_by, etc. all behave as expected

bzr revid: odo@openerp.com-20130419165239-15szgi0e686k6mh9
2013-04-19 18:52:39 +02:00
niv-openerp 1f2064cb93 [FIX] pad: revert part of previous fix because it could produce problems in some cases
bzr revid: nicolas.vanhoren@openerp.com-20130419144238-0hq1rgmcacw5sw1r
2013-04-19 16:42:38 +02:00
niv-openerp ea2544e432 [FIX] pad: problem about pad title not being updated correctly, was solved by solving another, more serious, bug that didn't updated correctly the database backup of the pad
lp bug: https://launchpad.net/bugs/1155039 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130419143529-jku5titoacaajft0
2013-04-19 16:35:29 +02:00
Olivier Dony 8503964216 [IMP] account_report_company: make res.partner.commercial_partner_id field stored, for further reporting needs
This is not strictly necessary, but can be useful for other
modules in order to ease SQL reporting, without even needing
to store a denormalized copy of the "commercial partner" key
on the documents themselves.

Also renamed the Python fiel to something generic since
it now inherits multiple models.

bzr revid: odo@openerp.com-20130419134335-rhsg24f2uuwl3kla
2013-04-19 15:43:35 +02:00
Launchpad Translations on behalf of openerp 230b23e6cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061733-j4th561m2dju73zo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061748-4sz8agg8laqbyu4p
2013-04-19 06:17:48 +00:00
Launchpad Translations on behalf of openerp 26f2b57190 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419052438-gk34w78d47iwehp0
2013-04-19 05:24:38 +00:00
Foram Katharotiya (OpenERP) 57bd7662ad [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130419050616-5vixfgxyd11c3nnw
2013-04-19 10:36:16 +05:30
Olivier Dony 26dd9bc343 [MERGE] Sync with 7.0
bzr revid: odo@openerp.com-20130418172123-2ofzftdo2a923nj1
2013-04-18 19:21:23 +02:00
Olivier Dony 451f8df250 [FIX] sale: orders/quotations action should not force display_address flag
Doing so affects autocompletion of search results, etc.
while the fields on the form view are already properly
displayed anyway.

bzr revid: odo@openerp.com-20130418172022-e3lu35xq191jxcyu
2013-04-18 19:20:22 +02:00