odoo/tutorials#693

Created by Abhishek Patel (abpa)

Blocked

label
odoo-dev:18.0-practice-task-abpa
head
f639b2d83fee2a355cb30eab9aadedafde0c462d
odoo/tutorials
18.0 #693 missing r+
19.0
master

[ADD] pos_salesperson: added salesperson choosing button in POS

  • inherited pos.order and pos.session add a Salesperson_id field in pos.order model to track assigned sales representatives.
  • Loaded the hr.employee model in pos.session to access salesperson data.
  • Created a 'SelectSalesperson' Button component for selecting a salesperson.
  • Patched ControlButtons to include the salesperson selection option.
  • created setSalesperson and getSalesperson functions in POS Order to manage salesperson .
  • Displayed the salesperson on the billing screen .