Skip to content
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

Closed

Conversation

komsan-S
Copy link
Contributor

@komsan-S komsan-S commented Nov 24, 2020

@OCA-git-bot
Copy link
Contributor

Hi @kittiu,
some modules you are maintaining are being modified, check this out!

@komsan-S komsan-S mentioned this pull request Nov 24, 2020
13 tasks
@komsan-S komsan-S force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch 12 times, most recently from de3d068 to a8824dd Compare December 1, 2020 11:10
@@ -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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

odoo core change

Copy link
Member

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!

@kittiu
Copy link
Member

kittiu commented Dec 2, 2020

@komsan-S can you rebase l10n-thailand again. We got the new version of the dot files in this repo.
Please rebase.

Comment on lines 2 to 3

account-payment https://github.com/ecosoft-odoo/account-payment.git 14.0-mig-account_payment_multi_deduction d3a881f
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
account-payment https://github.com/ecosoft-odoo/account-payment.git 14.0-mig-account_payment_multi_deduction d3a881f
account-payment

@komsan-S komsan-S force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch 2 times, most recently from d296876 to 9553711 Compare December 3, 2020 03:42
@ps-tubtim ps-tubtim force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch 4 times, most recently from a7d7977 to 47473b9 Compare September 4, 2021 13:09
Comment on lines 20 to 24
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()
Copy link
Member

@ps-tubtim ps-tubtim Sep 4, 2021

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

@ps-tubtim ps-tubtim force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch from 47473b9 to c5f0ab1 Compare September 4, 2021 14:19
@ps-tubtim ps-tubtim force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch 2 times, most recently from 0fd2882 to 183a841 Compare September 22, 2021 10:56
@ps-tubtim ps-tubtim force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch from 183a841 to 994306e Compare September 22, 2021 10:58
@kittiu kittiu force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch from ac02e88 to 1cc2e2c Compare September 30, 2021 12:08
@kittiu kittiu force-pushed the 14.0-mig-l10n_th_withholding_tax_multi branch from 1cc2e2c to d6c0b8c Compare September 30, 2021 16:42
@kittiu
Copy link
Member

kittiu commented Sep 30, 2021

@Saran440 @ps-tubtim This PR is ready for review.

@github-actions
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jan 30, 2022
@github-actions github-actions bot closed this Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants