Skip to content

Commit

Permalink
[REV] point_of_sale: res.partner doesn't belong to a specific company
Browse files Browse the repository at this point in the history
This reverts commit 3aa03eb.

based on:

odoo#94153 (comment)

closes odoo#96849

X-original-commit: a1eb404
Signed-off-by: Masereel Pierre <pim@odoo.com>
  • Loading branch information
momegahed committed Jul 27, 2022
1 parent 0cc5505 commit 54d8de9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ odoo.define('point_of_sale.ClientDetailsEdit', function(require) {
});
}
processedChanges.id = this.props.partner.id || false;
if (!this.props.partner.id) {
processedChanges.company_id = this.env.pos.company.id;
}
this.trigger('save-changes', { processedChanges });
}
async uploadImage(event) {
Expand Down

0 comments on commit 54d8de9

Please sign in to comment.