Commit Graph
95630 Commits
Author SHA1 Message Date
Christophe Simonis 6a962b9594 [FIX] core: change behavior of x2m inegative domains using name_search.
Domains like `[('x2m_field_ids', 'not ilike', 'foo')]` now have a more
logical semantic. The negation is applied on the relation and not the
`name_search`.
2015-07-23 15:17:40 +02:00
Goffin Simon 0d1fbabc28 [FIX] purchase: default uom for purchase
The methods _get_po_line_values_from_procs didn't take into account the uom_po_id
to compute the price_unit of a purchase order line.

opw:644356
2015-07-23 14:03:41 +02:00
Géry Debongnie 4a81e8aba1 [FIX] web: no selection widget in search with many2one fields
In previous releases, the search view ignored the selection widget when
the field is a many2one.  This behaviour is justifield by the fact that
the selection widget just doesn't work, and the default search input
actually does work.

The search view was refactored extensively in late 2014, and this
behaviour was lost.  As a result, every many2one with a "selection"
widget stopped working (for example, warehouse/products, a search for
"you" does not give anything on "location" or on "warehouse").  This
commits simply fix the issue by ignoring the selection widget in search
views (with many2one fields).
2015-07-22 16:39:21 +02:00
Christophe Simonis 63e92cbc96 [MERGE] forward port of branch 8.0 up to 9abf868 2015-07-22 14:09:00 +02:00
Martin Trigaux 9abf868948 [FIX] google_calendar: missing part of caac19c1
Modify all references of google_attendee['email']
2015-07-22 12:22:35 +01:00
Nicolas Lempereur c0e24fc9ce [FIX] event_sale, website_event_sale: treat edge case of 0 seats_max
When the max seats available is set to 0, there should not be a limit to
the seats available.

Previously this was not taken into account in the frontend event ticket
sale, so an event would appear to be sold out.

fixes #6999
opw-645542
2015-07-22 12:32:15 +02:00
Martin Trigaux caac19c102 [FIX] google_calendar: attendee's email is not required
You may get a google_attendee without email from Google, cf #3853
2015-07-22 10:37:50 +01:00
Martin Trigaux 4ac9bfb619 [I18N] website: missing terms
The content of website.layout_footer_copyright is modified in several modules
but the terms were missing in .pot file.
2015-07-22 09:40:32 +01:00
Martin Trigaux 0fb1b6a856 [FIX] point_of_sale: method expects id
The method add_payment expects to recieve the id of a journal, not a browse
record. Introduced at 4b548d9
Courtesy of bluesoft83
2015-07-22 08:54:21 +02:00
Goffin Simon aa3ce8b594 [FIX] crm: Company name in crm lead
The onchange on partner field must not fill the company name if
the partner is not a company or not in a company. If the partner
is not a company, the contact name field must be filled with the
partner name.

opw:644878
2015-07-20 16:30:41 +02:00
Goffin Simon e0ceab9efd [FIX] calendar: group_by with calendar
Delete the code introduced by 656f8241d5
Group by didn't work in calendar tree view, group of records showed (0)
as number of related records for each group.

closes #7602
opw:644735
2015-07-20 15:41:47 +02:00
Odoo Translation Bot 0871f423a3 [I18N] Update translation terms from Transifex 2015-07-19 02:01:00 +02:00
Jeremy Kersten fea605a98c [FIX] website: fix editor 2015-07-17 17:24:38 +02:00
Jos De Graeve 38281c2c9c [CLA] Update CLA from apertoso
add new team member Jean-Paul
fix email adres Maarten
2015-07-17 16:45:00 +02:00
Valentin Chemiere 3033790ef1 [FIX] sale: use updated context instead of new one
Keep the existing information in the context for the price_get call instead of
creating a new one.
Closes #7646
2015-07-17 16:40:35 +02:00
E.R. Spada II 707db0399e [FIX] product_extended: BOM Correct total cost
When calculating the cost, quantity did not take the product efficiency into
account when calculating the cost. The quantities on the MO order were correct,
but not the cost that needs to be increased to compensent efficiency.

Closes #5927
Closes #7648
2015-07-17 15:13:11 +02:00
Yannick Tivisse ec134c6690 [FIX] web_kanban : glitch when the card title is too long 2015-07-17 14:59:16 +02:00
Nicolas Lempereur 00c2a9980e [FIX] google_spreadsheet: use new spreadsheet id
When doing a copy of a google drive spreadsheet (in google_drive.py's
copy_doc method, using the following google API call
https://developers.google.com/drive/v2/reference/files/copy).  Google
server return an error if we used the old spreadsheet KeyId.

The new FileId is available in the AlternateLink and this commit updates
it.

closes #7660
opw-644889
2015-07-17 14:57:17 +02:00
Goffin Simon 569d051f0b [FIX] point of sale: tax fixed
In backend, the method "_unit_compute" doesn't round the fixed tax amount
before adding to "cur_price_unit" in the case "tax.include_base_amount".

opw:644421
2015-07-17 14:09:02 +02:00
Christophe Matthieu 9687a579f4 [FIX] website: media editor don't manage the font awsome alias 2015-07-17 12:13:07 +02:00
xmo-odoo d4cc447427 Merge pull request #7651 from fhe-odoo/patch-12
Fix typo in install doc
2015-07-17 11:36:34 +02:00
Damien Bouvy bbc426ac3b [IMP] payment: payment method view in res_partner form view is now cleaner (usability) 2015-07-17 10:01:57 +02:00
Goffin Simon 1cedcf6abb [FIX] sale: Sale Order Line Onchange
Changing the product quantity must not change Product UOM.

opw:644542
2015-07-17 09:48:42 +02:00
Fabrice Henrion 81b9bc1b11 typo 2015-07-16 18:30:48 -07:00
Christophe Matthieu f52c6bfaeb [FIX] website: editor: when create a link, the saved range is obsolete, and when the user click on an other option the range selection fail 2015-07-16 20:59:40 +02:00
Christophe Matthieu fe70074506 [FIX] ir_qweb: template error because search method return an id list 2015-07-16 20:59:35 +02:00
Christophe Matthieu a74601d901 [FIX] website: wrong undo step if insert a table 2015-07-16 20:59:26 +02:00
Christophe Matthieu de5515ab45 [FIX] website: editor don't save content if change only the background color 2015-07-16 20:59:22 +02: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 1510a81366 [MERGE] forward port of branch 8.0 up to 9ac62d7 2015-07-16 11:21:22 +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 1240e2ae88 [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.
This commit only fix the s2s code in saas-6, the form payment code has been fixed in 8.0 and will be forward-ported (commit e7085a8bd7)
2015-07-16 11:11:26 +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
Goffin Simon e765b8556a [FIX] website: translate links
When translating on website, the click must be disabled on elements
which can be translated.

opw:644542
2015-07-16 08:56:42 +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
Martin Trigaux dab537c0be [FIX] project_issue: add missing pivot mode
1fb33a8 added pivot mode to the project.issue action (since it was split from
the graph view) but forgot to add it in the action called from project.project
kanban (act_project_project_2_project_issue_all).
2015-07-15 16:42:00 +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
Jeremy Kersten 4a1986b341 [FIX] website: allow change banner once custom img has been selected 2015-07-15 11:38:18 +02:00
Jeremy Kersten c1d290d699 [FIX] website: fix snippet references 2015-07-15 11:38:15 +02:00