Commit Graph

89805 Commits

Author SHA1 Message Date
Jeremy Kersten fd0c52550a base_gengo: [FIX] change http status code for gengo_callback because status 100 make response very slow
[FIX] Cron for gengo was always in mode 'do missed' what we don't want, replace 0 by False
[FIX] Remove unused regexp to find view_id from js which was breaking the count words
2014-07-16 14:59:22 +02:00
Xavier Morel 7286f4e424 [FIX] ensure Field strings are decoded before comparing them to one another
fixes #773
2014-07-16 14:07:43 +02:00
xmo-odoo ec89c9cead Merge pull request #1169 from xmo-odoo/8.0-remove-async-db-create-xmo
Remove asynchronous XML-RPC database creation function
2014-07-16 10:29:21 +02:00
xmo-odoo 3385666632 Merge pull request #1166 from xmo-odoo/8.0-jobs-list-geo-xmo
8.0 jobs list geo xmo
2014-07-16 10:29:12 +02:00
xmo-odoo 16d67445da Merge pull request #1076 from xmo-odoo/8.0-shop-fix-xmo
Fix access rights issues in new API for the shop home page
2014-07-16 10:28:51 +02:00
Jérome Maes bff521b23f [FIX] bus, im_chat, website_livechat :fix date in js, bus cr.commit and access rules for portal 2014-07-16 09:43:33 +02:00
Denis Ledoux c363451f95 [FIX] sale: no warn onchange pricelist and no line
The popup warning that changing the pricelist will not update the existing order lines should not be diplayed it there is no order line set.

It was the case until 8.0. The change of behavior of on changes has broken this feature: Now, the on change return [(6, 0, [])] for an empy order line list, instead of just [].
2014-07-15 16:30:38 +02:00
Xavier Morel 3f8fd0dad6 [IMP] website_hr_recruitment: new API 2014-07-15 13:56:19 +02:00
Xavier Morel f98c610310 [FIX] creation of new threads where a new API environment should be initialized
* fix #1149 courtesy of @andreparames
* remove useless threaded yaml import
* openerp.service.server thread spawning get an API environment further down
  the stack
2014-07-15 13:33:38 +02:00
odony 027435a375 [FIX] README: update build badge for 8.0 2014-07-15 13:23:37 +02:00
Xavier Morel 29a6dad803 [REM] threaded yaml import (useless and unused) 2014-07-15 13:21:57 +02:00
xmo-odoo 511efddd02 Merge pull request #1160 from xmo-odoo/8.0-custom-models-xmo
Handling of custom models initialisation
2014-07-15 12:40:35 +02:00
Xavier Morel 92be431236 [REM] asynchronous database creation method
It's broken (though easy to fix) and not very useful, if third parties want to
create databases asynchronously they can handle the asynchronicity on the
client-side (an HTTP request is easy to make asynchronously after all) and
call the synchronous `create_database()`.

fixes #1137, after a fashion
2014-07-15 12:26:55 +02:00
Christophe Simonis a5419ca800 [MERGE] forward port of branch saas-5 up to e0759c1 2014-07-15 11:21:59 +02:00
Xavier Morel fcfa5a56ef [FIX] website_hr_recruitment: various warnings 2014-07-15 10:55:41 +02:00
Xavier Morel 03977a29e6 [FIX] expected browse_record can be an integer
If no filter is specified, the geoip library is installed and the user's
address can be geolocated, ``country`` is assigned an integer (the id of the
matching country) whereas the filtering code expects a browse.

fixes #1148
2014-07-15 10:50:49 +02:00
Christophe Simonis e0759c1350 [MERGE] forward port of branch saas-4 up to de696f1 2014-07-15 10:39:08 +02:00
Christophe Simonis de696f14f8 [MERGE] forward port of branch saas-3 up to 24484c8 2014-07-15 10:38:14 +02:00
Christophe Simonis 24484c8bcd [MERGE] forward port of branch 7.0 up to 7a928b1 2014-07-15 10:36:54 +02:00
Thibault Delavallée c33863ed75 [FIX] crm: fixed fields defind in crm_lead_report_view for group_by. Some of them were incorrect. 2014-07-15 10:24:34 +02:00
Xavier Morel b2ddda47e5 [FIX] missing part of initialization in ir.model and ir.model.fields 2014-07-15 08:56:58 +02:00
Martin Trigaux 3bdb00eaf7 [FIX] project: default_groups_ref expects the format module.xml_id (opw 610098) 2014-07-14 16:39:13 +02:00
Xavier Morel a1de79b875 [FIX] calendar: invalidate cache to avoid (pre)fetching invalid virtual IDs
Because the new API basically browses everything, the virtual IDs used by
calendar.event are added to the cache and prefetching tries to get them from
the database resulting in conversion errors. These ids have to be forcibly
evicted to avoid the error.
2014-07-14 15:41:40 +02:00
andreparames 5b932ec98b Merge 8083afe7c3 into 736c5dd87e 2014-07-14 11:55:01 +00:00
sle-odoo 736c5dd87e Merge pull request #1097 from odoo-dev/8.0-fix-view-editor-sle
[FIX] view_form: use the reference of menu from the instance, not from t...
2014-07-14 13:51:46 +02:00
Xavier Morel 7a2961da76 [FIX] ensure all g_inner content is correctly encoded
fixes #1130

* provided `inner` data may or may not have been encoded
* `element.text` is either ascii-compatible `str` or `unicode` when
  non-ascii-compatible, which could force the decoding of utf8-encoded content
  during g_inner's join
2014-07-14 13:44:37 +02:00
Xavier Morel 7c540bc4ee [FIX] exception rendering with pretty printed XML
had not been migrated to lxml
2014-07-14 13:44:37 +02:00
André Paramés 8083afe7c3 [FIX] setup Environment for the report thread 2014-07-14 12:41:07 +01:00
Nhomar - Vauxoo 8472ee9f45 [FIX] project: inappropriate signature in project.task.work.unlink() 2014-07-14 13:38:41 +02:00
xmo-odoo 4acee39f80 Merge pull request #1144 from flh/dashboard_translate
Add missing _t() calls to enable translation in dashboard.js
2014-07-14 12:27:02 +02:00
Florian Hatat eb486ae127 [FIX] board: add missing _t() calls to enable translation in dashboard.js
Fixes LP bug https://bugs.launchpad.net/openobject-addons/+bug/1205798
2014-07-14 12:23:44 +02:00
Christophe Matthieu 9b8e307eb1 Merge pull request #1143 from odoo-dev/8.0-fix-website_sale-chm
[FIX] website_sale: fiscal_position is undefined; website: add user into the tour logs
2014-07-14 12:10:03 +02:00
qdp-odoo 67133320b5 [FIX] account, usability: set the journal as readonly in bank statement form view when some entries have already been created. Fixed issue #1117 2014-07-14 11:44:12 +02:00
Stéphane Bidoul 5df99ce622 [FIX] account: add `sequence` on account.tax.code.template
Relying on the ordering by tax code is not sufficient,
as some tax declarations such as the Luxemburg one,
show tax case codes not ordered numerically

Original fix courtesy of Stefan Rijnhart (Therp)

Fixes: lp:1168948
Rebase of: PR #759
2014-07-14 11:33:05 +02:00
Florian Hatat 28e0ab25f8 Add missing _t() calls to enable translation in dashboard.js 2014-07-14 11:15:54 +02:00
qdp-odoo 9ef5a67987 Merge pull request #1107 from odoo-dev/8.0-bnk-statement-with-tax-fixes-qdp
[FIX] account, bank statement reconciliation: accounting entries created from taxes
2014-07-14 11:04:18 +02:00
Xavier Morel 3491b7de34 [REM] cache setting in _prefetch_field 2014-07-14 10:45:34 +02:00
qdp-odoo f61339b82c [FIX] account, bank statement reconciliation: fixed huge bugs when using tax with several children or when debit/credit are 0 but some amounts have to be put in a tax code + improved usability by adding domains where needed 2014-07-11 17:15:34 +02:00
Martin Trigaux 0a6d63b82c [FIX] product: unfuck templates and products in views
product.product reuses most of the product.template views however some parts need to be excluded or replaced.
Instead of adding template only parts in base view and removing it for product, split the views in 'common' (product_template_form_view), 'template only' (product_template_only_form_view) and 'product only' (product_normal_form_view) where the first is inherited by the other two. The attribute mode='primary' on both second views allows to make sure that future inheritance of product_template_form_view and product_template_only_form_view will work with the full rendered product_template_form_view view.
This allows us to have valid buttons in crm for bill of material (filters based on active_id).
Also cleaning the mess with circular dependencies.
2014-07-11 17:03:04 +02:00
Thibault Delavallée 59320c4ab6 [FIX] website_forum: fixed karma computation, on first vote the karma was wrongly calculated (when creating a vote, not when updating it). 2014-07-11 16:46:39 +02:00
Thibault Delavallée 7a928b151a [FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version. 2014-07-11 16:21:01 +02:00
Stéphane Bidoul 50b48e0d13 [FIX] l10n_lu: wrong mapping of accounts to P&L financial report
Account 655 and its child 6554 were both mapped.
Fixed by unmapping 655 and mapping all its direct children.

(Manual rebase of PR #733)
2014-07-11 15:50:10 +02:00
Stéphane Bidoul be82c99b23 [FIX] l10n_lu: taxes (amont/aval)
The accounts "TVA en amont" were not used by the l10n_lu chart of accounts.

Instead the accounts "TVA en aval" were used for all taxes both sale and purchase taxes.

(Manual rebase of PR #735)
2014-07-11 15:47:45 +02:00
Xavier Morel 7d732b1011 [FIX] broken translation cache for absent translation of 'false' 2014-07-11 15:46:12 +02:00
Christophe Matthieu 5f25cb9244 [FIX] website_sale: install website_event_sale click on event to make a registration, error because fiscal_position is undefined 2014-07-11 15:29:22 +02:00
Christophe Simonis 182acc9274 [FIX] base: make ir_attachment._filestore callable with kwargs 2014-07-11 14:58:32 +02:00
Christophe Matthieu 6139887f5a [FIX] Tour.js: add user name into the log 2014-07-11 14:37:37 +02:00
Xavier Morel 269a6ee128 [FIX] filtering out of records which shouldn't be fetched/prefetched
A todo would only filter out records selectioned by the same field's caching,
it should filter out on the whole prefetching selection or an other field
could/would just add it back to the set of records to fetch (and lead to Bad
Things).

Note: this probably deserves a test somehow, but I'm not quite sure how the
todos thing works so...
2014-07-11 14:07:05 +02:00
Christophe Matthieu bd11d32694 [FIX] website: banner is broken if more than one on a banner page 2014-07-11 14:06:33 +02:00
Martin Trigaux ec01e0789b [FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136
Fixing calendar view errors, opw 609989
2014-07-11 13:58:26 +02:00