Commit Graph
7202 Commits
Author SHA1 Message Date
Raphael Collet 530909405d [FIX] base: allow write() on ir.model as long as values are not changed
This should enable the re-import of model exported to XML.
2016-11-07 10:25:50 +01:00
Odoo Translation Bot 9da2f44587 [I18N] Update translation terms from Transifex 2016-11-06 03:41:11 +01:00
Fabien Pinckaers 69b641d6bc [IMP] base: partner's default to company instead of individual for sales menu (make clearbit feature visible for on boarding) 2016-11-04 12:07:48 +05:30
David Arnold 5b90152951 [IMP] base: add Colombian states
Signed-off-by: David Arnold <dar@devco.co>
This commits closes #14067
2016-11-03 13:20:10 +01:00
David Arnold bed36bb160 [FIX] base: Add address format for Colombia
This commit closes #14066
2016-11-03 13:20:10 +01:00
Christophe Simonis 4d9f5bbf5b [MERGE] forward port branch 10.0 up to ab98523 2016-11-02 18:02:11 +01:00
Christophe Simonis ab98523315 [MERGE] forward port branch saas-12 up to 0ca99ff 2016-11-02 17:56:37 +01:00
Odoo Translation Bot 9d243ae9ea [I18N] Update translation terms from Transifex 2016-10-30 03:37:27 +01:00
Christophe Simonis 97debd09c0 [MERGE] forward port branch saas-12 up to 57774ef 2016-10-28 17:05:21 +02:00
Christophe Simonis ea479ce6f3 [MERGE] forward port branch 10.0 up to 3bb022d 2016-10-27 18:23:44 +02:00
Christophe Simonis 3bb022d57c [MERGE] forward port branch saas-12 up to 6f8e40c 2016-10-27 18:17:59 +02:00
qdp-odoo f430736b79 [FIX] base, base_vat: constrains decorator does support only directs fields 2016-10-27 16:28:18 +02:00
Raphael Collet cae04ba1d3 [IMP] fields: add warning for field attributes select and digits_compute 2016-10-24 12:27:33 +02:00
Raphael Collet bb786944de [REF] base: make view.model_data_id a non-stored computed field (#13918)
This fixes the problem of recomputing that field in a much better way.  The
field was stored for the sake of searching; instead we implemented a search
method for it.
2016-10-24 12:26:22 +02:00
Odoo Translation Bot e45d402396 [I18N] Update translation terms from Transifex 2016-10-23 03:38:54 +02:00
Jeremy Kersten 9f9ca39dc0 [FIX] base: fix typo in log function in action server
Migration in new api, remove user_id in the request.
This commit avoid to have traceback: 'ValueError: : tuple index out of range'

This commit closes #13860
2016-10-20 11:09:06 +02:00
Christophe Simonis 938ffb92da [MERGE] forward port branch 10.0 up to 6466aa4 2016-10-19 18:16:14 +02:00
Christophe Simonis 6466aa499f [MERGE] forward port branch saas-12 up to 00f4547 2016-10-19 18:09:53 +02:00
Simon Lejeune ecac88dcc0 [ADD] pylint: using variable before assignment 2016-10-19 15:18:58 +02:00
Jeremy Kersten 23c3bc1a59 [FIX] web: really remove traceback on unlink_if_refcount
Previous commit was just stupid: #4128ab641 - Mea Culpa
2016-10-18 18:11:42 +02:00
Jeremy Kersten 4128ab641c [FIX] base: fix unlink_if_refcount traceback
Before this commit, a traceback was raised with 'local variable
referenced before assigment'

This commit closes #13848
2016-10-18 14:18:11 +02:00
Odoo Translation Bot a40c3bf792 [I18N] Update translation terms from Transifex 2016-10-18 11:50:34 +02:00
Christophe Simonis 96d84f1b6f [MOV] test_new_api: move file in the right directory 2016-10-17 16:10:59 +02:00
Christophe Simonis 53d8f76a40 [MERGE] forward port branch saas-12 up to e8e4145 2016-10-17 16:00:39 +02:00
Odoo Translation Bot a9abce09c0 [I18N] Update translation terms from Transifex 2016-10-16 03:22:38 +02:00
Simon Lejeune e018fd8b2b [REF] config: 'ODOO_RC' environment variable
Look for an environment variable named 'ODOO_RC' to locate an rc file,
similar to the 'OPENERP_SERVER' one.
2016-10-14 18:02:30 +02:00
Sébastien BEAU f72c7c3adf [REF] models: rename __export_rows to _export_rows to make it inheritable
Closes #10270.
2016-10-14 15:00:37 +02:00
Holger Brunn 14ac3a975f [FIX] base: don't delete the xmlid of an undeletable record
When deinstalling a module, the server deletes its records when possible.
There is an issue when deleting a record is not possible: deleting its xmlid
will introduce duplicate records when the module is installed again.  Therefore
one should not delete its xmlid.
2016-10-14 14:32:24 +02:00
Martin Trigaux 3154b8fefc [IMP] base: clarify view error position
In case of syntax error, show where the error is.
e.message is enmpty for syntax errors

Before:
Can't validate view:

After:
Can't validate view:
SyntaxError('invalid syntax', ('', 1, 51, "{'invisible': [('external_sale', '=', 'internal')]]}"))
2016-10-12 17:31:18 +02:00
Christophe Simonis 8847519621 [MERGE] forward port branch 10.0 up to 0acd63d 2016-10-12 17:10:49 +02:00
Christophe Simonis 0acd63d073 [MERGE] forward port branch saas-12 up to 27dc061 2016-10-12 17:03:55 +02:00
Martin Trigaux a357a8135d [FIX] remove empty file
my bad
2016-10-12 16:39:46 +02:00
Martin Trigaux 24aba6014c [FIX] base: restrict state selection to the selected country
It was not an issue before as there where only the US states in the data.
Remove onchange as useless since domain restriction.

Fixes #13657
2016-10-12 13:50:23 +02:00
Odoo Translation Bot 93e2125b8e [I18N] Update translation terms from Transifex 2016-10-12 09:07:46 +02:00
Christophe Simonis 226b28e090 [MERGE] forward port branch saas-13 up to f3532a6 2016-10-11 19:09:32 +02:00
Christophe Simonis f3532a6da6 [MERGE] forward port branch saas-12 up to 54ebe31 2016-10-11 19:07:42 +02:00
Martin Trigaux 6c1e5e904f [ADD] base: Khmer language 2016-10-10 15:00:24 +02:00
Christophe Simonis c60e43a9a4 [MERGE] forward port branch saas-13 up to 341bea8 2016-10-10 13:25:31 +02:00
Christophe Simonis 341bea8f88 [MERGE] forward port branch saas-12 up to 43cb4ac 2016-10-10 13:00:05 +02:00
Martin Trigaux ef60b24ce6 [I18N] fetch new 10.0 terms from Transifex 2016-10-06 08:43:22 +02:00
Christophe Simonis 780869879b [REL] 10.0 \o/ 2016-10-05 21:00:09 +02:00
Christophe Simonis ae1fb33e0e [FIX] base: call correct method to get module icon 2016-10-03 13:13:11 +02:00
Simon Lejeune 0dc03fae2c [FIX] packaging: version info 2016-10-02 15:26:18 +02:00
Christophe Simonis 91a1448825 [MERGE] forward port branch saas-13 up to c813dbf 2016-09-30 17:22:33 +02:00
Denis Ledoux ae5c6ce344 [FIX] http: fix jsonp, session_id no longer exists
`session_id` is deprecated,
`session.sid` must be used instead.

This is similiar to the revision
4033ccc129
2016-09-30 14:08:19 +02:00
Simon Lejeune 76c443eda3 [REL] 10.0rc1 2016-09-30 12:26:30 +02:00
=?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= 389c2ba97b [REF] packaging: make odoo a namespaced package
by auto-extending addons path with odoo.addons.__path__.

This patch also introduce
  * an explicit declaration of odoo.addons as a namespace package
    This is necessary because the standard way of declaring namespace
    packages in setup.py does not work as long as odoo/__init__.py
    contains code.
  * a more reliable way to find odoo root path.
2016-09-30 12:05:49 +02:00
Christophe Simonis 467a958ab0 [FIX] core: handle gevent on command line correctly 2016-09-30 12:05:49 +02:00
Simon Lejeune 630b4b1d55 [REF] cli: renamed .rc configuration file
A fallback for .openerp_serverrc has been implemented. If both
are present, Odoo will crash and report.
2016-09-30 12:05:49 +02:00
Simon Lejeune c59eb4ffc1 [REF] packaging: renamed configuration files
no fallbacks were implemented to `openerp-server.conf`.
2016-09-30 12:05:49 +02:00