Skip to content

Commit

Permalink
Merge branch '12.0-fix-purchase_comment_template-change-comment-on-pa…
Browse files Browse the repository at this point in the history
…rtner' of git+ssh://github.com/efatto/purchase-reporting into 12.0
  • Loading branch information
Pretecno committed Jul 13, 2024
2 parents 23d7914 + d229849 commit 98ae441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions purchase_comment_template/models/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def _set_note2(self):
@api.onchange('partner_id')
def onchange_partner_id_purchase_comment(self):
if self.partner_id:
self._set_note1()
self._set_note2()
comment_template = self.partner_id.property_comment_template_id
if comment_template.position == 'before_lines':
self.comment_template1_id = comment_template
Expand Down

0 comments on commit 98ae441

Please sign in to comment.