-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#64784 [ADD] stock_location_dest_width : width reset
- Loading branch information
1 parent
4b7579f
commit edad9ac
Showing
8 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Stock Location Destination Width | ||
================================ | ||
This module adjusts the width of the destination location field in the detailed operation wizard | ||
to its default rendering. | ||
|
||
.. image:: static/description/detailed_operation_wizard.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Copyright 2024 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2024 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Stock Location Destination Width", | ||
"version": "1.0.0", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"website": "https://bit.ly/numigi-com", | ||
"license": "AGPL-3", | ||
"category": "Stock", | ||
"depends": [ | ||
"stock", | ||
], | ||
"summary": """ | ||
Adjusts the width of the destination location field | ||
in the detailed operation wizard. | ||
""", | ||
"data": [ | ||
"views/stock_move_views.xml", | ||
], | ||
"installable": True, | ||
} |
Binary file added
BIN
+88.4 KB
stock_location_dest_width/static/description/detailed_operation_wizard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="view_stock_move_line_operation_tree_inherit" model="ir.ui.view"> | ||
<field name="name">stock.move.line.operations.tree.inherit</field> | ||
<field name="model">stock.move.line</field> | ||
<field name="inherit_id" ref="stock.view_stock_move_line_operation_tree"/> | ||
<field name="arch" type="xml"> | ||
<!-- remove width attributes on location_dest_id, set it to default render --> | ||
<xpath expr="//field[@name='location_dest_id']" position="attributes"> | ||
<attribute name="width"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
|
||
</odoo> |