Add coupons and taxes lookup table generation to reports rebuild.

This commit is contained in:
Jeff Stieler 2019-01-15 15:12:51 -07:00
parent 84732137bc
commit a2f94c11ba
1 changed files with 2 additions and 0 deletions

View File

@ -422,6 +422,8 @@ class WC_Admin_Api_Init {
// TODO: schedule single order update if this fails?
WC_Admin_Reports_Orders_Stats_Data_Store::sync_order( $order_id );
WC_Admin_Reports_Products_Data_Store::sync_order_products( $order_id );
WC_Admin_Reports_Coupons_Data_Store::sync_order_coupons( $order_id );
WC_Admin_Reports_Taxes_Data_Store::sync_order_taxes( $order_id );
}
}