Commit Graph

6 Commits

Author SHA1 Message Date
tslai
83670d36f3 [IMP] Simplify logic 2020-09-17 17:01:19 +08:00
tslai
5329008246 [FIX] Overwrite active_id context in create() 2020-09-16 15:21:41 +08:00
Pedro M. Baeza
45a66e4b90 [FIX] mrp_subcontracting: Avoid singleton error fetching production order
On v12 and with chained moves coming from sales, procurement, etc, move_orig_ids
contains that full chain, so we get a singleton error.

But as we want the subcontracting production, using mapped, we get that single
record, so we apply this solution everywhere where it's needed.
2020-08-04 14:43:48 +02:00
Pedro M. Baeza
f32ce8ba46 [MIG] mrp_subcontracting: Adapt to v12 + make tests to pass 2020-05-10 17:56:24 +02:00
Alexandre Diaz
0426acf030 [MIG] mrp_subcontracting: Adapt to OCA guidelines + initial work 2020-05-10 17:56:24 +02:00
Odoo
f3a0fc97fc [ADD] mrp_subcontracting: Copied from 13.0 2020-05-10 17:56:24 +02:00