Commit Graph
111699 Commits
Author SHA1 Message Date
Haresh Shyara 5121e151dc [FIX] stock: add invisible name field for move_lines in picking form
Mistakenly removed in 7cbca2582c.
2017-08-31 11:17:55 -07:00
rde bbc38ca429 [FIX] website: fix sitemap
typo during python3 convertion
2017-08-31 15:47:10 +02:00
Haresh Shyara fe77df3ba4 [IMP] stock, stock_picking_batch: improve tree, form view of product moves and menus 2017-08-30 21:17:33 -07:00
Jignesh Rathod 23e77b8033 [IMP] stock: restructure menus of stock. 2017-08-30 21:17:33 -07:00
Jignesh Rathod 2e5fd48362 [IMP] stock: stock move lines form view. 2017-08-30 21:17:33 -07:00
Jignesh Rathod 55d363e960 [IMP] stock: improve search view of product moves. 2017-08-30 21:17:33 -07:00
Haresh Shyara 7cbca2582c [IMP] stock: invisible 'Reserved' column when picking type 'incoming' in picking tree view 2017-08-30 21:17:32 -07:00
Haresh Shyara 7f180207b1 [IMP] stock: improve reception form view
- Invisible 'Shipping Policy' and 'Priority' for Reception.
- Invisible Operation Type when it's in the context.
- Changed shipping policy 'Partial' to 'As soon as possible' and 'All at once' to 'When all products are ready'.
2017-08-30 21:17:32 -07:00
Haresh Shyara 7be8249357 [IMP] stock: improve stock_quant form view
- Added stat button in stock_quant for open stock_move_line.
- Added 'Reserved Quantity' field.
- Moved UoM on right of 'On Hand'.
- Set product name in breadcrumb instead of 'stock.quant,2'
2017-08-30 21:17:32 -07:00
Haresh Shyara cc07b482fe [IMP] stock: improve stock quant list view
- Added new field 'reserved_quantity'.
- Added new filter Reservations('reserved_quantity').
- Removed 'Transit Location' default filter and keep only 'Internal Location'.
- Added graph view in stock quant.
- Added Product Template in search view.
2017-08-30 21:17:32 -07:00
Haresh Shyara e7b8033771 [IMP] stock: put groups multi-location no Destination Location
- remove source document in demo data.
- renamed 'Destination Location Zone' to 'Destination Location'.
2017-08-30 21:17:31 -07:00
Haresh Shyara 394b45b4b6 [IMP] stock: put readonly origin field 2017-08-30 21:17:31 -07:00
Haresh Shyara f707b476b6 [IMP] stock: improved the form view of DO
- Removed class on origin field for display full width.
- Moved uom on the right in move lines internal tree view.
- Moved Cancel button on the right in header of do form view.
2017-08-30 21:17:31 -07:00
Haresh Shyara 147821363c [IMP] stock: some improvement in immediate transfer wizard
- removed parentheses on 'done' and set italic on 'reserved'
2017-08-30 21:17:31 -07:00
Haresh Shyara 6bd26593e0 [IMP] stock: restructured some menuitems in operations
- Operations
    - Products
        - Transfers
        - Inventory Adjustment
        - Sraps
    - Scheduling
        - Run Scheduler
2017-08-30 21:17:27 -07:00
Haresh Shyara 4384cc7273 [IMP] stock: improve stock move line tree view and menus
- Renamed menu 'Stock Moves' to 'Picking Moves'
- Renamed menu 'Stock Move Lines' to 'Product Moves'
- Added default filter 'Done' on Stock move lines.
- Moved date field at the first.
- Removed groups to visible Source and Destination Location id multi-location is not activated.
2017-08-30 19:03:56 -07:00
Haresh Shyara 6b370c0d7c [IMP] stock: restructured the stock config menus
- Set groups on location menu for visible only if mulit-location is set.
- Restrucured the menus in configuration.
- Products
	- Categories
	- Barcode Nomenclatures
- Unit of Measures
	- UoM Categories
	- UoM
2017-08-30 19:03:51 -07:00
Jeremy Kersten 88a25c0e87 [FIX] *: fix previous forward port 2017-08-31 00:14:37 +02:00
Christophe Simonis 71f370903c [MERGE] forward port branch saas-16 up to 600d015938 2017-08-30 18:18:59 +02:00
Christophe Simonis 600d015938 [MERGE] forward port branch saas-15 up to cb4dbfb7b7 2017-08-30 18:04:40 +02:00
Christophe Simonis cb4dbfb7b7 [MERGE] forward port branch saas-14 up to 583fcf0a67 2017-08-30 16:13:19 +02:00
Christophe Simonis 583fcf0a67 [MERGE] forward port branch 10.0 up to 1b7e31f341 2017-08-30 15:34:58 +02:00
Christophe Simonis 1b7e31f341 [MERGE] forward port branch saas-11 up to 3f72629794 2017-08-30 15:30:01 +02:00
Christophe Simonis 3f72629794 [MERGE] forward port branch 9.0 up to cb21934e00 2017-08-30 15:29:24 +02:00
Christophe Simonis 792204ae9e [MERGE] forward port branch saas-11 up to dce35ca44b 2017-08-30 14:15:32 +02:00
Richard Mathot 6a5c1001d3 [FIX] mrp: stupid typo introduced at ccfc4e7026
Sorry about that.
2017-08-30 14:12:47 +02:00
Nicolas Martinelli cb21934e00 [FIX] stock: inventory adjustment
Backport of commit c00267bc34

opw-767538
2017-08-30 14:04:01 +02:00
Christophe Simonis dce35ca44b [FIX] l10n_*: limit tag migration to 9.0 series 2017-08-30 13:29:44 +02:00
Christophe Simonis f75fd6dcdb [MERGE] forward port branch 9.0 up to 24ca3793bf 2017-08-30 13:19:58 +02:00
Christophe Matthieu 67adc9d9a9 [FIX] account: update the reconciliation line on input instead of on blur
This change is used to view the residual amount when the amount used for
the write-off.
Create a new line on key press enter.
2017-08-30 12:59:46 +02:00
Christophe Simonis 24ca3793bf [FIX] website_forum: do not compare recordset against integer 2017-08-30 12:45:35 +02:00
qsm-odoo 9b58abdd5c [FIX] web: reset 'invisible' table cells to correct display
Make sure '.o_invisible_modifier' table-cells are forced back to
`display: table-cell` to keep correct alignement. Indeed using the
`initial` value forced them to `inline` instead (creating some
obvious visual bugs in some cases).
2017-08-30 12:40:53 +02:00
Aaron Bohy f1082f1552 [FIX] web: don't send virtual id on save
The problem occurred on form views with an x2many field with a
default value containing CREATE commands, i.e. when opening such
a form view in create mode, the x2many field is pre-filled with
some (non-existing yet) subrecords.

If the user then edited those subrecords, and then clicked on
'Save' to create the main record, an 'UPDATE' command was sent
alongside the 'CREATE' one for the x2many, and the id of the
'UPDATE' command was a virtual id (as the subrecord didn't exist
yet), and it crashed.

This could happen in MRP:
  - Enable lots in Iventory
  - Choose a product which is a component of another (through mrp bom)
  - Set this product as tracked by lot
  - Set this product inventory quantity to 0
  - Create a new manufacturing order for the product for which it is a
    component
  - Click on "Check Availability"
  - click on Produce: the many2many already contains a subrecord
  - edit the lot field of that subrecord
  - click on 'Record Production'
2017-08-30 12:29:47 +02:00
Lucas Perais (lpe) aee1456e89 [FIX] website_sale: correcting syntax typo in xml 2017-08-30 11:43:49 +02:00
amoyaux 4ec6069acc [FIX] mrp: update qty to produce does not remove the qty produced
When updating the quantity to produce on a MO, the quantity done
on finished/consumed moves that were not done was erased.

It happens due to write on stock move that always wanted to
unreserve the move and thus drop the move lines with qty_done.
This issue has been resolve in previous commit

This commit correct some mistakes in wizard methods in order
to correctly update open moves.
2017-08-30 11:34:20 +02:00
amoyaux de6a50e984 [IMP] stock: modify move initial demand should not always unsreserve
Write method on stock move always unreserve concerning move if
initial demand is modified. Unreserve will delete all move lines
linked to the move including those already modified.

Thus modify initial demand(unreserve) will destroy all the
job done by the user.

This commit will only unreserve move is the initial demand
is smaller than the quantity reserved (could be improved by dropping
only few move lines). If the initial demand is greater than the
reserved quantity it will not unreserve but only change the
state to partially avaialbe.
2017-08-30 11:34:20 +02:00
Aaron Bohy 96b1db4cd4 [FIX] web: prevent 'reload' event from being handled twice
When the external button of a many2one field is clicked, the
related record is opened in a dialog. When the user clicks on
'Save' in this dialog, a 'reload' event is triggered to reload the
parent view (the one in the background), as the display name might
have changed.

However, when there is another many2one field in the opened dialog,
and if its external button is clicked, there are 2 opened dialogs,
and thus 3 nested form views. If the user clicks on 'Save' in the
third one, only the direct parent view must be reloaded (the one
in the first dialog).

Before this rev., the 'reload' event wasn't stopPropagated, so it
was handled by the view in the dialog, and by the one in the
background, which produced a crash.

This could happen for instance in Sales Order, edit a sale order
line, click on the external button of the product, in the dialog,
click on the external button of the category, edit some field and
click on 'Save'.

Closes #19052
2017-08-30 11:23:29 +02:00
Aaron Bohy 551dc26940 [FIX] web: tab navigation in editable list with create="0"
Before this rev., when the user pressed 'TAB' in the last cell of
the last row of an editable list with attribute create="0", a new
line was added to the list, thus totally ignoring the attribute.
Now, it goes back to the first cell of the first row instead, as it
was before the new views.

Closes #19053
2017-08-30 11:23:28 +02:00
Goffin Simon f39bc44948 [FIX] stock_account:Manager Cannot Change Configuration Settings
When the user is a stock manager and has the Settings rights, he can
modify the inventory settings.

opw:767233
2017-08-30 10:14:59 +02:00
Katherine Zaoral 72dcb2eb91 [FIX] l10n_mx: Fix rst error in module description 2017-08-30 10:12:35 +02:00
Lucas Perais (lpe) e88f91ba41 [FIX] web_editor, website_sale: load images of the shop when product has been updated
Before this commit, when the shop was in multi images, the main image was not refreshed when changed in the back end.
This was because of the ?unique parameter that was computed on the product variant image. Hence, when the product image changed, the variant image did not, the hash neither, and the image wasn't refreshed

This commit fixes this by adding an option to the qweb.field.image

OPW 765287

closes #19133
2017-08-30 10:00:50 +02:00
Luis Ernesto Torres Macías 6630ce7e76 [FIX] l10n_mx: changing nature of accounts
Was PR #19137
2017-08-30 09:40:24 +02:00
qdp-odoo b2f2006b7f [FIX] account: sequence_number_next fixes.
-changing the date_invoice field do not reset anymore the sequence_number_next (it now only affects the prefix)
-the date_invoice is now passed as ir_sequence_date AND ir_sequence_date_range in the context, for sequences that use the date_range feature in prefixes
2017-08-30 09:16:47 +02:00
Xavier Morel 1222422333 [FIX] p3: race condition when *reloading* an existing db
When re-launching Odoo on an existing database in Python 3.6[0] it's
possible that the scheduler will preempt the main thread
mid-module-import and run the cron thread which causes registry (and
module) initialisation with only a subset of the Python files loaded
and thus e.g. tries loading auth_crypt with a registry in which none
of res has been loaded makes for interesting situations.

Delay spawning the cron thread until *after* the registry preload at
least, though I don't think that actually entirely fixes the issue.

[0] and probably in any Python >= 3.3, I'm guessing it's related to
    the per-module import locks which replaced the old global lock:
    https://docs.python.org/3.3/whatsnew/3.3.html#a-finer-grained-import-lock

    though since ir.cron has little reason to import anything it could
    also just be Python 3 scheduler changes which allow/cause a
    context-switch during imports while the Python 2 scheduler would
    not allow that. IDK.
2017-08-29 16:54:32 +02:00
Christophe Simonis 722dbcfa07 [FIX] hr_expense: also consider cash journals 2017-08-29 16:09:02 +02:00
Christophe Simonis 6c6ba6c78a [MERGE] forward port branch 9.0 up to 81908899fc 2017-08-29 16:07:03 +02:00
amoyaux 209fd529f8 [FIX] stock : check backorder compare apples and oranges.
The function that checks if we need a back oder or not compares
the initial demand and the quantity processed on the picking.

When unit of measure are activated the initial demand (product_qty)
uses the uom of the product. However the quantity processed on the move
(quantity_done) uses the uom of the move.

This commit uses product_uom_qty instead of product_qty. Product_uom_qty
represents the initial demand transformed with the uom of the move.
It also add a small test with a back order that ensure the quantities
are correct.

It also repairs the test stock flow where in some case immediate transfer
return the back order wizard instead of processing the move. In these cases
we catch the back order wizard and run it.
2017-08-29 15:22:07 +02:00
Aaron Bohy 4f61e7f048 [FIX] web: WidgetDomain: don't crash on false domain
Before this rev., when the value of a field with widget='domain'
was false, the search_count RPC made to display the number of
records matching the domain crashed, and the widget displayed that
the domain was invalid. This rev. adds a fallback on [] when the
domain is false.
2017-08-29 13:59:49 +02:00
Rohan Patel 81908899fc [IMP] l10n_vn: created new tags and assign them to taxes
task: https://www.odoo.com/web#id=22700&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19064
2017-08-29 13:38:50 +02:00
Christophe Matthieu e55aa95f2a [FIX] website_sale: very slow shop grid and product view
The problem is present because there are more than 1000 variants for each
product. For display, the price of each product is recalculated (instead
of looking only at the last product)

opw-766897
2017-08-29 13:27:15 +02:00