Commit Graph

83235 Commits

Author SHA1 Message Date
Christophe Simonis 31f2a1bc38 [MERGE] forward port of branch 7.0 up to 1c0bc7c 2015-06-30 12:47:27 +02:00
Martin Trigaux 1c0bc7cc16 [FIX] server: backport of 3940a096 on psutil
psutil 3.0 removed get_momory_info method
create wrapper method for backward compatibility
2015-06-29 16:09:42 +02:00
Stéphane Bidoul 63aed83637 [FIX] l10n_be: missing mappings of accounts to financial report
Closes #1250
2015-06-29 10:11:02 +02:00
André Paramés 7e0ed740f3 [FIX] mail_thread: correctly handle single id argument in `unlink`
fixes #1721
closes #1723
2015-06-26 15:25:02 +02:00
andrius-preimantas 831fbd01f7 [FIX] stock: incoming shipments should be marked red when late
Incoming shipments are marked red according to creation date which does
not really make much sense.

closes #1061

note: it was already like this in 8.0 with 201f1c323
2015-06-26 13:48:40 +02:00
Nicolas Martinelli a197c91458 [FIX] account: remove lang from context before move creation
If an error message pops up during the move creation, we have to take the
user's language and not the partner's language.

Fixes #6902
Closes #6903
2015-06-26 08:41:10 +02:00
Denis Ledoux ba46732744 [FIX] delivery: allow carrier with 0.0 as normal price
Before this rev.,
if you define a carrier
 - without advanced price rules
 - with a normal price set to 0.0
 - Free if more than amount unchecked

When you try to invoice a delivery order
(coming from a sales order with as invoicing policy
"on delivery order)
No grid was found, while there was one, with as price 0.0

Closes #1364
2015-06-25 14:53:02 +02:00
Joao Alfredo Gama Batista c3ca61da9e [IMP] sale_stock: add reference to product
Avoids incompatibility with modules that make reference a serial field.
2015-06-24 19:43:01 +02:00
Stéphane Bidoul da9d1a8c45 [FIX] account_budget: support view and consolidation children in budget positions
In account_budget module,
when creating a budget position,
the user can select view accounts and also accounts with consolidation children,
in addition to normal accounts.

However, when viewing budgets with positions containing only view accounts,
the "practical amount" field was always zero.

Since these type of accounts are accepted as budget positions,
the system should take into account children and consolidation children
when computing the practical amount.

Fixes #372
Closes #1247
2015-06-24 18:21:11 +02:00
Laetitia Gangloff 1511e788cf [FIX] fields: error if there is no value when convert a many2many relation
Closes #1165
2015-06-24 16:52:05 +02:00
StefanRijnhart 727f9056a3 [FIX] web: wrong company logo in multi-company env
Don't preload company logo of the wrong company

When a user other than the admin signed in
and was in a company different than the admin
and this company had a different logo,
the company logo (in the upper left corner)
displayed the logo of the admin company,
instead of the logo of the company of this
user.

As soon as the user refreshed the page
in his browser, the issue was resolved,
but the logo should be the good one
from the beginning.

Closes #1453
2015-06-24 15:04:11 +02:00
czoellner d226771383 [FIX] purchase: ensures invoice lines are linked to PO line
Fixes the impossibility to invoice purchase order lines, which were never
invoiced but set to invoiced by validating a first invoice created by invoice
control "manual".
2015-06-24 14:24:48 +02:00
Christophe Simonis ea659cbd87 [MERGE] forward port of branch 7.0 up to 16a545b 2015-06-24 12:34:03 +02:00
Christophe Combelles 16a545b1ba [ADD] project: add name to the filter to create context with search_default_Member 2015-06-24 10:03:08 +02:00
Nicolas Lempereur 1942522969 [FIX] base: update File Content for binary field
To distinguish two ir.attachment 'File Content', we base it on the file
size (this I imagine is for efficiency).

This is done by setting bin_size in the context. Doing this, the
returned db_datas field will be the file size of the converted to base64
content (if no filestore).

But this size is returned in string format, so "get_nice_size" (in
openerp/osv/fields.py) which gets this size calculates the length of the
string. e.g: if the size is '2142' get_nice_size will return 4.

This fix solves this by converting the string to an integer, thus
unifying it with the filestore case (where we use os.path.getsize which
return an integer).

Also, the field presenting the issue (FieldBinaryFile) has been changed
so it is always updated even if the size is the same (as it was already
done by 3632949 for FieldBinaryImage widget).

closes #7223
opw-643071
2015-06-23 15:20:33 +02:00
Olivier Dony 9cdfb0696a [MERGE] Forward-port 7.0 up to 6acd5ef91c 2015-06-23 15:13:47 +02:00
Olivier Dony 6acd5ef91c [FIX] expression: internal domain operators require different parsing
Ensure the absence of internal domain operators is correctly
propagated throughout the domain parsing.
2015-06-23 15:04:45 +02:00
Nicolas Martinelli 816be76ee6 [FIX] consider user's timezone in default date proposal
Fixes #6316
2015-06-22 14:31:33 +02:00
gfcapalbo 8f86a40562 [FIX] event: add string for events and registrations fields 2015-06-19 12:36:19 +02:00
Christophe Simonis b7f9f4ade0 [MERGE] forward port of branch 7.0 up to e8e3f75 2015-06-18 19:29:47 +02:00
Olivier Dony e8e3f75727 [FIX] workers: process signals during graceful shutdown to allow force shutdown
Required after e17844c946 which
enabled graceful shutdown of workers, including the cron worker.
The latter may typically be busy on long-running tasks that
will not be aborted by a simple graceful shutdown request.

A typical shutdown sequence initiated by a daemon manager such
as start-stop-daemon will involve multiple SIGTERM signals to
ensure the process really stops in a timely manner.
This was not possible after e17844c946
if any cron worker was busy.
2015-06-18 19:18:03 +02:00
Matthieu Dietrich d0e39720e3 [FIX] base_calendar: Make exp_report() signature correspond to the one in web_services 2015-06-18 12:35:56 +02:00
Nicolas Martinelli 7d3a4ab1b1 [FIX] l10n_be: sequence number of VAT Intracom report doesn't depend on company
Solves a traceback if the company's user is not the company with id = 1.

opw-642359
2015-06-17 14:44:36 +02:00
Nicolas Martinelli fa57ce878e [FIX] account: wrong domain for UoM
This allows to reset correctly the domain of UoM if the product is not set.
Without this patch, the domain used is the domain of the previous product in
the list.

opw-642074
2015-06-17 11:53:58 +02:00
Christophe Simonis 885565968f [MERGE] forward port of branch 7.0 up to d566558 2015-06-15 16:24:11 +02:00
Denis Ledoux d566558a6c [FIX] membership: missing name field in search view.
Which leaded to the inability to search on the partner name

opw-642301
fixes #6703
2015-06-15 15:26:39 +02:00
Laurent Mignon (ACSONE) e17844c946 [FIX] server: graceful shutdown must send SIGINT instead of SIGTERM to workers
Workers do not specifically handle SIGTERM so it can be used to
force quit them, but the graceful shutdown is triggered by SIGINT.

Closes #6998
2015-06-12 16:11:59 +02:00
Christophe Simonis ed76b2a782 [MERGE] forward port of branch 7.0 up to e470385 2015-06-11 12:46:06 +02:00
Nicolas Martinelli e470385d55 [FIX] account_voucher: select the right credit/debit account for the payment
If different debit/credit accounts are configured for a journal, the
appropriate account must be selected.

opw-640745
2015-06-09 08:13:16 +02:00
Odoo Translation Bot d9e8c3ade4 [I18N] Update translation terms from Transifex 2015-06-08 17:22:46 +02:00
Jean-Baptiste Quenot 3d35a5d42b [FIX] mail: Strip In-Reply-To header
For emails sent via Office 365, reply-to header could contains additional spaces
or get multiline header.
e.g.:
In-Reply-To:
	<4ba8f246904b4fedb49fbab7945a7f82@AM3PR06MB433.eurprd06.prod.outl$$k.com>

The message lookup fails if header is not stripped
2015-06-03 19:12:12 +02:00
Nicolas Lempereur 69f87cd34c [FIX] account: get uom at account invoice creation
For commit c63230d0d if there is no uom, it should not fail.

closes #6920
2015-06-01 16:03:46 +02:00
Nicolas Lempereur c63230d0d0 [FIX] account: force uom from product category
When we change a product line of an account invoice, a current unit with
a invalid unit category was not dropped which should be since:

- it is different from a sale.order,,
- there is a domain on the unit of measure only allowing units from the product's unit category.

This fixes drop the current unit of mesure in this case.

opw-640985
2015-06-01 15:27:58 +02:00
Martin Trigaux 7def86fcc7 [I18N] spring cleaning of untranslated languages
Remove languages that were not translated fro, the list of installable languages.
Installing languages with no translations (en_CA) has no effect and having a too
long list is misleading. Sorry Klingon.

Adding languages that were translated but not installable (fr_CA, en_AU)
2015-05-29 23:40:40 +02:00
Martin Trigaux 409ca3e009 [I18N] Update translations from Transifex
Now I am become Death, the destroyer of worlds
2015-05-29 18:28:10 +02:00
Olivier Dony b17c7d66c7 [I18N] Final sync + cleanup of Launchpad Translations, moving to Transifex
See https://github.com/odoo/odoo/wiki/Translations
2015-05-29 11:22:32 +02:00
Nicolas Martinelli 4fec2447ec [FIX] account: default tax can be of type 'all'
opw-640984
2015-05-28 15:07:29 +02:00
Christophe Simonis 55d6c190da [MERGE] forward port of branch 7.0 up to e33bcde 2015-05-28 14:41:30 +02:00
Nicolas Martinelli e33bcdec19 [FIX] stock: return picking wizard handles one picking at a time
We force the user to select only one picking at a time. The reason is that we
can choose the number of products to return for every picking, so it does not
make sense to group the returns in one picking.

opw-640030
2015-05-28 10:19:38 +02:00
Goffin Simon 443605ce56 [FIX] account_asset: entries from assets
When an entry is generated from an asset, the number of this entry must be
 the sequence number linked to the journal of the asset and the reference of
 this entry is the name of the asset.

 opw:639760
2015-05-27 12:23:02 +02:00
Martin Trigaux 5c690d3700 [I18N] add Transifex config file
Set resource definition for all modules of 7.0.
The .tx/config file is used for the Transifex client to synchronise
the translations localy and use commands such as
tx pull -r "odoo-7.*"  -l fr --mode reviewed
2015-05-27 11:20:23 +02:00
Matthieu Dietrich 7d76d88b0c [FIX] product: Remove duplicate "categ_id" from template view
The categ_id field was set twice in the view
`product_template_form_view`

Closes #6802
2015-05-26 17:09:44 +02:00
Olivier Dony 3c3581e19f [I18N] Sync latest translations from Launchpad (not the final one) 2015-05-21 18:01:57 +02:00
Christophe Simonis e20dcda50d [MERGE] forward port of branch 7.0 up to 99c87b6 2015-05-21 16:33:45 +02:00
Olivier Dony 99c87b6273 [FIX] account: prevent crashes when mixing types in context parameters 2015-05-21 16:08:17 +02:00
Olivier Dony 53980b7c52 [FIX] account, mail, etc.: uniformize evaluated expressions
opw-626694
2015-05-21 16:07:21 +02:00
Christophe Simonis b62ee0734c [MERGE] forward port of branch 7.0 up to eaaca65 2015-05-21 14:11:39 +02:00
Nicolas Martinelli eaaca65594 [FIX] mail: does not write "False" if mail body is empty
opw-640309
2015-05-21 12:22:50 +02:00
Goffin Simon 2c0529858f [FIX] point_of_sale: float format
The POS must adapt the float format according to
the language of the user. Inspired from 1da5d89ba3

opw:639567
2015-05-21 10:24:50 +02:00
xmo-odoo 6de6662ecb Merge pull request #6789 from savoirfairelinux/7.0-fix_account_move_line_exception_translation
[FIX] incorrect translation marking
2015-05-21 10:14:40 +02:00