Skip to content

Commit

Permalink
Merge PR #87 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by mikevhe18
  • Loading branch information
ssi-bot committed Aug 14, 2024
2 parents 4e3d276 + c8e96d6 commit 2595f3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ssi_hr_reimbursement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ssi_m2o_configurator_mixin",
"base_duration",
"base_automation",
"ssi_financial_accounting",
],
"data": [
"security/ir_module_category_data.xml",
Expand Down
4 changes: 4 additions & 0 deletions ssi_hr_reimbursement/models/hr_reimbursement.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ def _default_currency_id(self):
ondelete="set null",
copy=False,
)
last_payment_date = fields.Date(
string="Last Payment Date",
related="move_id.last_payment_date",
)

@api.depends(
"payable_move_line_id",
Expand Down
4 changes: 4 additions & 0 deletions ssi_hr_reimbursement/views/hr_reimbursement_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
decoration-bf="1"
optional="show"
/>
<field
name="last_payment_date"
optional="show"
/>
</xpath>
</data>
</field>
Expand Down

0 comments on commit 2595f3e

Please sign in to comment.