odoo/odoo#70274

Created by Bugfix, Andrea Grazioso (agr)
Merged at 242bf5024ce6ae9c32176cd1a65a4f57a242dd45

Statuses:

  • legal/cla: Contributor License Agreement check
  • ci/runbot: Odoo Test Suite
  • ci/upgrade_enterprise: Test upgrades for enterprise master
  • ci/template: Install databases to use to test upgrade in master and ensure that upgrades works with current master.
  • ci/style: Optional style check. Ignore it only if strictly necessary.
  • ci/security: Required security check. Can only be ignored by security team.
label
odoo-dev:12.0-opw-2510917-fix-agr
head
1da6782729376b466ae42b5b5eef3af18e781da3
merged
4 years ago by Bugfix, Andrea Grazioso (agr)
odoo/odoo
12.0 #70274
saas-12.3 #70350
13.0 #70353
14.0 #70355
saas-14.2 #70360
saas-14.3 #70365
15.0
16.0
17.0
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master #70368

[FIX] *: avoid cutting 0.0 value in first row

Have in a purchase order a first row with unit price 0
Export the PO adding unit price in the list of fields to export
The unit price is not reported

This occur because the first line of the order lines is meld with the
purchase order line but in the process the 0.0 values is discarded

opw-2510917

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr