Skip to content

Commit

Permalink
[ADD] sale_stock_ux: force to update invoice report view
Browse files Browse the repository at this point in the history
to avoid problem with _get_invoiced_lot_values

X-original-commit: f480fa0
  • Loading branch information
zaoral committed Feb 13, 2023
1 parent 2d0c000 commit 3cb4c66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sale_stock_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Sale Stock UX',
'version': "15.0.2.0.0",
'version': "15.0.2.1.0",
'category': 'Sales',
'sequence': 14,
'summary': '',
Expand Down
11 changes: 11 additions & 0 deletions sale_stock_ux/migrations/15.0.2.1.0/post-migration.py
@@ -0,0 +1,11 @@
from openupgradelib import openupgrade
import logging

logger = logging.getLogger(__name__)


@openupgrade.migrate()
def migrate(env, version):
logger.info('Forzamos la actualizacion del reporte de factura en sale_stock porque necesitamos que este solventado el problema con el metodo _get_invoiced_lot_values')
openupgrade.load_data(
env.cr, 'stock_account', 'views/report_invoice.xml')

0 comments on commit 3cb4c66

Please sign in to comment.