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

closes #608

Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
  • Loading branch information
zaoral committed Dec 28, 2022
1 parent 1dc5a82 commit f480fa0
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': '13.0.1.11.0',
'version': '13.0.1.12.0',
'category': 'Sales',
'sequence': 14,
'summary': '',
Expand Down
11 changes: 11 additions & 0 deletions sale_stock_ux/migrations/13.0.1.12.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, 'sale_stock', 'views/report_invoice.xml')

0 comments on commit f480fa0

Please sign in to comment.