Commit Graph
99161 Commits
Author SHA1 Message Date
Nicolas Martinelli 59a2e876b7 [FIX] sale: raise error if no order found
When creating a SO line, make sure we found an appropriate SO.
2015-09-20 20:36:21 +02:00
Nicolas Martinelli 198164dd04 [IMP] sale: better docstrings 2015-09-20 20:36:21 +02:00
Fabien Pinckaers 0ec19af59c [IMP] Workding: less horz space for all buttons picking form 2015-09-20 18:10:32 +02:00
Fabien Pinckaers 98dcba2365 [IMP] CRM Opportunity: add group by expected closing
[IMP] Wording: word center operations --> routing
[IMP] Dialog messages when validating picking lists
[IMP] Workenter & routing form views improved layout
[IMP] edit picking lines (only if multi-locations as nobody understand
this)
[IMP] Editing picking line: product & done qties readonly (otherwise, it
may fail on SO Lines delivered quantities
[IMP] Product form, hide incoming / outgoing quantities: users don't
understand this.
2015-09-20 18:06:23 +02:00
Odoo Translation Bot b85dd39814 [I18N] Update translation terms from Transifex 2015-09-20 03:04:41 +02:00
Jeremy Kersten fc29dc80cb [FIX] base: ir_ui_view fix dev mode
Fix traceback when a view had %()d or %()s
Now we replace it by the related id.

fix #8193
2015-09-19 19:06:41 +02:00
Fabien Pinckaers ec949ad59e [FIX] delivered quantities successfully updated if > ordered ones 2015-09-19 09:54:13 +02:00
Wolfgang Taferner 4f41c3327c [FIX] website_sale: make checkout fields customizable
[FIX] Valuable checkout hooks for website_sale
[FIX] Values might need to be changed for different field mappings
[FIX] Make definition of form fields inheritable within a function
[FIX] Make shipping_info values available for inherited module manipulation

Close #8490
2015-09-18 21:17:51 +02:00
Olivier Dony dbddc8246a [FIX] payment_ogone: move debug logging to the level it belongs to (may include sensitive data) 2015-09-18 19:52:26 +02:00
Raphael Collet 2ae06e36f2 [IMP] base: remove useless ormcache decorator in ir.translation 2015-09-18 18:12:23 +02:00
Raphael Collet 000dac032a [IMP] base: avoid double translation of qweb views
Since the new translation process for views, their arch is translated upon
reading the views, before applying inheritance.  Remove the useless translation
that was done after this process.
2015-09-18 18:12:23 +02:00
Raphael Collet 3d6eef46c5 [FIX] translate: remove tags of elements that should not be translated inline
Specifically: audio, canvas, datalist, embed, iframe, map, object, select, svg,
template, textarea, video.
2015-09-18 18:12:23 +02:00
Raphael Collet 3a1483635e [IMP] fields: avoid search when recomputing a field on the same records
This avoids a few dumb queries.
2015-09-18 18:12:23 +02:00
Raphael Collet 7d558a9a86 [IMP] models: improve code to enable field prefetching in onchange mode
Enable the prefetching of several fields while evaluating an onchange.  Special
care is taken to not prefetch computed fields or fields already in cache.  The
latter is necessary to avoid "cleaning up" dirty fields by accident.
2015-09-18 18:12:23 +02:00
Martin Trigaux db1ec83984 [IMP] l10n_no: rename module
Use the format `<country> - Accounting` for localisation modules to be consistent between other modules
2015-09-18 17:53:11 +02:00
Josse Colpaert e8e47f81cd [IMP] stock: By default no source/destination locations on picking types
In order to avoid problems when not filling in a partner,
we put the default supplier/customer locations when no partner is given.
2015-09-18 17:52:30 +02:00
Martin Trigaux ecb17aea8b [FIX] l10n_ch: multilang translations
Apply same as 5c924fe4 for l10n_ch
The terms are not up to date and correctly synchronised as requiring changes
in l10n_multilang first.
2015-09-18 17:44:47 +02:00
Martin Trigaux 5c924fe4e3 [FIX] l10n_be: multilang translations settings
The translations inside the i18n/ folder are the translations published on
Transifex. It will contains the translatable "general" terms (menus, error
messages, actions...).

The account, taxes, journal names are made translatable thanks to the
l10n_multlang module but it should only be translated in the `spoken_languages`
values (nl_BE for l10n_be). These translations are present in i18n_extra folder
which is not published on Transifex.

Regenerate the translations correctly and populate the nl_BE.po file with
previous translations.
2015-09-18 17:27:47 +02:00
pvy-odoo 642fea43da [FIX] l10n_be_intrastat is back, compliant with the new accounting 2015-09-18 17:19:50 +02:00
Cedric Snauwaert 61c0e82bdc [FIX] account: add oldname on account_invoice uom field for the migration 2015-09-18 17:07:37 +02:00
qsm-odoo 0f95a92e15 [FIX] web_tip,web_kanban: tip color and position
The hightlight element when a tip is clicked was placed over a white
rectangle. This induced a problem if the element was itself white.

Also the dimension of the helper were badly computed.

+ remove specific tip style in kanban view
2015-09-18 16:45:21 +02:00
qdp-odoo 5955b2ef2a [FIX] payroll-related modules are back as installable = True (disabled because of former conflicts with the new accounting that are now solved in this commit) 2015-09-18 16:41:32 +02:00
Olivier Dony 0f06e5f54f [FIX] tests: outdated resource paths in manual test files 2015-09-18 15:52:11 +02:00
Raphael Collet 7ba9886abb [FIX] crm, event, project_issue: move "Archived" search filter below in the list 2015-09-18 15:35:51 +02:00
Raphael Collet 50de8350f3 [FIX] base: save the user's group view without lang in context
Updating the field `arch` on `ir.ui.view` breaks when there is a language in
the context, since this is forbidden by the new translation scheme.
2015-09-18 15:35:51 +02:00
Jérome Maes d80396b822 [FIX] website_portal_sale : date_confirm doesn't exists since salepocalypse, so display order_date instead 2015-09-18 15:31:02 +02:00
Jérome Maes f6ec21b450 [FIX] website_mail : css author avatar class, make the same in js and qweb template 2015-09-18 15:30:52 +02:00
odoo-tac 226f7eabf0 [FIX] hr_timesheet, project_issue_sheet : Removed method and view elements that called methods or fields that have been removed during salepocalypse or deprecated fields. 2015-09-18 15:07:05 +02:00
qdp-odoo 46fc8bf34c [FIX] sale: display the short label of taxes (if it exist) instead of full name on quotations and sales order printing 2015-09-18 14:34:26 +02:00
Torvald B. Bringsvor f0dd02fcbd Updated l10n_no with correct VAT rates and 4 digits accounts. 2015-09-18 13:36:56 +02:00
Torvald B. Bringsvor 01e415668a Added the menuitem for the reporting module. 2015-09-18 13:36:43 +02:00
Nicolas Lempereur a473e425b2 [FIX] website: tour rte_translator wait for page load
Next steps executed before the next page loading could cause a test
false positive.
2015-09-18 13:29:48 +02:00
Martin Trigaux 3439a2a57c [I18N] base: export base terms
oups, forgot to reexport this one
2015-09-18 11:53:57 +02:00
Jérome Maes ba0d2060f8 [FIX] mail : suggested partner check on chatter composer.
Embedded the template core in a 'root widget tag' to make the selector 'this.$('.o_mail_chatter_compose_message_suggested_partners input:checked')'  works.
2015-09-18 11:50:40 +02:00
Jérome Maes 83f15283bf [FIX] mail : fix needaction generation
When creating a document a message is posted (ex: 'document created') and the track field users are auto added as follower and notified with the last posted message (like the just create message). So the author was notify of the creation of its own document.

The problem did not appears using form view, beacause when the mail.message were reloaded, the thread was mark as read, so the partner (author/creator) was directly removed from the needaction_partner_ids field. The issue happen when loading the demo data, generating many needaction for the admin user (creator of most of the document).

This bugfix remove the current partner from the new follower to subscribe and to notify with the last posted message, as done when a message is posted (in _notify method of mail.message).
2015-09-18 11:50:29 +02:00
qdp-odoo 6863826d0d [IMP] account: auto install account_sepa module if the company's country is in Europe 2015-09-18 11:16:52 +02:00
Nicolas Martinelli 36caad2160 [FIX] sale: multiple fixes
1) Check unit price before linking SO line

We need to make sure that the unit price on the SO line is the same than
the unit price that will be applied for the new analytic line.

It is the case for an expense product which is invoiced at cost price to
the customer, for example a flight ticket. The user should be able to
link 2 flight tickets with different prices on the same SO, which is not
possible before this fix.

2) Convert account move line amount into currency of SO if necessary

3) Partial revert of 2d5776d248

We want to decrease the invoiced quantity if the refund is generated
from the SO, but not if the refund is generated from the invoice
directly. Indeed, if we decrease the quantity from a refund generated
from the invoice, this will make the SO line invoiceable again, which is
something we don't want.

Fortunately for us, a refund generated from an invoice is not linked to
the SO (see method _refund_cleanup_lines in account_invoice.py), so no
extra code is needed.

4) Iterate only once in the SO lines in order to find out the
invoice_status of the SO
2015-09-18 10:51:37 +02:00
Nicolas Martinelli b879963d7b [IMP] sale_expense, hr_expense: test more robust
The test does not have hardcoded values referring to demo data anymore.
Moreover, in the test, we now use values which are different from the
demo data (621.54 instead of 700). Overall, this will make the test more
robust.

hr_expense: change car travel sale price
Car Travel Expense is used as a product invoiced at sale price.
Therefore, it is more useful to have a cost price and a sale price which
are different.

The whole idea of this commit is to avoid having the same values
everywhere.
2015-09-18 10:51:37 +02:00
Martin Trigaux 95a376040f [FIX] tools: error in cafe326b
If defined, use module_name, otherwise not doing much...
Courtesy of @KangOl
2015-09-18 10:49:29 +02:00
Martin Trigaux 387ff476dc [I18N] all: reexport translatable source terms 2015-09-18 10:40:52 +02:00
Goffin Simon 5b554499e8 [IMP] website_version: cache enable
The visitors who have the same sequence of versions for their running experiments must
share the same cache.
2015-09-18 10:31:21 +02:00
Goffin Simon 75233860a2 [FIX] event: confirmation_event and confirmation_registration
-The lang of the partner linked to the "event_registration" record
must be used to send the registration/confirmation email.

-strftime cannot be used on a string.

opw:649510
2015-09-18 10:17:02 +02:00
Nicolas Lempereur 3c39b62bce [FIX] website: escaping and external iframe
jQuery has a special behaviour when using .contents() over an iframe
object. This caused an error for escaping when saving the page with an
iframe content of an external domain.

introduced by 8c77c711
opw-649570
2015-09-18 09:41:32 +02:00
Maarten De Wispelaere 543c9fde83 [FIX] requirements.txt : gevent & greenlet versions updated
gevent 1.0.1 (old) causes issue on Debian 8.0 Jessie : Disk running out of free space
Cause: /var/log/syslog and /var/log/daemon.log full of "NameError: name 'PROTOCOL_SSLv3' is not defined"

FYI: disk of 20GB runs out of space in less than 24h!

gevent 1.0.2 release notes : https://github.com/gevent/gevent/blob/1.0.2/changelog.rst#release-102-may-23-2015
2015-09-18 00:55:02 +02:00
Christophe Combelles c73f3d7d1b [FIX] requirements.txt: reportlab version updated
switch to reportlab 3.1.44 because of install problems with 3.1.8
(See https://bitbucket.org/rptlab/reportlab/issues/55/setuptools-80-cannot-install-reportlab-318 )
2015-09-18 00:54:57 +02:00
Olivier Dony 5ec9079e50 [FIX] website: use CDN only for public requests
The CDN domain will typically be different from the main
website domain, so session cookies cannot be shared.
This means that assets that require elevated privileges
(such as the website editor rights) will not be reachable
from the CDN's proxy server.
This could cause random problems with CSS/JS/images not
being accessible.
The benefits of the CDN are mostly meant for the masses
of new visitors (less workload and less bandwidth consumed
for the main domain) anyway.
Authenticated users are also returning users that have most
of the resources in the browser cache anyway (assets bundles
and images, typically).
2015-09-17 19:39:23 +02:00
Martin Trigaux e1163691e7 [IMP] l10n_sa: remove sequence on manifest
No reason to get Saudi Arabia CoA as the first module, use default sequence
2015-09-17 18:03:49 +02:00
Valencia Rodrigues Sah c2aff4772e [FIX] product: default value on required field
The qty fields has become computed in 6.1, and the value set by the user is on
min_qty. Set default value as it is required.

Closes #8561
2015-09-17 17:45:20 +02:00
qsm-odoo 9e8e1b3de7 [REF] *: product categories templates
* = (product,purchase,stock,account,stock_account)
2015-09-17 17:32:02 +02:00
Josse Colpaert 53b96203eb [IMP] procurement_jit: auto reserve for sale can happen at creation of procurements instead of confirm.
This makes it possible to redo reservation when more is asked for in a sale order
2015-09-17 17:30:13 +02:00