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

OCA / purchase-workflow / 1215
86%

Build:
DEFAULT BRANCH: 9.0
Ran 24 Nov 2016 10:55PM UTC
Jobs 2
Files 18
Run time 43s
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

pending completion
1215

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.

60 of 60 new or added lines in 2 files covered. (100.0%)

422 of 605 relevant lines covered (69.75%)

1.4 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1215.3 (TESTS="1" ODOO_REPO="odoo/odoo") 24 Nov 2016 10:55PM UTC 0
69.75
Travis Job 1215.3
4 1215.4 (TESTS="1" ODOO_REPO="OCA/OCB") 24 Nov 2016 10:56PM UTC 0
69.75
Travis Job 1215.4
Source Files on build 1215
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1215
  • 175c2c1c on github
  • Prev Build on 9.0 (#1211)
  • Next Build on 9.0 (#1216)
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