Commit 260878ec authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_l10n_fr: reduce the number of simulation states when querying inventory

parent b700c39d
...@@ -42,7 +42,7 @@ for tax, value_list in tax_property_name_list.items(): ...@@ -42,7 +42,7 @@ for tax, value_list in tax_property_name_list.items():
at_date=year_stop_date, at_date=year_stop_date,
section_uid=context.getUid(), section_uid=context.getUid(),
portal_type="Accounting Transaction Line", portal_type="Accounting Transaction Line",
simulation_state=['stopped', 'delivered', 'started', 'confirmed'], simulation_state=['stopped', 'delivered'],
) )
annual_tax_list.append({ annual_tax_list.append({
'tax_code': (value_list[0] if is_subjected else value_list[1]), 'tax_code': (value_list[0] if is_subjected else value_list[1]),
......
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