Commit Graph
129100 Commits
Author SHA1 Message Date
Julien Mougenot 291dad6bc8 [FIX] web: fixed crash in editable grouped lists
Adding a line in grouped listviews caused a crash in some cases.

Steps to reproduce:
- go in any grouped editable list view
- click on any "Add a line" cell, but not on the link itself
- press ENTER

Before this commit:
A crash occured. Unable to add a new line. Needed to refresh the page.

After this commit:
Line addition functionnality properly working even when selecting the outer cell
2019-08-16 09:03:49 +00:00
Julien Mougenot 4817c7f08f [REF] web: fix typos and incorrect variables
In this commit:
- removed an unused event handler
- fixed an overriden variable used in a subfunction
- fixed a variable mismatch

No bug was induced by these issues until now so it doesn't impact
any behaviour. This is just an extra security for the future.
2019-08-16 09:03:49 +00:00
Julien Mougenot 3c372d1da8 [FIX] web: prevent unwanted click on enter keypress
Pressing ENTER on a button element triggers an additionnal 'click' event.
Since this 'unwanted' click caused some issues in a few cases, we prevent it.
Moreover, there isn't currently any known case in which this event is useful.

Before this commit:
No modification of the initial behaviour on ENTER key

After this commit:
ENTER key pressed in abstract fields has its default behaviour suppressed
2019-08-16 09:03:49 +00:00
Julien Mougenot f88577ec70 [FIX] web: correctly display styles in list view
Before this commit, there was a slight offset preceding list selectors,
and the red border of invalid fields was not shown in community.

Now list selectors are correctly displayed as well as invalid fields.
2019-08-16 09:03:49 +00:00
Julien Mougenot b416c15a77 [IMP] web: dialog triggers custom callback on close
Added an option in the Dialog class to give it a function to run
when it's closed by other ways than by its buttons.
Its default value is the "cancel" callback if given, or none.

Before this commit, there was no way to add any callback to run
when the modal wasn't closed by a button.

Now, when exiting the modal by other means (e.g.: "Escape" key),
it will run a given callback.
2019-08-16 09:03:49 +00:00
Julien Mougenot bec84c10a1 [IMP] web: keyboard navigation between searchbar and renderer
This change allows direct keyboard navigation between the current action
searchbar and renderer.

Focus can now be toggled using DOWN arrow when focusing the searchbar
or the UP arrow when focusing the top cell/record of a kanban or a list.
2019-08-16 09:03:49 +00:00
Yenthe666 0aea29da8d [IMP] website_blog: set blog posts as articles with extra SEO tags
closes odoo/odoo#35060

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-08-16 08:02:42 +00:00
Arnaud Baes b7e37fe608 [IMP] stock: inventory view cleanup
closes odoo/odoo#35719

Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2019-08-14 13:12:58 +00:00
Arnaud Baes a587493a31 [IMP] stock: Forecast Report cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes f60120ff85 [IMP] stock: Variants menu entry cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes fc0ccc0334 [IMP] stock: inventory lines view cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes 10e8e26465 [IMP] stock: product views cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes bee938e03d [IMP] stock: quant views from product cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes 9477e87ec1 [IMP] stock: Reordering rules views cleanup 2019-08-14 13:12:58 +00:00
Arnaud Baes fa859e1220 [IMP] stock: scheduled date on picking 2019-08-14 12:27:05 +00:00
Arnaud Baes a56b62961d [ADD] stock: Delivery Methods setting 2019-08-14 12:27:05 +00:00
Arnaud Baes 2f2e12eea1 [IMP] stock_picking_batch: Views cleanup 2019-08-14 12:27:05 +00:00
Arnaud Baes 5a70d10439 [IMP] product,delivery: package views cleanup 2019-08-14 12:27:05 +00:00
Arnaud Baes 689dab3f26 [IMP] stock,product_expiry: lot views cleanup 2019-08-14 12:27:05 +00:00
Arnaud Baes ced76bddab [IMP] stock, stock_account: move views cleanup 2019-08-14 12:27:05 +00:00
Arnaud Baes 1adee2bd8d [IMP] stock: scrap views cleaning 2019-08-14 12:27:04 +00:00
Arnaud Baes 9aa5410835 [IMP] stock: set move's picking description as optional in picking views 2019-08-14 12:27:04 +00:00
Arnaud Baes a1759efe69 [ADD] stock: Deep Learning to automatically detect the type of the processed quantities 2019-08-14 12:27:04 +00:00
Arnaud Baes dbafe14735 [IMP] stock: hide columns on picking type tree view 2019-08-14 12:27:04 +00:00
Arnaud Baes 062ad598bf [IMP] stock: default sequence for picking types 2019-08-14 12:27:04 +00:00
Arnaud Baes 9410e0ce00 [MOV] stock, stock_barcode: barcode fields in views 2019-08-14 12:27:04 +00:00
Arnaud Baes fcce6a2f82 [REF] stock, mrp: codes on picking type 2019-08-14 12:27:04 +00:00
Arnaud Baes 4e66eac9a4 [IMP] stock: default adress on warehouses 2019-08-14 12:27:04 +00:00
Arnaud Baes 0ac4f8f20a [IMP] stock, mrp: empty views on stock_move_line 2019-08-14 12:27:04 +00:00
Arnaud Baes 0690b7829a [REF] stock: empty views on pickings 2019-08-14 12:27:04 +00:00
Robot Odoo e88fe6f380 [IMP] product: pricelist flow
Pricelist flow isn't quite intuitive in its current state (and certainly not clean in a technical point of view).

# Improvements
1. Price Rules are opened in independent view from the product/product template.
2. Price rules of a product are still accessible in advanced pricelist mode.
* From a product.template : You see the rules on this product and on its variants
* From a product.product : You see the rules on the variant and on its template
3. UI refactorings

## Other changes
* Don't create a rule for all pricelist by default.  If no rule is defined on a pricelist for a given product, it takes the sales price by default.
* Technical : multiple overly complicated pricelist settings are removed.

[Task 34788](https://www.odoo.com/web?#id=34788&action=333&active_id=1725&model=project.task&view_type=form&menu_id=4720)

closes odoo/odoo#35432

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-16 09:12:49 +02:00
Victor Feyens 7d8df4bec1 [IMP][REF] product,sale,p_o_s: pricelist usability refactoring
Manage pricelists through a common configuration between sale and point_of_sale
Remove lots of technical fields

Improved Pricelist Flow
-----------------------

if pricelists enabled (product.group_product_pricelist), two modes are proposed:
* basic(default): pricelists enabled, but only with basic rules
* advanced: pricelists enabled, but with advanced rules (product.group_sale_pricelist)

When pricelists are enabled, we can always access them through the menu OR access their product-targeted rules from the products/templates views.
2019-08-14 14:03:23 +00:00
Victor Feyens 852f02ba14 [REM] product: default pricelist item
When creating a new pricelist, don't fill it with a default global rule.
When a pricelist has no rule for a given product, fall back to Sales Price.
2019-08-14 13:39:11 +00:00
Victor Feyens 4e5b950741 [FIX] product: pricelist item cannot be without a pricelist ref 2019-08-14 13:39:11 +00:00
Antoine Vandevenne (anv) fb83017d79 [IMP] sale: add a settings section to display sale connectors
Prior to this commit, sale connectors (sale_amazon, sale_ebay, ...) had no dedicated section in sale's settings. If merged, this commit will allow to install such connectors in one click from the settings of the sale module.

task-19575

closes odoo/odoo#35120

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-14 11:48:21 +00:00
mgh-odoo 737746c05c [IMP] im_livechat: allow visitors to get a transcript of their live chat
after this commit user can get a copy of the conversation with operator

task-2029660
closes #34620

closes odoo/odoo#35083

Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
2019-08-14 12:25:12 +00:00
wan 3d9abe6332 [FIX] account: remove env.company_id in wizard_tax_adjustments
The field company_id is not on environment since https://github.com/odoo/odoo/commit/a5b6f31cf28e5381e1c85f66730bcdb55998e643
We should use company instead

closes odoo/odoo#35554

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2019-08-14 09:49:56 +00:00
Christophe Simonis 7fea618b25 [FIX] web: correct test
Oversight of previous forward-port.
2019-08-14 17:42:38 +02:00
Christophe Simonis 140ee6b8f0 [MERGE] forward port branch saas-12.4 up to 98a55917a6 2019-08-14 16:48:10 +02:00
jbm-odoo 839696d2d7 [IMP] settings: Fix Improve general UX (back2basics)
closes odoo/odoo#35710

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-14 08:42:51 +00:00
Damien Bouvy 1dac1faaff [FIX] sale_stock: forgotten field after 0cc30bf08
`confirmation_date` => `date_order`

closes odoo/odoo#35708

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-14 12:05:26 +00:00
Jeremy Kersten 1067767e2a [FIX] website_sale: rename date_order/date
Before this commit it was no more possible to access website menu once
ecommerce installed, because the dashboard crashes with an
"Invalid field 'date_order' in leaf".
2019-08-14 12:05:12 +00:00
Lucas Lefèvreandjbm-odoo 14bb91e9ae [FIX] mail: only show suggested partners once
In the chatter composer, suggested partners were shown more than
necessary.

1. Create a new partner;
2. Open the chatter composer to send a message
(the new partner is suggested as a recipient);
3. Re-open the chatter composer
=> the partner is still suggested, but it is already a follower now!

Task-Id 2050102

closes odoo/odoo#35604

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>


Co-authored-by: jbm-odoo <jbm@odoo.com>
2019-08-14 12:11:18 +00:00
Hetashree Chauhan 59f838d5b1 [IMP] web: Show all kanban records of same size
task-2042304
closes - https://github.com/odoo/odoo/pull/35482

closes odoo/odoo#35482

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-08-14 12:13:27 +00:00
Hetashree Chauhan cdc8bf4bb1 [IMP] mrp, maintenance: back to basics
Modify tree view for MRP Production
Modify form view and tree view for Unbuild orders
Add group by for Bill of Materials
By default show line shart when opening MRP Production report
Modify view for Work Orders
Modify view for Work Centers
Modify view for Routings
Modify view for Maintenance Request
Modify view for Bill of Materials

task-2042304
closes - https://github.com/odoo/odoo/pull/35482
2019-08-14 12:13:27 +00:00
Victor Feyens 699a4614ef [FIX] purchase(_product_matrix): no_variant attributes
Display no variant infos in the purchase order line description.

closes odoo/odoo#35717

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-14 10:23:38 +00:00
wan 98a55917a6 [FIX] account: expand by default account move lines tree view
The commit https://github.com/odoo/odoo/commit/c429c0e0bd1208694623d5567682c43f9f0e51b7 removed context keys that were used to expand the view in some cases here: https://github.com/odoo/odoo/blob/c429c0e0bd1208694623d5567682c43f9f0e51b7/addons/account/views/account_move_views.xml#L162. This commit adds a new context key, clearer than the previous one.
Also, the commit https://github.com/odoo/odoo/commit/bc131c0cfb51c953de8ec41fb820c8c7831eefb5 duplicated some actions. We remove them here too.

closes odoo/odoo#35653

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-14 08:04:15 +00:00
Sébastien Theys 64008bdcab [FIX] sale_product_matrix: fix traceback with no_variants attributes
To reproduce the issue:
- configure a product with no_variant attributes
- select "grid" mode
- add this product to a sales order
- fill the grid
- confirm

-> Traceback

closes odoo/odoo#35701

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-13 16:36:58 +00:00
fleodoo 8858a98b68 [IMP] hr_recruitment: open voip on mobile phone number click
Task-Id: 1913470

closes odoo/odoo#30754

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-08-14 09:43:44 +00:00
Josse Colpaert f8d4bf4499 [IMP] account, l10n_xx: change CoA loading methods
Before, we only had a public method that installed
the CoA for the current active company.

With the multi-company changes, it was not
possible anymore to install a module with a
demo company and then have the CoA installed
in that demo company correctly.

We changed that public method to be able to
put an extra optional parameter and shortened
its name to try_loading instead of
try_loading_for_current_company.  The method that
it calls when there is no chart installed
is made private and renamed to _load.

closes odoo/odoo#35703

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-14 08:42:27 +00:00