POS-Awesome icon indicating copy to clipboard operation
POS-Awesome copied to clipboard

[BUG]: With latest update in version-13, batch prices are not fetched properly

Open mujeerhashmi opened this issue 1 year ago • 1 comments

Versions

erpnext 13.52.0 frappe 13.57.4 posawesome 3.6.0

Stacktrace / full error message

(paste here)

Steps to reproduce

Open POSAwesome and the rate for all the items is zero.

What is Expected?

The batch prices needs to be fetched properly for all items.

What is actually happening?

The Batch doctype ended with 2 fields of the same name posa_batch_price. The latest one is zero & therefore in posawesome the prices are 0 for all items. Describe tabBatch shows something like this.

| posa_btach_price   | decimal(21,9) | NO   |     | 0.000000000 |       |
| posa_batch_price   | decimal(21,9) | NO   |     | 0.000000000 |       |

Additional context

Add any other context about the problem here.

Screenshots

If applicable, could you add screenshots to help explain your problem?

mujeerhashmi avatar Jul 12 '23 07:07 mujeerhashmi

Ok I see the field was renamed for typo posa_btach_price to posa_batch_price. I think there should have a been patch to updated the prices from the older field @yrestom.

mujeerhashmi avatar Jul 12 '23 07:07 mujeerhashmi