Skip to content

Commit

Permalink
[12.0][MIG] stock_pack_operation_auto_fill
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Arroyo committed Jun 26, 2019
1 parent 40a6597 commit 1df8b02
Show file tree
Hide file tree
Showing 27 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
==============================
Stock Pack Operation Auto Fill
==============================
=========================
Stock Move Line Auto Fill
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -14,22 +14,22 @@ Stock Pack Operation Auto Fill
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/11.0/stock_pack_operation_auto_fill
:target: https://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_line_auto_fill
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-11-0/stock-logistics-workflow-11-0-stock_pack_operation_auto_fill
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_line_auto_fill
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/154/11.0
:target: https://runbot.odoo-community.org/runbot/154/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module alow auto fill quantities in picking operations and autoassignment
This module alows to auto fill quantities in picking operations and autoassignment
lots quantities.

In Odoo, if you schedule to transfer 50 product quantities and only receive 49
quantities, you have to change the quantity directly on the picking.
In Odoo, if you schedule to transfer 50 products and only receive 49, you have
to change the quantity directly on the picking.
As the quantity by default is 0 for each line, you have to write the received
quantity on 49 lines.

Expand All @@ -47,9 +47,6 @@ This module automatically assigns the reserved quantity as the done one, so
that you only have to change it in case of divergence, but having the
possibility of transferring directly.

Also this module adds a button in backorder confirmation wizard to auto
complete to do quantities for products without lots.

**Table of contents**

.. contents::
Expand Down Expand Up @@ -101,7 +98,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_pack_operation_auto_fill%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_move_line_auto_fill%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Expand All @@ -124,6 +121,7 @@ Contributors
* Vicent Cubells <[email protected]>
* Sergio Teruel <[email protected]>
* David Vidal <[email protected]>
* Jaime Arroyo (Creu Blanca) <[email protected]>

Maintainers
~~~~~~~~~~~
Expand All @@ -138,6 +136,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/11.0/stock_pack_operation_auto_fill>`_ project on GitHub.
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_line_auto_fill>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Stock Pack Operation Auto Fill',
'summary': "Stock pack operation auto fill",
'version': '11.0.2.0.1',
'name': 'Stock Move Line Auto Fill',
'summary': "Stock Move Line auto fill",
'version': '12.0.2.0.1',
'license': 'AGPL-3',
'author': 'ACSONE SA/NV,'
'Tecnativa,'
'Odoo Community Association (OCA)',
'website': 'https://github.com/stock-logistics-workflow/',
'website': 'https://github.com/OCA/stock-logistics-workflow/',
'depends': [
'stock',
],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ class StockPickingType(models.Model):

auto_fill_operation = fields.Boolean(
string="Auto fill operations",
help="To auto fill done quantity in picking document.\n"
"- If checked, auto fill done quantity automatically\n"
"- If unchecked, show button AutoFill"
" for user to do the auto fill manually",
)
avoid_lot_assignment = fields.Boolean(
string="Avoid auto-assignment of lots",
help="Avoid auto fill for more line with lots product",
default=True,
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
* Vicent Cubells <[email protected]>
* Sergio Teruel <[email protected]>
* David Vidal <[email protected]>
* Jaime Arroyo (Creu Blanca) <[email protected]>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This module alow auto fill quantities in picking operations and autoassignment
This module alows to auto fill quantities in picking operations and autoassignment
lots quantities.

In Odoo, if you schedule to transfer 50 product quantities and only receive 49
quantities, you have to change the quantity directly on the picking.
In Odoo, if you schedule to transfer 50 products and only receive 49, you have
to change the quantity directly on the picking.
As the quantity by default is 0 for each line, you have to write the received
quantity on 49 lines.

Expand All @@ -19,6 +19,3 @@ internal).
This module automatically assigns the reserved quantity as the done one, so
that you only have to change it in case of divergence, but having the
possibility of transferring directly.

Also this module adds a button in backorder confirmation wizard to auto
complete to do quantities for products without lots.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>Stock Pack Operation Auto Fill</title>
<title>Stock Move Line Auto Fill</title>
<style type="text/css">

/*
Expand Down Expand Up @@ -360,18 +360,18 @@
</style>
</head>
<body>
<div class="document" id="stock-pack-operation-auto-fill">
<h1 class="title">Stock Pack Operation Auto Fill</h1>
<div class="document" id="stock-move-line-auto-fill">
<h1 class="title">Stock Move Line Auto Fill</h1>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/11.0/stock_pack_operation_auto_fill"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-11-0/stock-logistics-workflow-11-0-stock_pack_operation_auto_fill"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/154/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module alow auto fill quantities in picking operations and autoassignment
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_line_auto_fill"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_line_auto_fill"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/154/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module alows to auto fill quantities in picking operations and autoassignment
lots quantities.</p>
<p>In Odoo, if you schedule to transfer 50 product quantities and only receive 49
quantities, you have to change the quantity directly on the picking.
<p>In Odoo, if you schedule to transfer 50 products and only receive 49, you have
to change the quantity directly on the picking.
As the quantity by default is 0 for each line, you have to write the received
quantity on 49 lines.</p>
<p>In this module we have added a button that helps users to fill automatically
Expand All @@ -385,8 +385,6 @@ <h1>Products with lots</h1>
<p>This module automatically assigns the reserved quantity as the done one, so
that you only have to change it in case of divergence, but having the
possibility of transferring directly.</p>
<p>Also this module adds a button in backorder confirmation wizard to auto
complete to do quantities for products without lots.</p>
<p><strong>Table of contents</strong></p>
</div>
<div class="section" id="configuration">
Expand Down Expand Up @@ -436,7 +434,7 @@ <h1>Bug Tracker</h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_pack_operation_auto_fill%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_move_line_auto_fill%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -464,6 +462,7 @@ <h2>Contributors</h2>
</dd>
</dl>
</li>
<li>Jaime Arroyo (Creu Blanca) &lt;<a class="reference external" href="mailto:jaime.arroyo&#64;creublanca.es">jaime.arroyo&#64;creublanca.es</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand All @@ -473,7 +472,7 @@ <h2>Maintainers</h2>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/11.0/stock_pack_operation_auto_fill">OCA/stock-logistics-workflow</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/12.0/stock_move_line_auto_fill">OCA/stock-logistics-workflow</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def setUp(self):
'location_id': self.picking_type_out.default_location_src_id.id,
'location_dest_id': self.customer_location.id,
})
self.dozen = self.env.ref('product.product_uom_dozen')
self.dozen = self.env.ref('uom.product_uom_dozen')

def test_compute_action_pack_operation_auto_fill_allowed(self):

Expand Down

0 comments on commit 1df8b02

Please sign in to comment.