Commit Graph
105794 Commits
Author SHA1 Message Date
Simon Lejeune 76c443eda3 [REL] 10.0rc1 2016-09-30 12:26:30 +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
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
Jeremy Kersten 9674d9ce84 [FIX] website_sale: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 0c54eb198b [FIX] website_event: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 69321569e0 [IMP] website_blog: add share meta 2016-09-29 15:46:27 +02:00
Jeremy Kersten 1d6ac7960d [FIX] website_event: fix website event demo 2016-09-29 15:46:27 +02:00
Jeremy Kersten 7d5751f2c5 [IMP] product: remove default property for sale_pricelist 2016-09-29 15:46:27 +02:00
Jeremy Kersten 7b70844aa3 [FIX] website_sale: display currency in cart 2016-09-29 15:46:27 +02:00
Jeremy Kersten ee43282319 [FIX] website_blog: don't save the hostname in bg cover image
Url saved need to be relative.
Before this commit, demo was relative, but once updated, urls was absolute.
2016-09-29 15:46:27 +02:00
Thibault Delavallée d4ee7971e2 [IMP] project: improve user tour
* Correct some language
 * Add extra steps to redirect to the implementation planner after having
  finished the tour
2016-09-29 14:25:50 +02:00
Jeremy Kersten 671c63424f [FIX] ir_config_parameter: fix muter - openerp renamed into odoo 2016-09-28 17:45:42 +02:00
Jeremy Kersten 5c11310070 [FIX] website_forum: make moderation queue async
Don't refresh page between each validation.
2016-09-28 17:26:13 +02:00
Jeremy Kersten 59c60e38e7 [FIX] manifest: use comma separated in author.
Apps store uses comma separated convention to sort by author the apps.
Closes #13574
2016-09-28 17:26:13 +02:00
Martin Geubelle ef839bda43 [IMP] base: improve menu form view
Hide fields if not in debug mode.
2016-09-28 16:55:51 +02:00
Raphael Collet 6b1f6aa1d4 [IMP] models: in model/field reflection, trigger recomputations
This enables extensions of `ir.model` and `ir.model.fields` with computed
fields without messing up too much with reflection itself.
2016-09-28 16:55:51 +02:00
Raphael Collet 1c4661ee9d [IMP] models: refactor _add_manual_fields to make it extendable 2016-09-28 16:55:51 +02:00
Raphael Collet 979c553918 [IMP] base: refactor _instanciate on ir.model to make it extendable 2016-09-28 16:55:51 +02:00
Aaron Bohy 8e8c98bf0c [ADD] web: handle custom_events perform(_model)_rpc
If those events are catched by the web_client, it means that no other widget
did handle them, so simply call their on_fail callback.
2016-09-28 16:55:51 +02:00
Martin Geubelle df724840f7 [IMP] base: add model to name_get on ir.model.fields
The `model` has been added to the name_get.
2016-09-28 16:55:51 +02:00
Géry Debongnie f1affd7ae3 [IMP] base: improve ir.model.data form view
A non stored, computed field 'reference' is added to ir.model.data, this
allows the form view to display a nice link to open the record in form
view.
2016-09-28 16:55:51 +02:00
Martin Geubelle 5515eb688c [ADD] base: get web_icon when loading menus
The combinaison of `web_icon` and `web_icon_data` is used
to determine if the menu has:
 * no icon
 * an image icon: [module, path]
 * a built icon: [icon_class, icon_color, background_color]
2016-09-28 16:55:51 +02:00
Adrien Dieudonne cfd002e304 [IMP] base: Extract check_group function into a method
Possibility to inherit _check_group to have groups in attribute
In studio, we need to avoid to delete groups node
2016-09-28 16:55:51 +02:00