Skip to content

Commit

Permalink
[FIX]stock_ux:Replace for bad performance
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadhoc committed Oct 26, 2023
1 parent 8595468 commit 7b40732
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stock_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Stock UX',
'version': "16.0.2.10.0",
'version': "16.0.2.11.0",
'category': 'Warehouse Management',
'sequence': 14,
'summary': '',
Expand Down Expand Up @@ -48,6 +48,7 @@
'views/stock_picking_type_views.xml',
'views/report_deliveryslip.xml',
'views/res_config_settings_views.xml',
'views/production_lot.xml',
'wizards/stock_operation_wizard_views.xml',
'report/stock_ux_report.xml',
'report/ir.action.reports.xml',
Expand Down
13 changes: 13 additions & 0 deletions stock_ux/views/production_lot.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<odoo>
<record id="view_production_lot_tree_inherit" model="ir.ui.view">
<field name="name">stock.production.lot.tree.inherit</field>
<field name="model">stock.lot</field>
<field name="inherit_id" ref="stock.view_production_lot_tree"/>
<field name="arch" type="xml">
<!-- Este campo es computado y al cargar muchos lotes demora un tiempo considerable, comentamos hasta que Odoo arregle -->
<field name="last_delivery_partner_id" position="replace">
</field>
</field>
</record>
</odoo>

0 comments on commit 7b40732

Please sign in to comment.