Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] sale_stock_ux: force to update invoice report view
to avoid problem with _get_invoiced_lot_values closes #608 Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |