This is assuming you want to create a table based on a Order_product queryset.
class Order_productTable(tables.Table):
order_id2 = tables.Column()
product_id2 = tables.Column()
customer = tables.Column(accessor="order_id2.customer")
publication_date = tables.Column(accessor="order_id2.publication_date")