Skip to content

Commit

Permalink
BB-1996: Update visibility demo data
Browse files Browse the repository at this point in the history
 - added process trigger for category creation
 - removed custom visibilities from demo data
  • Loading branch information
Yevhen Shyshkin authored and michael-oro committed Jan 26, 2016
1 parent eb3787b commit 5e3f797
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ public function getDependencies()
{
return [
'OroB2B\Bundle\ProductBundle\Migrations\Data\Demo\ORM\LoadProductDemoData',
__NAMESPACE__ . '\LoadAccountDemoData',
'OroB2B\Bundle\WebsiteBundle\Migrations\Data\Demo\ORM\LoadWebsiteDemoData',
__NAMESPACE__ . '\LoadAccountDemoData',
__NAMESPACE__ . '\LoadCategoryVisibilityDemoData',
];
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
"category","all","account","accountGroup","visibility"
"Healthcare","true","","","hidden"
"Healthcare","","Company A","","visible"
"Healthcare","","","Partners","visible"
"Healthcare","","","Wholesale Accounts","visible"
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
"product","website","all","account","accountGroup","visibility"
"HSTUC","Default","true","","","hidden"
"HSTUC","Default","","Company A","","visible"
"HSTUC","Default","","","All Customers","category"
"HSTUC","Default","","","Partners","visible"
"HSTUC","Default","","","Wholesale Accounts","visible"
"HSSUC","US","true","","","hidden"
"HSSUC","US","","Company A - East Division","","hidden"
"HSSUC","US","","","All Customers","category"
"HSSUC","US","","","Partners","visible"
"HSSUC","US","","","Wholesale Accounts","hidden"
"HLCU","Australia","true","","","visible"
"HLCU","Australia","","Company A - West Division","","visible"
"HLCU","Australia","","","All Customers","visible"
"HLCU","Australia","","","Partners","visible"
"HLCU","Australia","","","Wholesale Accounts","visible"
"HPGMPUE","Mexico","true","","","hidden"
"HPGMPUE","Mexico","","Company A","","hidden"
"HPGMPUE","Mexico","","","All Customers","hidden"
"HPGMPUE","Mexico","","","Partners","hidden"
"HPGMPUE","Mexico","","","Wholesale Accounts","hidden"
2 changes: 2 additions & 0 deletions src/OroB2B/Bundle/AccountBundle/Resources/config/process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ triggers:
event: update

category_position_cache_clear:
-
event: create
-
event: update
field: parentCategory
Expand Down

0 comments on commit 5e3f797

Please sign in to comment.