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

[18.0][MIG] account_statement_base: Migration to 18.0 #739

Merged
merged 49 commits into from
Nov 22, 2024

Conversation

xaviedoanhduy
Copy link
Contributor

@xaviedoanhduy xaviedoanhduy commented Nov 7, 2024

change in v18

alexis-via and others added 30 commits November 7, 2024 15:35
This module contains the views of account.bank.statement.line, which
have been removed from the account module in Odoo v16
The module account_statement_base will be used by the modules from
OCA/bank-statement-import which are LGPL (because they initially
came from Odoo official addons), so it cannot be AGPL.
* refactoring JS in order to add logic
* Improve views
* Minor fixes in Odoo code in order to fix all possible options
Currently translated at 100.0% (12 of 12 strings)

Translation: account-reconcile-16.0/account-reconcile-16.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_statement_base/pt_BR/
Currently translated at 100.0% (12 of 12 strings)

Translation: account-reconcile-16.0/account-reconcile-16.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_statement_base/es/
Currently translated at 100.0% (12 of 12 strings)

Translation: account-reconcile-16.0/account-reconcile-16.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_statement_base/fr/
Currently translated at 100.0% (12 of 12 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_statement_base/it/
Currently translated at 100.0% (12 of 12 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_statement_base/zh_CN/
Before this commit, when a user clicked the "New Transaction" button, an error was raised. After this commit, statement lines are displayed to create new records.
Currently translated at 100.0% (15 of 15 strings)

Translation: account-reconcile-17.0/account-reconcile-17.0-account_statement_base
Translate-URL: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_statement_base/it/
…ent lines to the

associated journal entry through a button. Adds also the journal entry number
as an optional field
@xaviedoanhduy xaviedoanhduy force-pushed the 18.0-mig-account_statement_base branch from 0f0eb15 to bd661c0 Compare November 20, 2024 09:27
xaviedoanhduy and others added 4 commits November 20, 2024 16:29
… to create the statement lines linked to it

TT51767
…ing on the New button (only on cash ones).

If you access the list of statements from the Create button, you should be able to create new records.

TT51767
@xaviedoanhduy xaviedoanhduy force-pushed the 18.0-mig-account_statement_base branch 2 times, most recently from 2eb9182 to 10cc464 Compare November 20, 2024 09:31
@xaviedoanhduy
Copy link
Contributor Author

hi @victoralmau, Done!

@victoralmau
Copy link
Member

Thanks, I think you forgot the commit [FIX] account_statement_base: Remove wrong field label from #751

@@ -14,7 +14,7 @@
<field name="company_id" invisible="1" />
<field name="currency_id" invisible="1" />
<field name="country_code" invisible="1" />
<field5c1485a3 name="state" invisible="1" />
Copy link
Contributor Author

@xaviedoanhduy xaviedoanhduy Nov 20, 2024

Choose a reason for hiding this comment

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

hi @victoralmau, during migration state, I fixed it

Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

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

Have you functionally tested the module? I'm not sure why but if you install account_statement_base and add the corresponding permission it doesn't show the Dashboard menu in Invoicing, can you check it?

account_statement_base/views/account_bank_statement.xml Outdated Show resolved Hide resolved
@xaviedoanhduy xaviedoanhduy force-pushed the 18.0-mig-account_statement_base branch from 10cc464 to 4df6e7b Compare November 20, 2024 20:33
@xaviedoanhduy
Copy link
Contributor Author

xaviedoanhduy commented Nov 20, 2024

Have you functionally tested the module? I'm not sure why but if you install account_statement_base and add the corresponding permission it doesn't show the Dashboard menu in Invoicing, can you check it?

hi @victoralmau, have conditions to see this action in here

image

Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

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

Code and functional review OK

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot migration account_statement_base
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Nov 22, 2024
@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-739-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@OCA-git-bot OCA-git-bot merged commit e6be9b6 into OCA:18.0 Nov 22, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b18e7aa. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.