diff options
| author | yhu-odoo <yhu@odoo.com> | 2020-07-28 12:18:05 +0000 |
|---|---|---|
| committer | yhu-odoo <yhu@odoo.com> | 2020-08-11 12:19:08 +0000 |
| commit | 2cd1aec3d09495554c7ea931d278392c180958b8 (patch) | |
| tree | fcaeefd085d3b4ee21df249df9fa127f645a2030 /addons/purchase/data/mail_template_data.xml | |
| parent | a5cca2cda3b5dc9468961fe7bebeb1257d67ecdd (diff) | |
[FIX] purchase_stock: set propagate_date according to buy rule
Before this commit, when we manually create a PO line, the
propagate_date will always be false. So the change on scheduled date
will never pass to corresponding move.
After this commit, when create a PO line, if no propagate_date for it,
we find if the product has a route with a buy rule. If yes, use the
setting on its first buy rule, if no, set the default to be true.
Task 2298950
PR #55155
Diffstat (limited to 'addons/purchase/data/mail_template_data.xml')
0 files changed, 0 insertions, 0 deletions
