Skip to content

Conversation

@vicire1
Copy link

@vicire1 vicire1 commented Nov 4, 2025

When making group payments a payment memo is generated with BATCH prefix but it can be confusing as there is a batch payment feature so I changed the prefix to PAY and the tests also accordingly

task-5231324

@robodoo
Copy link

robodoo commented Nov 4, 2025

This PR targets the un-managed branch odoo-dev/odoo:18.0-rd-accounting-onboarding-malb, it needs to be retargeted before it can be merged.

Copy link

@malb-odoo malb-odoo left a comment

Choose a reason for hiding this comment

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

Let's change the commit message and also check the tests 😄

'use_date_range': True,
'company_id': self.id,
'prefix': 'BATCH/%(year)s/',
'prefix': 'PAY/%(year)s/',

Choose a reason for hiding this comment

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

This change is good but i think that if runbot was working like a normal pr, you would have a lot of test failing 👀 Take a look at addons/account/tests/test_account_payment_register.py 😄 Run the tests and check the ones that fails and fix them 😄

@vicire1 vicire1 force-pushed the 18.0-change-memo-to-pay-videc branch from d7790f1 to 285f61e Compare November 5, 2025 13:26
@vicire1 vicire1 changed the title [IMP] Account: Modifying batch word to pay when ding group payment [IMP] account: modifying batch word to pay when ding group payment Nov 5, 2025
@vicire1 vicire1 force-pushed the 18.0-change-memo-to-pay-videc branch from 285f61e to 3d77bdc Compare November 5, 2025 14:51
@vicire1 vicire1 changed the title [IMP] account: modifying batch word to pay when ding group payment [IMP] account: modifying batch word to pay when doing group payment Nov 5, 2025
When making group payments a payment memo is generated with BATCH prefix but it can be confsing as there is a batch payment feature so I changed the prefix to PAY and the tests also accordingly

task-5231324
@vicire1 vicire1 force-pushed the 18.0-change-memo-to-pay-videc branch from 3d77bdc to 3caafe9 Compare November 5, 2025 17:04
@vicire1 vicire1 changed the title [IMP] account: modifying batch word to pay when doing group payment [IMP] account: change group payments memo to pay/xxxx Nov 5, 2025
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.

4 participants