Issue with Salary Structure V11

Try to create Salary Structure but there is not option for add employee V11

Hi,
Salary Structure Assignment is the new document introduced in V11 to assign Salary Structure to Employee.
If you specify Max Benefit Amount, you should add a component which is of type Flexible Benefit. Will update the documentation for this and let you know.
Thanks

i try flexible . now show another error

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 62, in application
    response = frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
    data = execute_cmd(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 53, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 942, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_structure/salary_structure.py", line 71, in make_salary_slip
    }, target_doc, postprocess, ignore_child_tables=True)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/mapper.py", line 110, in get_mapped_doc
    postprocess(source_doc, target_doc)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_structure/salary_structure.py", line 61, in postprocess
    target.run_method('process_salary_structure')
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 765, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1040, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1023, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 759, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_slip/salary_slip.py", line 268, in process_salary_structure
    self.calculate_net_pay()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_slip/salary_slip.py", line 424, in calculate_net_pay
    self.calculate_component_amounts()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_slip/salary_slip.py", line 71, in calculate_component_amounts
    self.add_employee_flexi_benefits(struct_row)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_slip/salary_slip.py", line 112, in add_employee_flexi_benefits
    struct_row, self._salary_structure_doc, self.total_working_days, self.payroll_frequency)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/employee_benefit_application/employee_benefit_application.py", line 180, in get_benefit_component_amount
    period_factor, actual_payroll_days = get_payroll_period_days(start_date, end_date, employee)
TypeError: 'bool' object is not iterable

Please raise an issue https://github.com/frappe/erpnext/issues
Thanks