-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
16.0 mig hr expense advance clearing #191
16.0 mig hr expense advance clearing #191
Conversation
[UPD] Update hr_expense_advance_clearing.pot [UPD] README.rst
Fix install error when there are already some expense in system. [UPD] README.rst hr_expense_advance_clearing 12.0.1.0.1
We should prevent setting the analytic account in expenses used as employees advance. Otherwise, it can lead to errors charging against an analytic account that later won't be compensated when all is reconcile. Anyway, the advance is not an expense, but money of the company moving from one place to another, that later will be used for real expenses that will be imputed to the corresponding analytic account
@jumeldi74 Thank you for your help migrate to v16 version < 16, it will create journal entry when post journal entries at expense So, it must change code in this module for reconciled and matching. |
Noted Sir. Thank you |
…earing process journal entries.
hi @Saran440 , allow me to try to migrate this module, need your review / feedback. We are planning to migrate and add other features in OCA env, this is the prelimenary effort, thanks |
…earing advance journal entries.
Hi @Saran440 and @jumeldi74 I wanted to thank you both for your efforts and ask if you could give any hints about a timeline to migrate this module to v16? Best Regards, |
|
||
# self = self.with_context(**clean_context(self.env.context)) # remove default_* | ||
if self.advance_sheet_id and self.payment_mode == "own_account": | ||
moves = res[self.id] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moves = res[self.id] |
# self = self.with_context(**clean_context(self.env.context)) # remove default_* | ||
if self.advance_sheet_id and self.payment_mode == "own_account": | ||
moves = res[self.id] | ||
counter_line = moves.line_ids.filtered( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
counter_line = moves.line_ids.filtered( | |
counter_line = res.line_ids.filtered( |
@jumeldi74 Functional Test. I found bug
|
Move to #203 |
No description provided.