metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Window layout's "supportNewRecord" is always false #550

Open teosarca opened 7 years ago

teosarca commented 7 years ago

Is this a bug or feature request?

bug

What is the current behavior?

The "supportNewRecord" flag is always false.

Which are the steps to reproduce?

Open a window where user is allowed to create new records (e.g. sales order) and check the layout (e.g. https://w101.metasfresh.com:8443/rest/api/documentView/143/layout?viewType=grid&supportTree=true )

What is the expected or desired behavior?

The flag is false but it shall be true because user is alowed to create new sales orders.

teosarca commented 7 years ago

NOTE: atm the frontend is not respecting this flag. After we fix it, we shall also fix it on frontend side, i.e. fontend shall consider that flag.