Commit Graph
12 Commits
Author SHA1 Message Date
Dhaval Panchal b1b3de1339 [REF] stock: no more global push/pull rules
Global push/pull rules are error prone and can be replaced efficiently
by creating a "global" route.

There was an odd behavior when you delete a route, the different rules
of this route were'nt deleted and thus became global. A lot of users
didn't understand that, so to avoid this unexpected behaviour, we
delete on cascade the push and pull rules when a route is deleted.

To avoid inconsistencies in the system, we also restrict the deletion of
rules when they are used in a stock move or in a procurement. We also
restrict the deletion of routes used in warhouses and order lines.

We change the global pull rule test by applying the procurement rule on
a route and apply this route on a product.

Menu items related to global rules are removed, so are the logic to look
for them in the methods looking for which pull/push rule to apply.

joint work by @dpa-odoo, @pimodoo and @sle-odoo
2017-02-17 13:21:58 +01:00
Kinjal Mehta b0185e15cc [FIX] all: fix some common typos
Sale Order --> Sales Order
Sale Report --> Sales Report
Sale Team -> Sales Team
Payment Term --> Payment Terms
2016-12-22 13:29:38 +01:00
Fabien Pinckaers e41d3fb036 [IMP] sale_timesheet: add ability to assign a task to a SO line for invoicing (debug mode); better ux 2016-12-20 21:11:20 +01:00
Jérome Maes 13f84b9aca [REM] *: remove ir.needaction mixin
ir.needaction_mixin is not used anymore by the webclient.
From 9.0, the concept has changed: this feature is now
available in mail module, with the mail.thread mixin,
and message_neeadction field.

Remove all code handeling needaction bullet and
counter on ir.ui.menu, knowing that since 9.0
webclient does not display the counter anymore.

This code was, thus, useless and some RPC calls
were done for nothing, and adapt accounting
reconcialiation widget.
2016-12-05 11:30:03 +01:00
Kinjal Mehta c3094640e0 [IMP] procurement,stock: Use a handle widget on procurement rules
- Hide the field in the form views
- Order by sequence then by name
- Display a handle widget on list views
2016-11-17 15:41:09 +01:00
Christophe Simonis 235ed4b2c1 [MERGE] forward port branch saas-12 up to 9ad5f26 2016-08-20 18:08:19 +02:00
Thibault Delavallée 3a1f84ff27 [MIG] procurement: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée c8a313d51e [IMP] various: use odoo for imports instead of openerp and update class names 2016-08-10 15:48:07 +02:00
Thibault Delavallée 16d462da8c [FIX] various: fix fields index parameter in new API still called select 2016-08-09 11:29:57 +02:00
Thibault Delavallée 838a6f2000 [FIX] varioius: fix digits_compute attribute changed to digits in new API 2016-08-09 11:00:10 +02:00
mtr-odoo e924881f7c [MIGR] procurement 2016-07-04 16:22:36 +02:00
mtr-odoo c458756f0a [MOV] procurement: move and split 2016-07-04 16:22:36 +02:00