summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorArnaud Baes <arb@odoo.com>2019-03-05 08:43:48 +0000
committerArnold Moyaux <arm@odoo.com>2019-03-05 09:04:55 +0000
commit1d388450e5d8c956966fa493a5e0af17698b21bf (patch)
tree0d0d29829836be035e375ea7078b1cbc0f72aad0 /doc/reference/javascript_reference.rst
parent80ccdb314500542eec00d3194913135bdd6568a2 (diff)
[FIX] delivery: Package creation and default shipping weight in 'put in_pack`
The package creation was done even before the call of the 'choose.delivery.package' wizard, so the 'Discard' button of the wizard was useless. This commit fix this behaviour by creating the package only when the "put_in_pack" action is called from the wizard. The default weight is thus no more based on the default package but on the picking related to the package. The method 'manage_package', 'default_stock_quant_package_id', 'self._default_delivery_packaging_id' were removed since they are no more relevant. The method 'check_destinations' was refactored to '_pre_put_in_pack_hook' to avoid confusion related to its misleading name TaskID: 1924875 closes odoo/odoo#30324 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions