-
-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] pos_customer_comment: fix changes made on odoo/odoo@c585d82
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
* Juan Carlos Bonilla <juancarlos.bonilla@factorlibre.com> |
16 changes: 16 additions & 0 deletions
16
pos_customer_comment/static/src/js/PartnerDetailsEdit.esm.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** @odoo-module **/ | ||
import PartnerDetailsEdit from "point_of_sale.PartnerDetailsEdit"; | ||
import Registries from "point_of_sale.Registries"; | ||
|
||
const PartnerDetailsEditComment = (OriginalPartnerDetailsEdit) => | ||
class extends OriginalPartnerDetailsEdit { | ||
setup() { | ||
super.setup(); | ||
this.changes = { | ||
...this.changes, | ||
pos_comment: this.props.partner.pos_comment || "", | ||
}; | ||
} | ||
}; | ||
|
||
Registries.Component.extend(PartnerDetailsEdit, PartnerDetailsEditComment); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters