-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
[14.0][MIG] l10n_th_withholding_tax_multi #209
[14.0][MIG] l10n_th_withholding_tax_multi #209
Conversation
Hi @kittiu, |
de3d068
to
a8824dd
Compare
@@ -32,7 +39,7 @@ def _onchange_payment_difference_handling(self): | |||
"wt_tax_id": line.wt_tax_id.id, | |||
"account_id": line.wt_tax_id.account_id.id, | |||
"name": line.wt_tax_id.display_name, | |||
"amount": -line.wt_tax_id.amount / 100 * line.price_subtotal, |
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.
Why change this?
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.
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.
odoo core change
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.
Can you point me to where is the change? Thank you!
@komsan-S can you rebase l10n-thailand again. We got the new version of the dot files in this repo. |
oca_dependencies.txt
Outdated
|
||
account-payment https://github.com/ecosoft-odoo/account-payment.git 14.0-mig-account_payment_multi_deduction d3a881f |
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.
account-payment https://github.com/ecosoft-odoo/account-payment.git 14.0-mig-account_payment_multi_deduction d3a881f | |
account-payment |
d296876
to
9553711
Compare
a7d7977
to
47473b9
Compare
amount_residual = sum(move_ids.mapped("amount_residual")) | ||
amount_total = sum(move_ids.mapped("amount_total")) | ||
if float_compare(amount_residual, amount_total, 2) == 0 and len(inv_lines) > 1: | ||
self.payment_difference_handling = "reconcile_multi_deduct" | ||
self._onchange_payment_difference_handling() |
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.
I improve this code for use in case of registering a payment with multi invoices.
Waiting for
47473b9
to
c5f0ab1
Compare
0fd2882
to
183a841
Compare
183a841
to
994306e
Compare
ac02e88
to
1cc2e2c
Compare
1cc2e2c
to
d6c0b8c
Compare
@Saran440 @ps-tubtim This PR is ready for review. |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Depends: