Commit 5b707ba0 authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid needless check.

In Vifib configuration invoices are simple.
parent 148367e5
......@@ -61,7 +61,8 @@ if related_simulation_movement_path_list is None:\n
invoice = context\n
\n
# if installed erp5_simplified_invoicing, set resource from price currency\n
if not invoice.Invoice_isAdvanced():\n
#if not invoice.Invoice_isAdvanced():\n
if 1:\n
if not invoice.getResource():\n
invoice.setResource(invoice.getPriceCurrency())\n
\n
......
457
\ No newline at end of file
458
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment