Skip to content

Commit

Permalink
[MIG] stock_picking_responsible: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc committed Apr 4, 2023
1 parent b040e88 commit 7f88426
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion stock_picking_responsible/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Stock Picking Responsible
=========================

Create a new field "Responsible" on pickings and also show it also in stock move views.
Create a new field "Responsible" on stock move lines, related to the respective pickings field.

Installation
============
Expand Down
4 changes: 2 additions & 2 deletions stock_picking_responsible/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Stock Picking Responsible',
'version': "15.0.1.0.0",
'version': "16.0.1.0.0",
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand All @@ -37,7 +37,7 @@
],
'demo': [
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
}
2 changes: 1 addition & 1 deletion stock_picking_responsible/views/stock_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</tree>
</field>
</record>

<record id="view_move_form" model="ir.ui.view">
<field name="name">stock.move.form.inherit</field>
<field name="model">stock.move</field>
Expand Down
11 changes: 0 additions & 11 deletions stock_picking_responsible/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
<?xml version="1.0"?>
<odoo>
<record id="view_picking_form" model="ir.ui.view">
<field name="name">stock.picking.form.inherit</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="user_id" attrs="{'readonly': [('state', '=', 'done')]}"/>
</field>
</field>
</record>

<record id="view_picking_internal_search" model="ir.ui.view">
<field name="name">stock.picking.internal.search.inherit</field>
<field name="model">stock.picking</field>
Expand Down

0 comments on commit 7f88426

Please sign in to comment.