Commit Graph

93823 Commits

Author SHA1 Message Date
Fabrice Henrion 81b9bc1b11 typo 2015-07-16 18:30:48 -07:00
Jay Patel 521c21bf7f [IMP] MRP: Press green arrow to consume product qty more than before consumed create new line
Avoid creating negative stock move and do basically the same
as would have been done when using the Produce wizard
2015-07-16 18:06:46 +02:00
Alexis de Lattre 4b548d98d1 [FIX] point_of_sale: payment method selection
When giving back change, prioritize the same cache method as the one that was
use for the transaction.
This prevents cases where cash input is registered in journal B and change in
journal A.
Fixes #6975, closes #6976
2015-07-16 15:47:56 +02:00
Raf Ven 39d17c2580 [FIX] base: avoid deleting translations
When updating a translation, the previous one is deleted and a new one is
recreated (with no module and state). When the source module is updated, the
previous term is inserted again to the lsit of terms.
Instead of dropping and recreating terms during update, simply update the
existing term and create one only if there were no previous translation.
Fixes #4617
2015-07-16 15:14:30 +02:00
Antony Lesuisse 8f07f01783 [FIX] base: res.company _company_default_get
Fix rule processing the criteria user.company_id was not honored.

Closes: #4614, #7504
2015-07-16 14:38:13 +02:00
Goffin Simon e61970241f [FIX] sale_stock: SO status
When creating a SO with a line without specifying a product, the
workflow didn't allow to pass the SO in Done when the invoice is
paid.

opw:644853
2015-07-16 12:03:24 +02:00
Christophe Simonis 9ac62d76bb [MERGE] forward port of branch saas-3 up to f304fb7 2015-07-16 11:18:52 +02:00
Christophe Simonis f304fb7f06 [MERGE] forward port of branch 7.0 up to e0c1f54 2015-07-16 11:15:40 +02:00
Damien Bouvy e7085a8bd7 [FIX] payment_ogone: ogone error responses is now handled correctly
There was a mixup in the ogone response parameters that prevented error message to be stored successfully; this commit fixes that.
2015-07-16 09:20:07 +02:00
Nicolas Lempereur e0c1f54fd7 [FIX] mail: reload only in log after composer
The commit 312b85e added a reloading of the chatter messages after
closing the mail composer. But e.g in Messaging > Inbox a simple reload
isn't enough. For now this commit restrict the reload to chatter logs
(e.g the chatter of a quotation).

related to PR #7596
2015-07-16 08:16:36 +02:00
Irenie White 4cd8b15fd5 [CLA] Credativ Ltd. github usernames 2015-07-15 17:04:57 +02:00
Irenie White 56143f05a0 [CLA] Credativ Ltd. 2015-07-15 16:50:02 +02:00
Alessio Gerace fc2d7f7945 [ADD] archetipo CLA 2015-07-15 15:53:40 +02:00
Simon Lejeune e9403a7ab7 [FIX] packaging: tarball nightly test
This reverts commit 5bbcc14d2f and allow
to use the pil from debian's "python-pil" by telling pip to not install
the dependencies
2015-07-15 15:34:14 +02:00
Olivier Dony 8ea4bf81f7 [FIX] fetchmail: workaround poplib line length bug
In order to fix Python bug https://bugs.python.org/issue16041
a maximum line length was introduced in poplib when reading
email contents from the POP3 server.
That limit is set to prevent DoS attacks via malicious POP3
servers.

The default limit (2048) seems to be too low for emails
commonly found on the internet, retrieved via POP3 from
popular mail services such as GMail, Hotmail, etc.
(The POP3 servers might send back the lines verbatim
without splitting them up)

This is discussed in follow-up Python bug
https://bugs.python.org/issue23906.

Workaround implemented by forcing a higher default limit
to accomodate POP3 responses with lines up to 64KB.
2015-07-15 14:18:09 +02:00
Simon Lejeune 5bbcc14d2f [FIX] packaging: tarball nightly test
PIL is no more en pypi. Use the external provider.
2015-07-15 12:03:23 +02:00
Aaron Bohy 36e9726c67 [FIX] packaging: tarball nightly test
Workarounded https://launchpad.net/debian/+source/openssl/1.0.1j-1 by updating
requests in requirements.txt and pip in our tests environment.
2015-07-15 11:44:07 +02:00
Simon Lejeune ee690395e0 [FIX] package.py: tarball test: don't hardcode pip path 2015-07-15 09:08:38 +02:00
Simon Lejeune 94e2d99283 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 19:15:25 +02:00
Simon Lejeune 936e321ae0 [FIX] packaging: remove policy-rc configuration
It was preventing postgresql to generate a working cluster.
2015-07-14 19:13:51 +02:00
Christophe Simonis 86d7f52971 [MERGE] forward port of branch 7.0 up to be6c758 2015-07-14 15:14:58 +02:00
Christophe Simonis 88e8107e01 [MERGE] forward port of branch saas-3 up to 505e308 2015-07-14 15:13:03 +02:00
Christophe Simonis be6c7582a0 [FIX] package.py: search for prompt correctly. 2015-07-14 15:08:14 +02:00
Christophe Simonis 505e308cd6 [MERGE] forward port of branch 7.0 up to e12cece 2015-07-14 15:00:33 +02:00
Denis Ledoux 462d212a92 [FIX] document: document directory security
Once the document module installed,
It was mandatory for a user to have the
Knowledge User group in order
to edit/unlink an attachment, even
if this attachment wasn't using
the document directory feature

opw-644712
Fixes #7599
2015-07-14 14:21:08 +02:00
Goffin Simon b5c1cb4298 [FIX] sale: Currency in Sales Analysis
The "Total Price" in Sales Analysis must take into account the currency.
Inspired from caf333eb59
2015-07-14 14:19:00 +02:00
Goffin Simon 0f5a72e0a4 [FIX] purchase: Currency in Purchase Analysis
"Total Price" and "average price" in purchase analysis must take into account the currency.
Inspired from caf333eb59

opw:644621
2015-07-14 14:18:59 +02:00
Olivier LAURENT e12cecea9d [FIX] tools: separator in po comments
Comments in .po(t) files for translations of type "code" (e.g. field labels)
specify the path to the file containing the translation. This path should be
OS-independent to get the same result whatever the plateform the instance is
running on.
Closes #7561
2015-07-14 11:40:16 +02:00
Denis Ledoux 809e1a6081 [FIX] sale, website_sale: quotation email.
4adb4b8d15
corrected the fact the quotation email
wasn't sent if you did not come back
from the payment provider
(when you closed your browser after
the payment but before coming back
to Odoo).

Before the above revision, the quotation
email was sent for payment methods
not redirecting to payment providers,
like transfers. It was no longer the case
with the above revision.

This revision re-introduces this behavior:
If there is a feedback from a transaction,
but the transaction isn't confirmed,
we send the quotation email without confirming
the sale order, like it was the case before

opw-644670
2015-07-14 11:11:55 +02:00
Jonathan Nemry (ACSONE) 1bc2608490 [FIX] base: add missing context
Propagates context when calling method 'attributes' of ir_qweb
Closes #7582
2015-07-14 11:08:20 +02:00
Nicolas Lempereur 312b85ee2a [FIX] mail: reload messages after closing composer
Always reload the message after the mail composer message is closed.

Since there is several unrelated model it would probably messy to go
from the mail thread to the mail composer popup to see if a new message
is posted (or get it and add it in the chatter like done in the simple
message editor).

With this change, anytime the mail composer modal is closed the mail
thread messages are reloaded.

closes #7596
opw-644406
2015-07-14 10:43:33 +02:00
Fekete Mihai 433351f566 [FIX] l10n_ro: update Romainian chart of accounts
To integrate latest chart of accounts changes from 01.01.2015
Closes #6720
2015-07-13 16:11:47 +02:00
Fekete Mihai bfb919cdb2 [CLA] sign for feketemihai 2015-07-13 16:04:14 +02:00
Marcio Mazza ecc39a95c1 [FIX] auth_ldap: Bind DB encoding
In case of unicode
Closes #6926
2015-07-13 15:50:47 +02:00
Florent Thomas 4d8986207f [FIX] packaging: include ogg files
Depending on browsers, not necessary uses mp3 files
2015-07-13 15:07:48 +02:00
Martin Trigaux dbb0b42695 [i18N] analytic_contract_hr_expense: remove untranslatable terms 2015-07-13 13:37:38 +02:00
Maxime Chambreuil - http://www.savoirfairelinux.com 3cc7a0915c [FIX] hr_expense: Allow using contract in expense with form view
In the tree view, the domain for the field `analytic_account`
was already
`[('type','in',['normal','contract'])]`
It's therefore normal to apply the same domain for
this field in the form view.

Closes #2733
2015-07-13 12:38:54 +02:00
Nicolas Lempereur a904645696 [FIX] web_kanban: race when loading view_form
When the view form is loaded passing by the kanban list, the kanban
dataset data could be loaded after the view form is displayed.

When going manually to the view form, the human is usually enough slow
so the dataset ids are already loaded, but when loading directly the
view form (for example an "Edit" link from a record on the website or a
refresh) it can not be. For example on runbot the issue happened more or
less 50% of the time, and on localhost 90% of the time.

closes #7525
opw-642636
2015-07-13 11:45:10 +02:00
Nicolas Lempereur 0511b9af83 [FIX] web: m2m tags overflow when too much tags
If too many tags (or too long tags) where present in a many2many tags
widgets, it could go over the field and cover other thing in the UI.

Now the field size expands with the content (and in a way it is more
visually similar before and after 'Edit' so it is nice).

closes #7579
opw-644236
2015-07-13 10:37:31 +02:00
Yenthe 52eddad90e [FIX] setup: wkhtmltopdf win32 download location has moved
Wkhtmltopdf has moved from Sourceforge to download.gna.org.
See https://groups.google.com/forum/#!msg/wkhtmltopdf-general/wZwTUol3mXI/GNVeyrKDdqIJ

Fixes #7574
Closes #7578
2015-07-13 10:30:51 +02:00
Daniel Reis e20cf77ce0 [FIX] cli: Backport client command discovery optimization
Lazy load modules to avoid import of unmet dependencies such as ldap.
2015-07-12 16:40:55 +02:00
Odoo Translation Bot 99a7d530e0 [I18N] Update translation terms from Transifex 2015-07-12 01:51:44 +02:00
Denis Ledoux 89e1aae508 [FIX] base_action_rule: using relativedelta instead of timedelta
For the simple reason that `months` isn't an accepted argument
of `timedelta`
2015-07-10 17:18:37 +02:00
Olivier Dony 1576bc9891 [FIX] analytic: name_search match multi-level account names even with domain
When name_search is called with an extra domain
filter (args) and a pattern (name) containing
multi-level accounts, such as `A / B / C`, only
the last account (`C`) has to match the domain.
The intermediary parent accounts do not have to
match.
The domain was previously applied for each parent
in the lookup. This prevented searching for
multi-level accounts or copy-pasting full account
names whenever a domain was present and did not
match every account in the hierarchy.
2015-07-10 17:06:11 +02:00
Christophe Simonis 9654b54d3c [MERGE] forward port of branch saas-3 up to b15461b 2015-07-10 16:46:40 +02:00
Christophe Simonis b15461baba [MERGE] forward port of branch 7.0 up to 1d01872 2015-07-10 16:30:48 +02:00
Christophe Simonis 6e73a31146 [FIX] base: ir.qweb: fault tolerant save of assets.
Do not fail if an asset cannot be cached into the database.
2015-07-10 16:10:59 +02:00
Denis Ledoux 90e4aed135 [FIX] event: email templates should not be reset on update
In case you customize these emails, you do not want
to have them reset when you update the module (-u)

Same thing for the two default value in this file
for event.type

opw-644082
2015-07-10 12:21:47 +02:00
Martin Trigaux d2b564309e [I18N] sale_stock: remove untranslatable string 2015-07-10 12:10:46 +02:00
stijnh92 436fc5b67c [FIX] l10n_ro: res.partner form inheritance
The field property_account_position is added by the view
account.view_partner_property_form which is restricted to users with accounting
rights. If tired to access the view, the inheritance made on l10n_ro would fail.

Fixes #6952
2015-07-10 12:05:41 +02:00