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

OCA / stock-logistics-workflow / 2315 / 4
89%
9.0: 89%

Build:
DEFAULT BRANCH: 9.0
Ran 01 Oct 2018 02:31PM UTC
Files 52
Run time 2s
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

01 Oct 2018 12:30PM UTC coverage: 86.84% (+0.4%) from 86.48%
TESTS="1" ODOO_REPO="OCA/OCB"

push

travis-ci

pedrobaeza
[9.0][REF]stock_auto_move: fix action_assign() (#373)

* The `_apply` method should not be overridden. In case of three step
operation with the last step set to auto move. The override of the
`_apply` method was causing the second move to be automatic as well.

**Use case**: doing a reception operation in two steps where the moves on
the second step are set to be automatic (using the push rule in this
case), and the reception is done partially.
**Expected Result**: When doing a first reception step partially a back
order is created, and we expect the second step to have a back order for
the remaining qty as well.
**Current behavior**: The correct move is processed automatically but no
backorder is created. The reason for that behavior is we processing the
move directly (i.e calling `action_done` of the `stock.move`) without
going through the normal process (i.e processing the second step
picking).
**The solution to the problem**: The processing the of the automatic
stock move should follow the same behavior as done from the user interface.
I've added a new function in `stock.picking` model called
`_transfer_pickings_with_auto_move` to simulate the same behavior this
function is called inside the `action_assign` of the stock move instead
of calling the `action_done` of the move.

1168 of 1345 relevant lines covered (86.84%)

0.87 hits per line

Source Files on job 2315.4 (TESTS="1" ODOO_REPO="OCA/OCB")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2167
  • Travis Job 2315.4
  • a851aad5 on github
  • Prev Job for TESTS="1" ODOO_REPO="OCA/OCB" on 9.0 (#2218.4)
  • Next Job for TESTS="1" ODOO_REPO="OCA/OCB" on 9.0 (#2318.4)
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