summaryrefslogtreecommitdiff
path: root/addons/point_of_sale
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-08-10 14:32:59 +0000
committerPierre Masereel <pim@odoo.com>2021-02-10 10:27:09 +0000
commit84d668ed3a1ba8ba4f61302dea011c596a07f493 (patch)
tree6936333078d2f3a7ad051452d094dfbcae2dadf0 /addons/point_of_sale
parentd583de02392b7738e7eead4ef33f91ef8a47b0f6 (diff)
[FIX] pos_hr: set the right employee for the order
closes odoo/odoo#65865 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale')
-rw-r--r--addons/point_of_sale/static/src/js/models.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js
index 2fa17771b70..1b261131b21 100644
--- a/addons/point_of_sale/static/src/js/models.js
+++ b/addons/point_of_sale/static/src/js/models.js
@@ -2734,7 +2734,6 @@ exports.Order = Backbone.Model.extend({
pricelist_id: this.pricelist ? this.pricelist.id : false,
partner_id: this.get_client() ? this.get_client().id : false,
user_id: this.pos.user.id,
- employee_id: this.pos.get_cashier().id,
uid: this.uid,
sequence_number: this.sequence_number,
creation_date: this.validation_date || this.creation_date, // todo: rename creation_date in master