Skip to content

Commit

Permalink
[3403][ADD] stock_move_line_move_location (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Yoshi Tashiro <tashiro@quartile.co>
  • Loading branch information
AungKoKoLin1997 and yostashiro authored May 30, 2023
1 parent 99ae12a commit 346db18
Show file tree
Hide file tree
Showing 12 changed files with 610 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_move_line_move_location/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
57 changes: 57 additions & 0 deletions stock_move_line_move_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
=============================
Move Stock Line Move Location
=============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Faxls--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/axls-custom/tree/16.0/stock_move_line_move_location
:alt: qrtl/axls-custom

|badge1| |badge2| |badge3|

This module extends the function of stock_move_location module to allow creation of
transfers based on stock.move.line records.

The module was developed for a rather peculiar need of just removing the inventory
of the received products, which has been consumed in production straight away, where
the user of the manufacturing order has not been implemented.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/axls-custom/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/qrtl/axls-custom/issues/new?body=module:%20stock_move_line_move_location%0Aversion:%2016.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.

Credits
=======

Authors
~~~~~~~

* Quartile Limited

Maintainers
~~~~~~~~~~~

This module is part of the `qrtl/axls-custom <https://github.com/qrtl/axls-custom/tree/16.0/stock_move_line_move_location>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions stock_move_line_move_location/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizard
17 changes: 17 additions & 0 deletions stock_move_line_move_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Move Stock Line Move Location",
"version": "16.0.1.0.0",
"author": "Quartile Limited",
"summary": "This module allows to move all stock "
"in a stock location to an other one in moves history.",
"website": "https://www.quartile.co",
"license": "AGPL-3",
"depends": ["stock_move_location"],
"category": "Stock",
"data": [
"data/stock_move_line_view.xml",
],
}
12 changes: 12 additions & 0 deletions stock_move_line_move_location/data/stock_move_line_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="wiz_stock_move_line_location_action" model="ir.actions.act_window">
<field name="name">Move to location...</field>
<field name="res_model">wiz.stock.move.location</field>
<field name="binding_model_id" ref="stock.model_stock_move_line" />
<field name="view_mode">form</field>
<field name="context" eval="{'origin_location_disable': True}" />
<field name="target">new</field>
<field name="groups_id" eval="[(4, ref('stock.group_stock_user'))]" />
</record>
</odoo>
33 changes: 33 additions & 0 deletions stock_move_line_move_location/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_move_line_move_location
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-19 08:56+0000\n"
"PO-Revision-Date: 2023-05-19 08:56+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_move_line_move_location
#: model:ir.actions.act_window,name:stock_move_line_move_location.wiz_stock_move_line_location_action
msgid "Move to location..."
msgstr "ロケーション移動"

#. module: stock_move_line_move_location
#. odoo-python
#: code:addons/stock_move_line_move_location/wizard/stock_move_location.py:0
#, python-format
msgid "There is more than one location in selected move lines."
msgstr "複数移動元ロケーションを選択することはできません。"

#. module: stock_move_line_move_location
#: model:ir.model,name:stock_move_line_move_location.model_wiz_stock_move_location
msgid "Wizard move location"
msgstr "ロケーション移動ウィザード"
6 changes: 6 additions & 0 deletions stock_move_line_move_location/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This module extends the function of stock_move_location module to allow creation of
transfers based on stock.move.line records.

The module was developed for a rather peculiar need of just removing the inventory
of the received products, which has been consumed in production straight away, where
the user of the manufacturing order has not been implemented.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 346db18

Please sign in to comment.