diff options
| author | Anh Thao Pham (pta) <pta@odoo.com> | 2020-09-07 14:14:48 +0000 |
|---|---|---|
| committer | Anh Thao Pham (pta) <pta@odoo.com> | 2020-09-09 06:14:59 +0000 |
| commit | 584389c40809d5bcc04c807b9eef4e8f33c6960e (patch) | |
| tree | 4d62de5125f69479e97fb047cba4e589697bbf88 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 74b762da63e159b1965428b2bcb972293c4efea6 (diff) | |
[FIX] purchase_requisition: fix required UOM in Purchase Agreement lines
- Install "purchase_requisition"
- Go to Inventory > Settings and activate "Units of Measure"
- Go to Purchase > Purchase Agreements and create one:
* select a product and remove UOM
- Confirm it and click on "NEW QUOTATION"
An exception occurs with the following message:
"ValueError: Expected singleton: uom.uom()"
"product_uom_id" field of "purchase.requisition.line" model should be required.
opw-2332654
closes odoo/odoo#57311
X-original-commit: 82c727a766f5b7a9554d9766e4eb5c448eae8e31
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
