Skip to content

Commit

Permalink
adj
Browse files Browse the repository at this point in the history
  • Loading branch information
AungKoKoLin1997 committed Aug 27, 2024
1 parent 6ac21b5 commit e5dca3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions purchase_order_migration/models/purchase_order_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def _run_purchase_order_data_migration(self):
"shop_id",
"purchase_by_id",
"allow_convert",
"invoice_status",
# 'sale_order_id', # To check need to migrate or not
]
instance, uid_v11, models_v11 = self._data_migration_authentication()
Expand Down Expand Up @@ -133,6 +134,7 @@ def _process_purchase_order_migration(self, purchase):
"state": state,
}
)
order.invoice_status = purchase["invoice_status"]

def create_purchase_order_line(self, order, state):
required_fields = [
Expand Down

0 comments on commit e5dca3e

Please sign in to comment.