-
- Downloads
[REF] point_of_sale, *pos*: renaming cashier, partner and customer
Multiple refactors
- The module pos_hr had two attributes `cashier` and `employee` referencing to the same actual person. The `employee` attribute was removed for the sake of `cashier`.
- Refactor of the `useSelectEmployee` which returned functions that where used in two components. Instead, a mixin class was implemented and inherited from both components.
- Renaming of the substring `client` and `customer` to `partner` (css included) when it was referencing to the actual `res.partner` object. This way, developers will always know that the object used in the UI is coming from `res.partner`.
- Renaming of the substring `client` to `customer`(css included) when it was referencing to a real life person. This avoid having ambiguity since the term `client` can refers to multiple things (hardware, browser, person, ...)
closes odoo/odoo#83983
Related: odoo/enterprise#24477
Signed-off-by:
Masereel Pierre <pim@odoo.com>
Showing
- addons/l10n_in_pos/static/src/xml/pos_receipt.xml 4 additions, 4 deletionsaddons/l10n_in_pos/static/src/xml/pos_receipt.xml
- addons/point_of_sale/static/src/css/pos.css 58 additions, 58 deletionsaddons/point_of_sale/static/src/css/pos.css
- addons/point_of_sale/static/src/js/Chrome.js 1 addition, 1 deletionaddons/point_of_sale/static/src/js/Chrome.js
- addons/point_of_sale/static/src/js/ChromeWidgets/CustomerFacingDisplayButton.js 8 additions, 9 deletions...tatic/src/js/ChromeWidgets/CustomerFacingDisplayButton.js
- addons/point_of_sale/static/src/js/Popups/ErrorBarcodePopup.js 1 addition, 1 deletion...s/point_of_sale/static/src/js/Popups/ErrorBarcodePopup.js
- addons/point_of_sale/static/src/js/Screens/PartnerListScreen/PartnerDetailsEdit.js 7 additions, 7 deletions...ic/src/js/Screens/PartnerListScreen/PartnerDetailsEdit.js
- addons/point_of_sale/static/src/js/Screens/PartnerListScreen/PartnerLine.js 17 additions, 0 deletions...le/static/src/js/Screens/PartnerListScreen/PartnerLine.js
- addons/point_of_sale/static/src/js/Screens/PartnerListScreen/PartnerListScreen.js 43 additions, 44 deletions...tic/src/js/Screens/PartnerListScreen/PartnerListScreen.js
- addons/point_of_sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js 13 additions, 13 deletions...sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js
- addons/point_of_sale/static/src/js/Screens/ProductScreen/ActionpadWidget.js 3 additions, 3 deletions...le/static/src/js/Screens/ProductScreen/ActionpadWidget.js
- addons/point_of_sale/static/src/js/Screens/ProductScreen/ControlButtons/RefundButton.js 2 additions, 2 deletions...c/js/Screens/ProductScreen/ControlButtons/RefundButton.js
- addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductScreen.js 17 additions, 17 deletions...sale/static/src/js/Screens/ProductScreen/ProductScreen.js
- addons/point_of_sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js 5 additions, 5 deletions...sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js
- addons/point_of_sale/static/src/js/Screens/TicketScreen/ControlButtons/InvoiceButton.js 6 additions, 6 deletions...c/js/Screens/TicketScreen/ControlButtons/InvoiceButton.js
- addons/point_of_sale/static/src/js/Screens/TicketScreen/TicketScreen.js 18 additions, 18 deletions...f_sale/static/src/js/Screens/TicketScreen/TicketScreen.js
- addons/point_of_sale/static/src/js/devices.js 2 additions, 10 deletionsaddons/point_of_sale/static/src/js/devices.js
- addons/point_of_sale/static/src/js/models.js 36 additions, 36 deletionsaddons/point_of_sale/static/src/js/models.js
- addons/point_of_sale/static/src/xml/Chrome.xml 1 addition, 1 deletionaddons/point_of_sale/static/src/xml/Chrome.xml
- addons/point_of_sale/static/src/xml/ChromeWidgets/CustomerFacingDisplayButton.xml 4 additions, 4 deletions...tic/src/xml/ChromeWidgets/CustomerFacingDisplayButton.xml
- addons/point_of_sale/static/src/xml/Screens/PartnerListScreen/PartnerDetailsEdit.xml 27 additions, 27 deletions.../src/xml/Screens/PartnerListScreen/PartnerDetailsEdit.xml
Loading
Please register or sign in to comment