Commit Graph
105827 Commits
Author SHA1 Message Date
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
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
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
Simon Lejeune 630b4b1d55 [REF] cli: renamed .rc configuration file
A fallback for .openerp_serverrc has been implemented. If both
are present, Odoo will crash and report.
2016-09-30 12:05:49 +02:00
Simon Lejeune c59eb4ffc1 [REF] packaging: renamed configuration files
no fallbacks were implemented to `openerp-server.conf`.
2016-09-30 12:05:49 +02:00
Simon Lejeune 740a959e05 [REF] packaging: rpm: depend on python-babel 2016-09-30 12:05:49 +02:00
Simon Lejeune cee7cc5274 [REF] packaging: redhat: use fedora for testing
Creating a centos docker image fails on our nightly server with
this issue: https://github.com/docker/hub-feedback/issues/461

To create a centos image, we used another repository to host the
image and we make it build in docker hub, then we pulled it. It
was getting really annoying.
2016-09-30 12:05:49 +02:00
Simon Lejeune 01b69fbe75 [FIX] packaging: redhat: depends on babel 2016-09-30 12:05:49 +02:00
Simon Lejeune ed8f0c83c4 [REF] cli: renamed openerp-server to odoo-bin
The use of an entry point was considered in order to provide
an `odoo` command in the path for the packages users, but the
generated entry point will first check that all the things in
install_requires were provided in a not bright way: it'll check
that it matches a distribution name. This does not work because
python-chart does not have the distrubtion name "pychart" which
is provided by the python-pychart package in debian jessie. Same
for suds-jurko which is provided by python-suds in debian stretch
but does not have the distribution name "suds".

Also, adapted the  packages tests to these cli changes.
2016-09-30 12:05:49 +02:00
Simon Lejeune 2d5fc151a2 [REF] cli: rename odoo.py to setup_dev.py
and move it under the setup package. Since the rename of the
openerp directory into odoo, having a script named "odoo.py"
conflicts with a package named "odoo".
2016-09-30 12:05:49 +02:00
Simon Lejeune ea3d9e69ef [REF] packaging: windows: remove use of version_full
This way we do not have to pass the version as argument. This
was error prone. If the timestamp has to be included in the
version, just patch it during before running package.py. This
was already done in our nightly servers anyway.
2016-09-30 12:05:49 +02:00
Simon Lejeune 7f8ad73618 [REF] packaging: windows: don't hardcode service name
Correctly pass it to the nsis script the same way it was done for
the version and python version. this was a source of error at each
release.
2016-09-30 12:05:49 +02:00
Simon Lejeune 71705e1347 [REF] packaging: windows: bundle postgresql 9.5 2016-09-30 12:05:49 +02:00
Simon Lejeune baf3508222 [REF] packaging: windows: start the correct service name during test 2016-09-30 12:05:49 +02:00
Simon Lejeune bc04ec942f [REF] packaging: debian: remove unneeded recommanded dependencies
They were there since long time but to allow some obscure test
to run. As they don't bring anything let's just drop them.
2016-09-30 12:05:48 +02:00
Simon Lejeune ac9b10003d [REF] packaging: document dependencies 2016-09-30 12:05:48 +02:00
Simon Lejeune eb501081c5 [REF] packaging: openerp has been renamed odoo
Fix the various place when the rename of the git root directory
broke the packaging script. Also, we can now name the library
"odoo".
2016-09-30 12:05:48 +02:00
Simon Lejeune ba5258adb8 [REF] packaging: web_analytics was removed in saas-12 2016-09-30 12:05:48 +02:00
Nicolas Martinelli b2b85fbb19 [FIX] website_sale: recompute fiscal position
Following commit 6006c0d72a, the shipping address can be changed after
the call to `checkout_form_save`. This is the case, for example, when
the user has the same shipping and invoicing address. We need to make
sure to recompute the fiscal position after the shipping address is
finally set.

opw-689281
2016-09-30 11:52:51 +02:00
Denis Vermylen (dve) 88977a90e7 [FIX] portal: fix new api forward-port migration
_create_user was called on self instead of wizard_user
(for wizard_user in self...)

This created an ensure_one crash later on if more than one record in self.
2016-09-30 11:49:10 +02:00
Nicolas Martinelli 204c75939a [FIX] sale: always set fiscal position
An issue occurs in the following case:
- create a SO
- set a partner for which a fiscal position applies
- change the partner to a partner for which no fiscal position applies

The fiscal position set in a first place remains. This is a major issue
when interacting with the eCommerce, since a fiscal position can be
first set based on the GeoIP results, then might need to be removed when
the user fills in his address details.

opw-689281
2016-09-30 11:48:16 +02:00
qdp-odoo 32fc5e49d4 [FIX] account_check_printing: fix flow of check.
Use case fixed: create a draft supplier payment, tick it in list view and launch the action 'print check'. Then, on the pop up window cancel the operation => the state was badly set to 'sent'.
2016-09-29 21:47:27 +02:00
qdp-odoo 45e2a6abdc [FIX] account: fix bad domain on payment form view, preventing to validate a manual supplier payment 2016-09-29 21:40:57 +02:00
tdi-odoo 4b11e3e3a5 [FIX] account: set fiscal position on customer invoice in the same fashion as on SO 2016-09-29 16:55:46 +02:00
Martin Trigaux 3189438450 [I18N] export 10.0 source terms 2016-09-29 16:51:51 +02:00
Martin Trigaux b5b0d36b31 [ADD] point_of_sale: differentiate the sale and invoice journal
Using the same journal for both the session closing and the invoices generated
from the PoS may be problematic as they share the same sequence.
In such case, gaps may appears in the invoice numbers (as the sequence is on the
account.move, closing a session increases the sequence by one).

cf opw-685660
Fixes 13242
2016-09-29 15:50:12 +02:00