diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-05-19 12:13:45 +0000 |
|---|---|---|
| committer | Tiffany Chang (tic) <tic@odoo.com> | 2020-06-22 11:55:26 +0000 |
| commit | 06fa22728bca9069dab6f212bbf8c8a9fd91e7b5 (patch) | |
| tree | 147787b45c3e44ff01069437357ef5845fd430f7 /addons/stock/static/src/xml | |
| parent | 9c4b2b5a1d175788bcb81c509f6862de50609866 (diff) | |
[IMP] stock: update orderpoint view
This commit updates the orderpoint (replenishment) view with the
following changes:
- group "Min Quantity", "Max Quantity", and "To Order" together
- make preferred route "selection" only (note that widget="selection"
does not work in list view => standard workaround applied)
- renaming of order buttons: "Order" => "Order Once" and "Order Always"
=> "Automate Orders"
- add a link to forecasted inventory report for the product (note this
link will show even if there is no data to show in the report)
- remove class decorates from replenishing related buttons ("Order
Once", "Automate Orders", and "Snooze")
Specifications 14 and 15 of inventory usability task.
Task: 2206279
Related Enterprise PR: odoo/enterprise#10723
closes odoo/odoo#51681
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/stock/static/src/xml')
| -rw-r--r-- | addons/stock/static/src/xml/stock_orderpoint.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/stock/static/src/xml/stock_orderpoint.xml b/addons/stock/static/src/xml/stock_orderpoint.xml index 0985d7ff022..a9155181300 100644 --- a/addons/stock/static/src/xml/stock_orderpoint.xml +++ b/addons/stock/static/src/xml/stock_orderpoint.xml @@ -29,6 +29,11 @@ </tr> </tbody> </table> + <button class="text-left btn btn-link action_open_forecast" + type="button"> + <i class="fa fa-fw o_button_icon fa-arrow-right"></i> + View Forecast + </button> </div> <t t-name="StockOrderpoint.Buttons"> |
