Moved @odata.draft.enabled to app model

This commit is contained in:
Daniel
2020-02-15 14:25:15 +01:00
parent e2b47228db
commit 02469acebb
2 changed files with 1 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ annotate AdminService.OrderItems with {
} }
@odata.draft.enabled
annotate AdminService.Orders with @( annotate AdminService.Orders with @(
UI: { UI: {
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////

View File

@@ -6,10 +6,6 @@ service AdminService @(_requires:'authenticated-user') {
entity Orders as select from my.Orders; entity Orders as select from my.Orders;
} }
// Enable Fiori Draft for Orders
annotate AdminService.Orders with @odata.draft.enabled;
// annotate AdminService.Books with @odata.draft.enabled;
// Temporary workaround -> cap/issues#3121 // Temporary workaround -> cap/issues#3121
extend service AdminService with { extend service AdminService with {
entity OrderItems as select from my.OrderItems; entity OrderItems as select from my.OrderItems;