Commit Graph
105850 Commits
Author SHA1 Message Date
Martin Trigaux 859bcd45c6 [I18N] export sources terms to reflect planner update
in saas-13 as it's still where Transifex watches .pot files
2016-10-03 19:03:18 +02:00
Christophe Simonis 87b12bea89 [FIX] account: use renamed decimal.precision (see 4b60d5c1bd) 2016-10-03 18:48:48 +02:00
Frédéric Gilson ad8af74477 [FIX] website,account,website_sale: Enhance and clean website and ecommerce planners
Lots of typos, wrong links, outdated content.
2016-10-03 16:59:38 +02:00
Christophe Simonis ae1fb33e0e [FIX] base: call correct method to get module icon 2016-10-03 13:13:11 +02:00
Christophe Simonis 1bb51b5536 [MERGE] forward port branch saas-12 up to 9dc383e 2016-10-03 11:22:40 +02:00
Christophe Simonis 9dc383e84b [MERGE] forward port branch saas-11 up to 415f1af 2016-10-03 11:16:11 +02:00
Christophe Simonis 415f1af939 [MERGE] forward port branch 9.0 up to 2c5ef3b 2016-10-03 11:14:47 +02:00
Christophe Simonis 2c5ef3b7b0 [FIX] l10n_*: limit tags and taxes migration scripts to 9.0 series 2016-10-03 11:06:37 +02:00
Christophe Simonis d2d1233429 [MERGE] forward port branch saas-6 up to ba790d1 2016-10-03 10:47:55 +02:00
Christophe Simonis ba790d1e27 [MERGE] forward port branch 8.0 up to ca18a16 2016-10-03 10:36:56 +02:00
Josse Colpaert 59c410ac5c [FIX] mrp: _compute_qty does not exist anymore, so needed to replace 2016-10-02 21:14:37 +02:00
Josse Colpaert 831baf7dd2 [FIX] mrp: workorder duration should be updated when updating manufacturing order qty 2016-10-02 21:14:36 +02:00
Josse Colpaert 8ec7c00e1e [FIX] mrp_byproduct: take into account operation where byproduct gets produced
As the field is not shown in the view, it is just done
because the field is still there and easy to do.
2016-10-02 21:12:56 +02:00
Josse Colpaert 157db49d9c [FIX] mrp: in production orders, we don't want the possibility to select phantom BoMs
As the finished move or the one after might automatically split into its components,
it is not a good idea to select a Phantom BoM for a production order, so
this is for the moment, the best way to avoid it.
2016-10-02 21:08:31 +02:00
Josse Colpaert 98c97b03d6 [FIX] mrp: when posting inventory in mo, don't allow to pass stock.move.lots with quantity done > 0, but without lot
It is good to have this check, otherwise
it risks taking whatever lot or creating
a piece without lot if you would by accident
say you did so many quantities but no lot was given.
2016-10-02 21:06:02 +02:00
Odoo Translation Bot ca18a1699c [I18N] Update translation terms from Transifex 2016-10-02 02:57:59 +02:00
Odoo Translation Bot b33415f3bd [I18N] Update translation terms from Transifex 2016-10-02 00:35:04 +02:00
Jeremy Kersten d97f8f5708 [FIX] website_payment: don't add link manage payment if no provider
Before this fix, the link was always present, even if no acquirer payment was configurated to allow tokenization.
2016-09-30 19:20:43 +02:00
Jeremy Kersten 768df3a972 [IMP] website_sale: position for next button float right in extra step
Stay coherent with others buttons from eCommerce.
2016-09-30 19:20:42 +02:00
Jeremy Kersten b6406e8923 [IMP] website_sale: add payment terms page and update checkout.
Old terms feature display the default terms from company.
But if you have more than that 10 words, it was just unusable.
Now, we just add a link to a page.
2016-09-30 19:20:42 +02:00
Jeremy Kersten 8875442c81 [IMP] website_sale: fix layout issue
The payment method and pay now button was not in the left part.
So if we only have one line in cart, a big margin top was visible.
2016-09-30 18:58:20 +02:00
Jeremy Kersten 59849eecc8 [FIX] website_sale: add zoom icon on hover picture 2016-09-30 18:58:20 +02:00
Denis Vermylen (dve) 084e840016 [FIX] hr_attendance: rename setting correctly
Company Screen menu was renamed to Kiosk Mode.

This commit renames the associated setting.
2016-09-30 18:50:22 +02:00
Manuel Vázquez Acosta 5b692df1b1 [FIX] mail: Ignore case for mail aliases.
When receiving new mail (not replies) to an alias we should not take
case into account.

This also homogenize the treatment of local parts.  For instance, lines
967 and 980 convert the local part to lower case to avoid
case-sensitivity issues.

Also `mail_alias` normalizes alias names by lowering case and finding,
if necessary to make it unique, a suffix to alias name provided.

From RFC 5321, section 2.4:

  > Exploiting the case sensitivity of mailbox local-parts impedes
  > interoperability and is discouraged

Closes #334
Closes #13037
2016-09-30 18:41:39 +02:00
Christophe Simonis c813dbf068 [MERGE] forward port branch saas-12 up to 84429ab 2016-09-30 17:21:34 +02:00
Ravi Gadhia 89c78e40cb [ADD] MRP: Add pdf viewer widget to view 'pdf' work instruction of workorder. 2016-09-30 16:31:46 +02:00
Christophe Simonis 84429ab984 [MERGE] forward port branch saas-11 up to 9048865 2016-09-30 16:07:07 +02:00
Nicolas Martinelli 1a0d173b9a [FIX] account: analytic account in write-off
The analytic account of the write-off move is not copied on the line
when doing a reconciliation.

opw-688635
2016-09-30 16:03:59 +02:00
Christophe Simonis 9048865f23 [MERGE] forward port branch 9.0 up to da388aa 2016-09-30 15:49:02 +02:00
Christophe Simonis da388aa192 [MERGE] forward port branch saas-6 up to eb4f030 2016-09-30 15:37:25 +02:00
Christophe Simonis eb4f0309a9 [MERGE] forward port branch 8.0 up to 295f627 2016-09-30 15:35:57 +02:00
Jeremy Kersten e2fb1cb6ce [FIX] web_editor: add missing import
Thanks to my Linter...
2016-09-30 15:11:58 +02:00
Jeremy Kersten 20861b482a [FIX] website: fix customize_template_get
broken by e11f23b
If not full, result was always empty

This commit fix the list of view when you click on Customize top menu in website.
This menu should only display the 'customize_show' views.
2016-09-30 15:11:58 +02:00
Jeremy Kersten 274b1dabb9 [FIX] website: reset full to False by default
Studio altered (probably by error) the default value.
We reset the old default value, and by security, add the params in the call
2016-09-30 15:11:58 +02:00
Jeremy Kersten 1c6bad5f86 [IMP] website: rename default website for demo data 2016-09-30 15:11:58 +02:00
Thibault Delavallée cd333db807 [IMP] project: set name and responsible always tracked 2016-09-30 14:39:31 +02:00
Thibault Delavallée 8acd298a56 [FIX][IMP] mail: make tracking great again
When changing tracking mecanism in v9 'always' tracked fields lost their meaning.
They were managed like 'onchange' fields. This commit sets the old behavior back.

 * 'onchange' fields are displayed in tracking every time they change
 * 'always' fields are displayed in tracking every time they change or whenever
   other tracking exist; those are used to display some contextual
   information
2016-09-30 14:39:31 +02:00
Denis Ledoux 30656599de [FIX] account_asset: asset creation from a vendor bill
It wasn't possible to validate a vendor bill
using a product with an asset type due to the fact
the `default_type: in_invoice` was propagated through the
context to the asset creation, and `in_invoice` is not a valid
type for an asset.

opw-689897
2016-09-30 14:08:56 +02:00
Denis Ledoux ae5c6ce344 [FIX] http: fix jsonp, session_id no longer exists
`session_id` is deprecated,
`session.sid` must be used instead.

This is similiar to the revision
4033ccc129
2016-09-30 14:08:19 +02:00
Nicolas Lempereur c8ca71fc62 [IMP] stock_account: stock_history slow read_group
On a given instance with 600 000 stock.history, the query changed by
this commit takes:

- before this change => 32 minutes
- after this change => 20 seconds

opw-685747
2016-09-30 12:58:45 +02:00
Thibault Delavallée 00aab045b0 [FIX] sale: fix context update wrongly migrated / updated at 94716a3f14
Purpose of the code is to automatically add the recipients of quotation emails
as followers. It is done using the mail_post_autofollow context key. However
current code add the context key in all cases and not just when composing
a message on sale order.
2016-09-30 12:37:02 +02:00
qsm-odoo 2432a1296a [FIX] website: load customize menu at once if already opened
Following commit 3cbc7ebc4c, the bug for customize menu
could have been ignored but as it is an easy fix :

The customize menu is filled after a rpc which is performed on
mousedown on the menu toggle. But in the case the user clicked on the
customize menu before the mousedown handler was attached... nothing
occured. It is possible since the customize menu is rendered but its
JS widget is only attached to it once everything is ready.

Now, the menu is filled on first mousedown or if the menu is already
opened when the JS widget is attached.
2016-09-30 12:22:56 +02:00
qsm-odoo 3cbc7ebc4c [FIX] *: missing base.ready() waiting for frontend tours
Frontend tours have to wait for base.ready() before starting otherwise
they can find DOM elements whose event handlers have not been attached
yet.

Note that this is a workaround to ignore these real "bugs" as users
should not be able to see buttons they can't click at once but there is
no safe and small fix which will resolve that. The time between the DOM
becomes visible and handlers are attached is small enough to ignore
this bug for now anyway.
2016-09-30 12:19:46 +02:00
qsm-odoo 984afdf120 [FIX] mass_mailing, web_editor: set up correct iframe communication
Previous commit tried to handle iframe assets in a more standard way
but instead broke the order followed to install iframe communication.

While waiting for a more clean way to handle iframe assets and
communication, revert to old set up.
2016-09-30 12:19:46 +02:00
qsm-odoo c7e837d962 [IMP] mass_mailing, web_editor: propose installation of mass_mailing_themes
When an user starts a new mail template, he is now proposed to upgrade
to enterprise to install mass_mailing_themes.
2016-09-30 12:19:46 +02:00
qsm-odoo 8320a9aaf5 [IMP] mass_mailing: only keep one theme in community module
Only keep default theme in community module and replace old enterprise
ones with new ones.
2016-09-30 12:19:39 +02:00
qsm-odoo eee1d8c159 [IMP] mass_mailing: prevent drag and drop in kanban for mass mailing
The mailing flux is done thanks to the action buttons in form view.
2016-09-30 12:15:50 +02:00
=?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= 389c2ba97b [REF] packaging: make odoo a namespaced package
by auto-extending addons path with odoo.addons.__path__.

This patch also introduce
  * an explicit declaration of odoo.addons as a namespace package
    This is necessary because the standard way of declaring namespace
    packages in setup.py does not work as long as odoo/__init__.py
    contains code.
  * a more reliable way to find odoo root path.
2016-09-30 12:05:49 +02:00
Simon Lejeune ffd3c513ed [REF] core: renamed openerp-wsgi.py to setup/odoo-wsgi.example.py 2016-09-30 12:05:49 +02:00
Christophe Simonis 467a958ab0 [FIX] core: handle gevent on command line correctly 2016-09-30 12:05:49 +02:00