Commit Graph

93806 Commits

Author SHA1 Message Date
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 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
Denis Ledoux 1bc4ed7c95 [FIX] point_of_sale: receipt report, qty decimal precision
In the receipt report, the quantity decimal precision
was hardcoded to 0, while it should use the decimal
precision from the field definition.

opw-644507
2015-07-10 12:04:36 +02:00
Xavier Morel 610f6fdafe [IMP] doc: support for image centering
Also handle (and ignore) substitution definition nodes.
2015-07-10 11:57:06 +02:00
Dariusz Żbikowski 0f4399bb7b [FIX] res.country: address format in polan
Address format in Poland looks like:

Legionów 93
91-072 Lodz
Poland

see: http://en.wikipedia.org/wiki/Address_%28geography%29#Poland

Closes #2416
2015-07-10 11:37:34 +02:00
Dariusz Żbikowski cfb444a9d1 [CLA] Dariusz Żbikowski 2015-07-10 11:37:13 +02:00
Martin Trigaux 937f05a492 [FIX] website_forum: remove duplicated term
Courtesy of Vincent Briffaux
2015-07-10 11:07:17 +02:00
David Beal d780f9476d [FIX] res.currency: allow duplication
Currencies must be unique per company.
Therefore, without this revision, adding `(Copy)`
to the currency name on duplication, this
is simply not possible to duplicate a currency.

Closes #2443
2015-07-09 17:15:30 +02:00
Sandy Carter 1d0187223b [FIX] auth_oauth_signup: Factor out user signup values
There is no easy way to edit the values sent
to newly generated users from oauth_signup.

In some cases,
the mapping from an oauth provider can be different.
* ex: login is something other than email

In other cases,
there are additional fields in res_users added by a module
* ex: firstname and last name in `partner_firstname`

This factorization allows modules inheriting from `auth_oauth_signup`
to alter values sent to the copy of Template User.
This means smaller changes to the default behaviour
and the ability to properly inherit
(multiple times if needed)
this module without losing needed behaviour.

Closes #2355
2015-07-09 16:39:53 +02:00
Lorenzo Battistini f27acff15a [FIX] calendar: missing ondelete cascade
calendar.attendee record should not exist without calendar.event
2015-07-09 16:06:28 +02:00
Jose J. Duran 23cb6ef7df [FIX] account_asset: missing named arguments in signature
Otherwise the context of original method is lost.
2015-07-09 16:01:35 +02:00
Denis Ledoux 4adb4b8d15 [FIX] sale, website_sale: Send email on sale order confirmation
Not just when coming back from the payment provider to the
payment validation route `/shop/payment/validate`.

Otherwise, if you do not come back from the payment provider
page, that you quit just after having paid but just before
being redirected to Odoo, you do not receive the email.

The change within the `sale` module, while this issue concerns
`website_sale` only, has been accepted because this is a mechanism
that could be used by other modules.

opw-644348
2015-07-09 15:51:50 +02:00
Goffin Simon 85a06f8a6e [FIX] sale: confirmed sale order line
The filter "Confirmed" is applied on sale order line.
Introduced by b927f8a864
2015-07-09 15:23:44 +02:00
Goffin Simon dacf29427f [FIX] purchase: Invoicing on incoming shipments
The filter "Incoming Shipments to Invoice" must not include shipments that are
already invoiced.

opw:644407
2015-07-09 14:10:13 +02:00
Goffin Simon 2835381c7e [FIX] acount: aged partner balance
In the aged balance report, the reconcile entries are excluded
except if the reconciliation date is greater than the date for which the aged balance report is requested.
But this exception should never include opening entries.

opw:643172
2015-07-09 12:54:16 +02:00
Denis Ledoux 7c2521a79b [FIX] payment_ogone: amount rounding issue
The amount to pay must be sent without comma to ogone.
e.g., for 66.99 EUR, the amount sent must be 6699.

To do that, we simply applied 66.99 * 100, which
seems rather good.

However, due to the fact how floats are handled in computers,
`66.99 * 100` returns 6698.999999999999
and
`int(6698.999999999999)` returns 6698
while we expected 6699

Using `float_repr` with `0` as decimal precision
instead of using `int` solves this issue.
`float_repr(6698.999999999999, 0)` returns 6699, as expected.
2015-07-09 11:51:40 +02:00
Nicolas Martinelli f3e4d0a2e8 [FIX] openerp: export None instead of False in raw_data mode
If we export False or an empty string, the Excel export will consider the field
similarly to a boolean, and en empty value will be converted into "=False()" in
Excel. To prevent this, we return "None" in the following cases:

- String
- Date
- Datetime
- Selection
- Reference
- Many2one
- RelationalMulti

Introduced by 6243d18

opw-643966
2015-07-09 11:49:04 +02:00
Lionel Sausin 4be4678d8b [FIX] stock_account: use all inbound/outbound moves when valuating
The valuation wizard is based on stock moves and currently only takes into
account the moves which have different companies in source vs destination
locations.
This is a problem because all user-created locations have a default company set
to the user's company, even the "virtual" ones. For example in the demo dataset
visible on runbot, some supplier locations have a company set and some don't.
So we have to make sure to include every move coming from/going to
outside locations based on the locations's type too.

Closes #7530
2015-07-09 11:39:14 +02:00
Xavier Morel f94a667ed1 [IMP] doc: handling of toc outside master_doc
* remove local toc sidebar in non-index documents with a toctree
* change toctree rendering to only have links on leaf nodes (don't link
  to intermediate toctree'd documents)
2015-07-09 11:11:08 +02:00