Commit Graph
105250 Commits
Author SHA1 Message Date
Thibault Delavallée 96f0dd01ac [MERGE] project_issue: improve usability
This branch contains several usability improvements targetting saas-13.
Each commit contains its own small feature or improvement.
2016-09-05 12:51:26 +02:00
Thibault Delavallée e89fdf7788 [IMP] project_issue: make visible choice of tasks and/or issues on project form view
Indeed currently it is only visible in edit mode. However we noticed
people did not trigger the edit mode to find fields they do not expect
to find. Making them visible helps understanding projects can be used
notably for tasks and issues.
2016-09-05 12:18:55 +02:00
Thibault Delavallée 0194365e0c [IMP] project_issue: slightly improve issue reporting
* Number of emails should not take into account internal notifications
 * Remove Channel and Tasks from issue report as those are not really
   used anymore
 * Remove New filter as it can be done through stage filtering instead
   of using a not obvious heuristic based on stage sequence
2016-09-05 12:18:42 +02:00
Thibault Delavallée d3bbcd6474 [IMP] project_issue: hide Add new Column through Search / Issues action
A new view is dedicated for that kanban view. It is based on the standard
issue kanban view but using the group_create=false attribute to disable
the ability to create new columns.

It is done using a different view because standard issue kanban view
requires this ability. However it is not possible to achieve that goal
using conditional attributes.
2016-09-05 12:18:09 +02:00
Thibault Delavallée c76c1f98f8 [IMP] project_issue: display choice of task and issues in quick create of forms in kanban 2016-09-05 12:18:06 +02:00
Thibault Delavallée 4eb6a4bd4d [CLEAN] project_issue: clean view files and organization
New API migration of project issue was not correctly done considering
module organization. This commit reorder files according to the
guidelines.
2016-09-05 12:17:54 +02:00
Olivier Dony 6ea36beec5 [FIX] models: preserve order when merging recordsets
RecordSets were not preserving order when combined
with AND/OR set operators. Order was lost as well
through mapped().

This caused various recurring "heisenbugs" during
tests executions on runbot, specifically comming
in the test of stock_landed_costs.

Using OrderedSets instead of basic Sets to resolve
these operation avoids the indetermination.

This required an implementation of __or__ / __and__
for OrderedSet.
2016-09-05 12:17:04 +02:00
Olivier Dony 859d443863 [IMP] *: rename manifest files for v10 naming convention 2016-09-05 11:57:50 +02:00
Olivier Dony 4339196e52 [IMP] support v10 manifest file naming convention
- As of v10, manifest files should be named `__manifest__.py`
- For backwards-compatibility, __openerp__.py manifest files
  will still be supported for the time being
- Limited refactoring, to add support for the 2 different
  naming conventions
- All textual references to __openerp_.py updated in
  documentation and examples
2016-09-05 11:57:50 +02:00
Olivier Dony c0566b2896 [IMP] module: parse manifest files with literal_eval
Manifest files are literal Python dictionaries, and
aren't supposed to contain expressions that require
a full-fledged eval.
`literal_eval` is therefore sufficient *and* safer.

This parsing method was already used when listing addons
during startup of the Root controller (http.py, load_addons())
2016-09-05 11:57:50 +02:00
Martin Trigaux 3efa9d39c6 [I18N] Update translation terms from Transifex 2016-09-05 11:34:17 +02:00
Christophe Simonis 1a77d9d02a [MERGE] forward port branch saas-12 up to 476cb5a0 2016-09-03 23:57:57 +02:00
Haresh Shyara 6d9b4de939 [IMP] mrp: timer duration improvement 2016-09-02 18:17:52 +02:00
qsm-odoo 5a1db6cde2 [DEL] web: remove old tour system 2016-09-02 18:09:07 +01:00
Christophe Matthieu 689bf6185b [IMP] account: deactivate tour_bank_statement_reconciliation JS file
The test is never started and the tour is not up to date so remove it
from the DOM until it is converted to new tour system.
2016-09-02 18:09:07 +01:00
Mansi Trivedi 6a72e2e574 [IMP] mrp: Added form view of 'mrp.bom.line' model 2016-09-02 18:06:49 +02:00
Gaurav Panchal 3ae55ed232 [IMP] mrp: open produce product wizard + add barcode in mrp report 2016-09-02 18:06:49 +02:00
Christophe Simonis 476cb5a090 [MERGE] forward port branch saas-11 up to a989680 2016-09-02 18:01:42 +02:00
Denis Vermylen (dve) ac442a3f08 [IMP] payment_ogone: change outdated logo 2016-09-02 17:42:43 +02:00
Denis Vermylen (dve) f31b2c8a83 [FIX] website_sale: add invisible fields to view to update them
in "Website Admin" settings pricelist groups were not updated because they were
not declared in the view. added now.

Also added group to pricelists menu and fix typos.
2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) b4d7b7e6dc [IMP] website, doc: replace eCommerce by e-Commerce 2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) 07a1ed406f [IMP] website,website_sale: improve settings view
rename options, add radio widget
2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) 7ace88f6a9 [IMP] website_sale: add click on planner to tour 2016-09-02 17:42:42 +02:00
Denis Vermylen (dve) e142d78d92 [IMP] theme_*: add ir.actions.todo to themes
installing a theme redirects to the website instead of the backend menu.
2016-09-02 17:42:42 +02:00
Hparfr a989680b60 [FIX] stock: remove eval from search method
Using a safe_eval is overkill and can nicely be replaced by operator

Closes #13138
2016-09-02 17:40:07 +02:00
Thibault Delavallée 3311c57839 [FIX][IMP] website_forum: send comments on answers to people following the question 2016-09-02 17:36:03 +02:00
Thibault Delavallée c4246dc773 [FIX] website_forum: fix comment notification subject being forum.post() 2016-09-02 17:35:56 +02:00
Raphael Collet 79331ec09b [MERGE] rename openerp to odoo, and adapt imports 2016-09-02 17:29:00 +02:00
Raphael Collet 7596fa3ee3 [FIX] base: adapt imports 2016-09-02 17:28:13 +02:00
Raphael Collet 0783318f97 [FIX] adapt logger names 2016-09-02 17:28:13 +02:00
Raphael Collet 4a700d0ad9 [FIX] odoo: rename imports and adapt import hooks 2016-09-02 17:28:12 +02:00
Raphael Collet 9e64f9f951 [REF] openerp: move openerp to odoo 2016-09-02 17:28:12 +02:00
Hpar 627d78b34f [CLA] Update akretion
+ hparfr
2016-09-02 17:27:48 +02:00
Christophe Simonis 55d2e4b7cf [MERGE] forward port branch saas-11 up to bde7f88 2016-09-02 17:23:34 +02:00
Christophe Simonis bde7f883b7 [FIX] stock: fix error introduce during previous forward-port 2016-09-02 17:02:05 +02:00
Christophe Simonis 54e5bbdf35 [MERGE] forward port branch saas-10 up to 897b9b8 2016-09-02 16:28:28 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
Martin Trigaux e5f05074f8 [FIX] gamification: remove duplicated manager groups
hr_gamification should be adding hr groups to the security of gamification.
Creating the group base.group_hr_manager in gamification in case hr is not
installed is confusing and redundant with existing manager groups.
2016-09-02 16:13:29 +02:00
Martin Trigaux 7c885c9fe3 [ADD] base: warning for external id in the wrong module
Creating a external id in a different module than the one where the record is
declared is a bad practice.
Setting a correct module is both important for a correct uninstallation of the
module (which uses the module to decide which records to remove) and for the
translations (records tagged with 'base' module needs to be declared in the
base.pot file).
2016-09-02 16:13:25 +02:00
Martin Trigaux fb337383bc [IMP] models: improve the rendering of large fields
one2many, many2many, text and html fields should take all space in a form view
for a better rendering instead of taking only 2 col or not having the label in
front the field.
2016-09-02 15:40:56 +02:00
Martin Trigaux e8db098bac [FIX] models: display all fields of a model
When a model has no form defined, a default view is generated displaying all
fields of the model.
The one2many and many2many fields were not displayed on the form, probably for
aesthetic or historical (2008) reasons.
2016-09-02 15:40:51 +02:00
stefanorigano d6ec094aac [FIX] website: remove bg image support for columns in s_cover snippet
The snippet section can have a color or a background. Previous commit
added the functionnality for its innercolumn too... but having a bg
image on top of another one does not make sense, so only keep the
color option for columns.
2016-09-02 14:59:33 +01:00
stefanorigano 2f303acdd0 [IMP] website: change layout of s_references and s_big_message snippets
- s_references
    * Replace demo images (lighter ones)
    * Move title to left
    * Review responsiveness
- s_big_message
    * Add background
    * Use grid system
2016-09-02 14:58:01 +01:00
stefanorigano 1ec38c02c5 [IMP] website_blog: replace images and add xml ids
* Replace demo blog post covers
* Add xml ID to demo images so they can be easily replaced by themes
* Remove unused images
2016-09-02 14:57:40 +01:00
Simon Lejeune a13c15fd44 [FIX] crm: merge partner wizard, traceback on close
In the merge partner wizard, there's a button in the footer which
trigger the method `action_close`. This method is decorated by
an api.multi and begins with an ensure_one() and if you click
on close directly after opening the wizard, self.ensure_one
fails.

The thing is, `action_close` only return an ir.action.act_window_close
action and there's a special attribue you can set in the form
view button to make it return an ir.action.act_window_close directly.
If we use this technique, then there's no traceback anymore. So this
is the fix.
2016-09-02 15:31:40 +02:00
Christophe Simonis 897b9b8fc0 [MERGE] forward port branch 9.0 up to cb1ae53 2016-09-02 15:19:39 +02:00
Christophe Simonis cb1ae535f6 [MERGE] forward port branch saas-6 up to ddcd2e7
Empty merge as 7bdd4de805 has already
been forward-ported with 33167a1eb5.
2016-09-02 14:53:23 +02:00
qdp-odoo 33167a1eb5 [FIX] stock_dropshipping: fix dropship use case in anglo saxon with perpetual valuation.
OPW: 684742
When using dropship+anglo-saxon+perpetual valuation, there is no journal
move for the delivery to debit outgoing inventory (since the goods don't
transit by an internal stock) but the sale does credit it so there was a
build up in the holding account that has to be moved out manually.
This was also reported in #12687.

The solution implemented is to check if the invoice line is related to
sale order lines having one of its procurement_ids with a purchase_line_id
set. If yes, it means that it is a confirmed dropship and in that case we
don't call to super (we don't create the cost of sale line).

That means that:
* If the procurement is in exception at the customer invoice time, the
behavior will be as it is currently, but it's fine as you don't know how
the procurement will be solved, and it'll be only at the beginning (once
the config is done it shouldn't go in exception anymore). People will have
to manually fix those amounts with a miscellaneous operation.
* users in anglo saxon mode should not use the 'stock interim account
(received)' on supplier invoices for dropshipped goods, but rather use the
COGS directly (sounds to me logical, and that's actually why I wouldn't go
for the solution to create the stock move entries every time even for the
dropshipped goods. That, and the fact that it would pollute the accounting
with useless moves).

This is a forward-port/cherry-pick of 7bdd4de805
2016-09-02 14:47:33 +02:00
Christophe Simonis ddcd2e771b [MERGE] forward port branch 8.0 up to 7bdd4de 2016-09-02 14:29:48 +02:00
qdp-odoo 7bdd4de805 [FIX] anglo_saxon_dropshipping: fix dropship use case in anglo saxon with perpetual valuation.
OPW: 684742
When using dropship+anglo-saxon+perpetual valuation, there is no journal move for the delivery to debit outgoing inventory (since the goods don't transit by an internal stock) but the sale does credit it so there was a build up in the holding account that has to be moved out manually. This was also reported in #12687.

The solution implemented is to check if the invoice line is related to sale order lines having one of its procurement_ids with a purchase_line_id set. If yes, it means that it is a confirmed dropship and in that case we don't call to super (we don't create the cost of sale line).

That means that:
* If the procurement is in exception at the customer invoice time, the behavior will be as it is currently, but it's fine as you don't know how the procurement will be solved, and it'll be only at the beginning (once the config is done it shouldn't go in exception anymore). People will have to manually fix those amounts with a miscellaneous operation.
* users in anglo saxon mode should not use the 'stock interim account (received)' on supplier invoices for dropshipped goods, but rather use the COGS directly (sounds to me logical, and that's actually why I wouldn't go for the solution to create the stock move entries every time even for the dropshipped goods. That, and the fact that it would pollute the accounting with useless moves)
2016-09-02 14:13:17 +02:00