Mig account_usability, sale_stock_usability, sale_usability, stock_usability

New module stock_account_usability
This commit is contained in:
Alexis de Lattre
2019-02-04 20:00:41 +01:00
parent 1a193dcbec
commit 9f1cf7af1e
39 changed files with 210 additions and 432 deletions

View File

@@ -1,4 +1,2 @@
# -*- coding: utf-8 -*-
from . import sale_stock
from . import wizard

View File

@@ -1,12 +1,11 @@
# -*- coding: utf-8 -*-
# © 2015-2016 Akretion (http://www.akretion.com)
# Copyright 2015-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': 'Sale Stock Usability',
'version': '10.0.1.0.3',
'version': '12.0.1.0.0',
'category': 'Sales Management',
'license': 'AGPL-3',
'summary': 'Small usability improvements to the sale_stock module',
@@ -16,8 +15,7 @@ Sale Stock Usability
The usability enhancements include:
* *To invoice* filter on pickings filters on invoice_state = 2binvoiced AND state = done
* Add a tab with the list of related pickings in sale order form
* TODO update the list
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
""",

View File

@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# © 2015-2016 Akretion (http://www.akretion.com)
# Copyright 2015-2019 Akretion France (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import models, fields
from odoo import models, fields
class SaleOrder(models.Model):

View File

@@ -1,28 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2015-2016 Akretion (http://www.akretion.com/)
Copyright 2015-2019 Akretion France (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<!-- the truck icon is probably enough
<record id="view_order_form_inherit" model="ir.ui.view">
<field name="name">sale_stock_usability.sale_order_form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale_stock.view_order_form_inherit"/>
<field name="arch" type="xml">
<notebook position="inside">
<page string="Delivery Orders" states="progress,waiting_date,manual,invoice_except,shipping_except,done">
<field name="picking_ids" nolabel="1"/>
</page>
</notebook>
</field>
</record>
-->
<record id="view_picking_form" model="ir.ui.view">
<field name="name">sale_stock_usability.stock.picking.form</field>
<field name="model">stock.picking</field>
@@ -34,4 +19,15 @@
</field>
</record>
<record id="view_move_form" model="ir.ui.view">
<field name="name">sale_stock_usability.stock_move.form</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_form"/>
<field name="arch" type="xml">
<field name="origin" position="after">
<field name="sale_line_id" readonly="1"/>
</field>
</field>
</record>
</odoo>

View File

@@ -1,3 +1 @@
# -*- coding: utf-8 -*-
from . import stock_return_picking

View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# Copyright 2017-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, api