Commit Graph
105778 Commits
Author SHA1 Message Date
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
Martin Geubelle e11f23b701 [REF] web_editor, website: move ACE editor to web_editor
The commit e59a7fe3ff has moved
the ACE editor from website to web_editor. As some code on ir_ui_view
was used for this widget, the code has also been moved to web_editor.
2016-09-28 16:55:51 +02:00
Martin Geubelle fa4fa90890 [REF] report: allow client action to be extended
The iframe is set in a template inside a div.
The widget is returned so it can be extended.
2016-09-28 16:55:51 +02:00
Géry Debongnie b782a5d922 [FIX] web_editor: fix various issues with ace editor
Ace editor is not very smart, it does a rpc for each inherited view, it
tries to load workers before deciding not to use them, and it does way
too much work in general.  This commits tries to make sure that only the
necessary rpcs are done (lazily).

fix some issues with ace editor: lazy loading

fix various issues with ace editor
2016-09-28 16:55:51 +02:00
Martin Geubelle 75f321a1ba [ADD] web: get active view from action 2016-09-28 16:55:51 +02:00
Martin Geubelle b2aafa23b8 [IMP] web: trigger event when changing action
This comportement was added in the DebugManager to trigger an event.
As this event could be useful in other situations (e.g. studio), we trigger
the event directly in the ActionManager. By default, the WebClient does not
use this event but an handler is added to be overwritten.

This handler is overwritten in some widgets (DebugManager, Studio, etc.) that
requires the Systray items instances so we add them in ´widgets´ in the Systray Menu.

As the module dashboard uses multiple ActionManager, the event bubbling should be
avoided in this case.
2016-09-28 16:55:51 +02:00
Aaron Bohy 037b7063e2 [REF] web: process views arch in data manager
A refactoring of the js views is in progress.  Those new views are used
in web studio, and this change is part of it. This is necessary to allow
web studio to correctly fetch data from the server when rendering a
preview.  Note: this is necessary for special widgets (status bar,
selection, radio widgets)
2016-09-28 16:55:51 +02:00
Martin Geubelle 5b94799c82 [IMP] web: allow to clear the cache in data manager
Sometimes, we need better control on the cache.  For example, if a view or an
action has been changed, it is required to make sure that the correct
data is loaded.
2016-09-28 16:55:51 +02:00
Aaron Bohy b1b80d8d6d [IMP] web: add option replace_last_action to do_action in action_manager 2016-09-28 16:55:51 +02:00
Martin Geubelle aa19d9edd0 [REF] web: update nestedSortable lib 1.3.5 -> 2.1a 2016-09-28 16:55:51 +02:00
Adrien Dieudonne 09f1caf982 [FIX] web: add modal-body class when renderElement 2016-09-28 16:55:51 +02:00
Aaron Bohy 66cb0d7aa3 [IMP] mail,web,web_planner: order of systray items
Sort systray items by sequence to allow, e.g. to force the planner item to
be the left-most item of the systray as it is not displayed in all apps, and
thus produces a flickering of the other items.

Also invert the push order of the two mail items to keep the previous order
as they are now prepended instead of appended.
2016-09-28 16:55:51 +02:00
Martin Geubelle 442355518d [ADD] add default view for kanban and graph 2016-09-28 16:55:51 +02:00
Martin Trigaux 46180408cb [IMP] point_of_sale: restore proper sales of the day report
The previous report was a workaround to avoid changing the model in the stable
version using a custom widget.
Replace by a proper wizard.
2016-09-28 16:49:18 +02:00
Christophe Simonis a7ba6cde9c [MERGE] forward port branch saas-12 up to 7134aff 2016-09-28 16:28:31 +02:00
qsm-odoo d04a42022b [REF] website, *: review website access rights
* event, website_event, website_forum,
* website_hr_recruitment, website_sale

Website access rights were buggy. The editor assets and website editor
assets have to be loaded together to work so the previous behavior
which only loaded one with the restricted access right was not right.
Also, people which had the "Manager" access right for model like event
or job only got access to creation and edition of those objects if they
had the full access to website access rights.

Now the website module creates the two same groups :
* group_website_publisher: load all editor assets, give access to
page creation for model the user has access (event, job, ...) and
edition of those pages
* group_website_designer: implies the first one and give access in
creation and edition of all pages + access of all website menus

The manager access rights for event, product, jobs, etc now implies
the group_website_publisher group for the user (so that the manager
have the editor assets and editor ui).
Note: some python codes use the group_website_publisher for no right
reason, this has to be adapted.
2016-09-28 15:56:04 +02:00
Jeremy Kersten 7134affc89 [FIX] website_slide: add image deleted by commit 2e9644d
This picture is used in python code and not in description.
2016-09-28 14:56:17 +02:00