6 changed files with 41 additions and 12 deletions
@ -1,6 +1,12 @@ |
|||
## Module <pos_refund_password> |
|||
## Module <pos_return_barcode> |
|||
|
|||
#### 21.03.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
- Initial commit for POS Return Barcode |
|||
|
|||
|
|||
#### 03.09.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### Bug Fix |
|||
- Updated the working that is patched ticket_screen and made changes in onClick() of return_product js |
@ -0,0 +1,15 @@ |
|||
/** @odoo-module **/ |
|||
import { TicketScreen } from "@point_of_sale/app/screens/ticket_screen/ticket_screen"; |
|||
import { patch } from "@web/core/utils/patch"; |
|||
import { _t } from "@web/core/l10n/translation"; |
|||
patch(TicketScreen.prototype, { |
|||
_getSearchFields() { |
|||
return Object.assign({}, super._getSearchFields(...arguments), { |
|||
BARCODE: { |
|||
repr: (order) => order.barcode, |
|||
displayName: _t("Barcode"), |
|||
modelField: "barcode", |
|||
}, |
|||
}); |
|||
} |
|||
}) |
Loading…
Reference in new issue