Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[FIX] purchase: Only use purchase UOM on vendor bill #256

Closed keylor2906 closed 6 years ago

keylor2906 commented 6 years ago

It was the purpose of this commit fea667a2433dfc2387daa7051989e840d30e18e0 However it uses purchase uom in any cases and not only vendor bill.

This commit correct it by using it only if a purchase order is linked to the invoice.

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

dsabrinarg commented 6 years ago

@nhomar @moylop260 may you please merge this PR? (same fix proposed by Odoo for this issue).