-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stock_account_usability: show to_refund on stock.move form
- Loading branch information
1 parent
42e014b
commit de2e5f2
Showing
3 changed files
with
28 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2019-2020 Akretion France (http://www.akretion.com) | ||
# Copyright 2019-2021 Akretion France (http://www.akretion.com) | ||
# @author Alexis de Lattre <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
|
@@ -15,14 +15,13 @@ | |
The usability enhancements include: | ||
NONE | ||
- show to_refund on stock.move form view | ||
This module has been written by Alexis de Lattre from Akretion <[email protected]>. | ||
""", | ||
'author': 'Akretion', | ||
'website': 'http://www.akretion.com', | ||
'depends': ['stock_account'], | ||
'data': [ | ||
], | ||
'installable': False, | ||
'depends': ['stock_account', 'stock_usability'], | ||
'data': ['views/stock_move.xml'], | ||
'installable': True, | ||
} |
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright 2021 Akretion France (http://www.akretion.com/) | ||
@author: Alexis de Lattre <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
--> | ||
|
||
<odoo> | ||
|
||
|
||
<record id="view_move_form" model="ir.ui.view"> | ||
<field name="name">stock_account_usability.stock.move.form</field> | ||
<field name="model">stock.move</field> | ||
<field name="inherit_id" ref="stock_usability.view_move_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="price_unit" position="after"> | ||
<field name="to_refund" readonly="1"/> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
|
||
</odoo> |
This file was deleted.
Oops, something went wrong.