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

[17.0][IMP] commission repo - Add missing commits #562

Open
wants to merge 9 commits into
base: 17.0
Choose a base branch
from

Conversation

sergio-teruel
Copy link
Contributor

@sergio-teruel sergio-teruel commented Sep 26, 2024

cc @Tecnativa

Missing commits from 16

  • [IMP] account_commission: Improve settlement report (1753550)
  • [IMP]account_commission: add test of reversed moves + docs (f1f642d)
  • [FIX] sale_commission: ensure currency (28e3f9f)
  • [IMP] account_commission: Make test more resilient (949ed0f)
  • [FIX] account_commission: use Form() in tests (59d3388)
  • [IMP]commission: Report footer outside the table (e062474)
  • [IMP] commission: Add new settlement period (All pending records) to settle in only one settlement (e7544a8)
  • [IMP] account_commission: Index on invoice_agent_line_id (8a7ebe5)

Switch invoice line column to Invoice name + Customer + Description +
Amount for better comprehension.

TT46914
@OCA-git-bot
Copy link
Contributor

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

@sergio-teruel sergio-teruel marked this pull request as draft September 26, 2024 20:21
@sergio-teruel
Copy link
Contributor Author

TODO: Fix the tests for v17

@sergio-teruel sergio-teruel force-pushed the 17.0-FIX-account_commission-missing-commits branch from 3673ffd to 8569717 Compare September 27, 2024 12:03
@sergio-teruel sergio-teruel marked this pull request as ready for review September 27, 2024 12:06
@pedrobaeza
Copy link
Member

@sergio-teruel please incorporate the pre-commit and test fixes on each of the commits that provokes that problems.

Tisho99 and others added 8 commits September 28, 2024 13:18
We should ensure that the partner's currency is the one in the company
to avoid test integration issues

TT38303
Not using Form() in tests can lead to some tricky integration tests
issues. In this case, just overriding _recompute_payment_terms_lines
with a new context in a third module wasn't making these true.

TT47134
Place footer outside the table so that it
won't be repeated at each page

[LINT]use pre commit

Revert bad linting

[DEL]commission: useless clearfix

Useless clearfix in XML reporting
That way, deletions of agent lines in invoices are faster.
@sergio-teruel sergio-teruel force-pushed the 17.0-FIX-account_commission-missing-commits branch from 8569717 to f4d005b Compare September 28, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants