Current record is lost when duplicating in form view
Can be reproduced on tryton 7.0 with the following steps:
- Go to an existing invoice and open its form view.
- Use the duplicate button to copy it.
Current behviour: The record is duplicated but all form values are empty Expected behaviour: The duplicated record is shown on the form
This only affects tryton, perfoming the same behaviour on sao works as expected.