• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / purchase-workflow / 1215 / 3
86%
9.0: 86%

Build:
DEFAULT BRANCH: 9.0
Ran 24 Nov 2016 10:55PM UTC
Files 18
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Nov 2016 10:51PM UTC coverage: 69.752% (+3.3%) from 66.422%
TESTS="1" ODOO_REPO="odoo/odoo"

push

travis-ci

web-flow
[ADD] purchase_order_variant_mgmt (#288)

==================================================
Handle easily multiple variants on Purchase Orders
==================================================

This module allows to add/modify all the variants of a product in a direct
screen without the need of handling them one by one.

Configuration
=============

* Configure your user to have any permission from "Purchases" group.
* Create a product with 2 attributes and several values.

Usage
=====

* Go to Purchases > Purchase > Requests for Quotation
* Create a new quotation or edit an existing one.
* Press "Add variants" button located in the upper right corner of the
  "Order Lines" tab.
* A new screen will appear allowing you to select the products that have
  variants.
* Once you select the product, a 2D matrix will appear with the first
  attribute values as columns and the second one as rows.
* If there are already order lines for the product variants, the current
  quantity will be pre-filled in the matrix.
* Change the quantities for the variant you want and click on "Transfer to
  order"
* Order lines for the variants will be created/removed to comply with the
  input you have done.

As extra feature for saving steps, there's also a button on each existing line
that corresponds to a variant that opens the dialog directly with the product
selected.

Known issues / Roadmap
======================

* The inline button for modifying quantities for an existing line won't
  work correctly until these 2 PRs are merged in Odoo:

  * https://github.com/odoo/odoo/pull/13558
  * https://github.com/odoo/odoo/pull/13635

  The problems are already fixed in OCB.

422 of 605 relevant lines covered (69.75%)

0.7 hits per line

Source Files on job 1215.3 (TESTS="1" ODOO_REPO="odoo/odoo")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1215
  • Travis Job 1215.3
  • 175c2c1c on github
  • Prev Job for TESTS="1" ODOO_REPO="odoo/odoo" on 9.0 (#1211.3)
  • Next Job for TESTS="1" ODOO_REPO="odoo/odoo" on 9.0 (#1216.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc