diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-03 14:30:17 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-04-03 14:30:17 +0700 |
| commit | 72b6d34df5606cf2be49bb66936be092b86c9d15 (patch) | |
| tree | 971eddbc5eb0f84258886a744e85607fa90fb63c /indoteknik_custom/models/automatic_purchase.py | |
| parent | 357c51e9d3f73831d7b565ac8e1beb83430931ef (diff) | |
Change request automatic purchase and bug fixing
Diffstat (limited to 'indoteknik_custom/models/automatic_purchase.py')
| -rw-r--r-- | indoteknik_custom/models/automatic_purchase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py index 4a892b05..485f7a45 100644 --- a/indoteknik_custom/models/automatic_purchase.py +++ b/indoteknik_custom/models/automatic_purchase.py @@ -187,7 +187,7 @@ class AutomaticPurchase(models.Model): # i start from zero (0) for i in range(page): new_po = self.env['purchase.order'].create([param_header]) - new_po.name = new_po.name + "/A/" + str(i + 1) + new_po.name = new_po.name + "/B/" + str(i + 1) self.env['automatic.purchase.match'].create([{ 'automatic_purchase_id': self.id, |
