Mig account_usability, sale_stock_usability, sale_usability, stock_usability
New module stock_account_usability
This commit is contained in:
1
stock_account_usability/__init__.py
Normal file
1
stock_account_usability/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import wizard
|
||||
28
stock_account_usability/__manifest__.py
Normal file
28
stock_account_usability/__manifest__.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2019 Akretion (http://www.akretion.com)
|
||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
|
||||
{
|
||||
'name': 'Stock Account Usability',
|
||||
'version': '12.0.1.0.0',
|
||||
'category': 'Hidden',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Several usability enhancements on stock_account',
|
||||
'description': """
|
||||
Stock Account Usability
|
||||
=======================
|
||||
|
||||
The usability enhancements include:
|
||||
|
||||
* TODO update the list
|
||||
|
||||
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||
""",
|
||||
'author': 'Akretion',
|
||||
'website': 'http://www.akretion.com',
|
||||
'depends': ['stock_account'],
|
||||
'data': [],
|
||||
'installable': True,
|
||||
}
|
||||
12
stock_account_usability/wizard/stock_return_picking.py
Normal file
12
stock_account_usability/wizard/stock_return_picking.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2019 Akretion France (https://akretion.com/)
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class StockReturnPickingLine(models.TransientModel):
|
||||
_inherit = 'stock.return.picking.line'
|
||||
|
||||
to_refund = fields.Boolean(default=True)
|
||||
Reference in New Issue
Block a user