Commit Graph

6842 Commits

Author SHA1 Message Date
Christophe Simonis 1eaa69d342 [MERGE] forward port of branch saas-5 up to 9e8e365 2014-06-25 12:44:13 +02:00
Christophe Simonis 9e8e3653f2 [MERGE] forward port of branch saas-4 up to f68c835 2014-06-25 12:43:41 +02:00
Christophe Simonis f68c83545a [MERGE] forward port of branch saas-3 up to a66f3dd 2014-06-25 12:33:17 +02:00
Christophe Simonis a1b3e22a17 [MERGE] forward port of branch 7.0 up to 4bfcbb2 2014-06-25 11:35:11 +02:00
Alexandre Fayolle 4bfcbb2a48 [FIX] fields property: do not create empty properties
fixes #595
In the case where a property for the company exists but has no related record (e.g. in case of type m2o with no defined value), not setting a value to this field for a new record would create a new property (as browse_null is not an instance of browse_record)
2014-06-25 10:57:10 +02:00
Martin Trigaux a6c579c4fc Merge pull request #528 from bwrsandman/patch-1
[FIX] Spawn gevent using same python executable
2014-06-24 16:06:57 +02:00
Laurent Mignon (aka lmi) ea00789e35 [IMP] take into account the context parameter 'defer_parent_store_computation' also on write operations 2014-06-24 14:22:41 +02:00
Mohammed Shekha 0b593ada11 Server Translation: Fixed the issue search on translated field do not return true result, search on tranlsated field fails due to expression parsing which fetches ids from ir_translation as well as working table and UNION of this makes search fruitless, also search fails for in language other then english when you enter part of a string for the field to search. 2014-06-24 17:42:48 +05:30
Denis Ledoux 8e83dbff5d [MERGE] Forward-port of 7.0 bugfixes up to 7d3453d119 2014-06-24 12:27:09 +02:00
odony 8f72a3f160 Merge pull request #716 from sve-odoo/patch-5
[MERGE] ir.ui.view: display inherited views in form view
2014-06-23 13:21:02 +02:00
Guillermo Bisheimer f8706c31e0 Typo in server autoreload class 2014-06-23 13:19:38 +02:00
Martin Trigaux d0b3e3b8c6 [IMP] module: when uninstalling a module, do not redirect to a useless screen 2014-06-23 13:09:36 +02:00
kevin wang 59c27970b5 [FIX] orm: allow unicode in inherit views with attribute
When extending a view with position='attributes', prevent crash if view contains unicode char
Fixes #706
2014-06-23 12:48:27 +02:00
Jeremy Kersten 2b44ac2cd6 [MERGE] Gengo - Merge saas-4-gengo-jke - Fix gengo to make it working 2014-06-23 12:22:25 +02:00
Commandant Custo 05373b3532 [IMP] Change tab name to keep it simple
As odony advised.
2014-06-23 12:18:09 +02:00
Commandant Custo ae6730e53b [IMP] Display 'Direct inheritants' ir.ui.view form
This way, it's easier to create an inherited view 'on-the-fly' from the developer mode.
And it's even more handy if you want to inspect or modify an existing inherited view.
2014-06-23 11:12:08 +02:00
Christophe Simonis e862ff7033 [MERGE] forward port of branch saas-5 up to 4cb5381
Conflicts:
	openerp/addons/base/module/wizard/base_module_upgrade_view.xml
2014-06-22 15:36:10 +02:00
Christophe Simonis 4cb5381dee [MERGE] forward port of branch saas-4 up to 1f20f61 2014-06-22 15:33:22 +02:00
Christophe Simonis 1f20f61ab4 [MERGE] forward port of branch saas-3 up to 75884c3 2014-06-22 15:30:57 +02:00
Christophe Simonis 75884c3e1a [MERGE] forward port of branch 7.0 up to 7e85786 2014-06-22 13:44:30 +02:00
Christophe Simonis 631e309554 [FIX] server: log network errors via logging. ignore EPIPE 2014-06-22 13:21:34 +02:00
Christophe Simonis 0e595c4186 [FIX] werkzeug logging respect "--log-level" setting for warn, error and critical levels 2014-06-22 11:44:30 +02:00
Christophe Simonis 4cd699df15 [IMP] js testing
- output "error" if any qunit tests failed
- failed js tests are logged as errors
- when running phantomjs considere empty waiting condition or initialisation code as "true"
- lint phantomtest.js file
2014-06-22 11:31:07 +02:00
Ruchir Shukla 86c2426555 [IMP] module: warning when uninstalling modules
When a module is uninstalled, this will also uninstall modules depending of it. To avoid unexpected loss of data, this patch list the modules that will get impacted during the installation.
This also affects the configuration pages with on change warnings.
2014-06-20 17:36:26 +02:00
Jeremy Kersten 18bb52ee88 [FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order. 2014-06-20 17:33:09 +02:00
qdp-odoo af5ad37486 Merge pull request #666 from odoo-dev/master-statement-fixes-alot-qdp
evil pull request with fixes on the new bank statement reconciliation widget
2014-06-20 11:22:29 +02:00
qdp-odoo 5e7e7cef41 [IMP] account: learn the res.partner.bank of partners in reconciliation process on bank statement + adapted l10n_be 2014-06-20 09:58:42 +02:00
xmo-odoo 003e910e61 Merge pull request #662 from xmo-odoo/master-simplify-bit-xmo
Simplify bit of code
2014-06-20 09:28:41 +02:00
Xavier Morel 64ca79cc4c [IMP] remove usage of psycopg1.cursor, implement dictfetch* on openerp cursor 2014-06-20 07:54:44 +02:00
Xavier Morel 64762086b8 [IMP] unpack a listcomp in a dict passed to an update, pass gencomp directly to update 2014-06-20 07:52:42 +02:00
Christophe Simonis eef6330c55 [MERGE] forward port of branch saas-5 up to adf07a9 2014-06-19 16:23:32 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Christophe Simonis 5087612d1d [MERGE] forward port of branch saas-3 up to bf53aed 2014-06-19 15:44:07 +02:00
Richard Mathot 6a4047f47b [REV] ir_actions: Partial revert of 7d4df0b6b2 2014-06-19 11:49:49 +02:00
Richard Mathot 7d4df0b6b2 Merge pull request #581 from odoo-dev/master-ir-actions-context-rim
[IMP] base: use current context when evaluating ir_actions' context
2014-06-19 10:17:38 +02:00
Fabien Meghazi fef8077df3 git commit -a -mm 2014-06-18 16:56:46 +02:00
Xavier Morel 56009e8804 [FIX] website: missing timezone conversion back to UTC
In t-field, datetime fields (formatted and not formatted versions) are
converted to the context/user's timezone (through
fields.datetime.context_timestamp) when displayed, but were saved without
converting back so the next display would go forward (or back) of the user's
tzoffset.

Fix that by applying context_timestamp's conversion backwards, from the
context/user's timezone back to UTC, before saving the field's value.
2014-06-18 16:09:02 +02:00
Fabien Meghazi 4c785069bc Bring back exception conversion to Forbidden 2014-06-18 15:40:09 +02:00
Fabien Meghazi 624f256f61 Changed as per the recommandation of Sir Odo 2014-06-18 14:31:16 +02:00
Fabien Meghazi 9b0d8c0503 [FIX] Session Expired message in backend 2014-06-18 10:24:37 +02:00
xmo-odoo 3160eb74c4 Merge pull request #584 from xmo-odoo/master-qweb-groups-xmo
`@groups` attribute in qweb views
2014-06-18 09:37:02 +02:00
Amit Vora b0a5e9286d [IMP]rename project_mrp to sale_service 2014-06-17 17:12:49 +02:00
xmo-odoo c949509b5e Merge pull request #463 from xmo-odoo/qweb-foreach
Qweb foreach
2014-06-17 15:56:09 +02:00
Jeremy Kersten 481c64e077 [IMP] Ir Action Server - Fix the domain for the field 'Link Using field'. 2014-06-17 15:20:52 +02:00
Xavier Morel dda18249c0 [FIX] @groups attribute should not disappear when editing
The @groups attribute in qweb views was not rendered (even when matched by the
user), so editing a template with an @groups would either remove the whole
section (if the user didn't have the groups, fixed in previous commit) or only
removed the attribute itself making it visible to everybody (which ought be
fixed-ish by this commit).
2014-06-17 12:22:15 +02:00
Xavier Morel 79e10200d5 [IMP] prevent edition of page if groups which current user doesn't have
If the current view uses @groups attributes (possibly in called templates),
the corresponding elements are rendered to a void (empty string in qweb). If
said user can edit the page, does so and saves a view section in which there's
a @groups to which he has no access, the element[@groups] is completely
removed from the template once saved, losing it.

If QWeb encounters an @groups to which the current user has no right during
rendering, have it request a no-RTE page, so the user can not RTE-edit the
page (or drop snippets in it).
2014-06-17 12:01:52 +02:00
Xavier Morel 63a6ba92e2 [IMP] no need to compute *all* has_group calls if the first one fails 2014-06-17 12:00:50 +02:00
Richard Mathot 7ad2eb354d [IMP] base: use current context when evaluation ir_actions' context 2014-06-17 11:59:14 +02:00
Fabien Meghazi daf8bdf688 [ADD] support for multiple value query args in keep_query() 2014-06-17 11:35:29 +02:00
Xavier Morel e555855f07 [ADD] ability to trigger retrying rendering with an updated rendering context 2014-06-17 11:29:11 +02:00