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

16 payment order improve and cleanup rebased #7

Open
wants to merge 137 commits into
base: 16-payment_order-improve_and_cleanup
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
dc39f0c
[FIX] payment order: fix compute_partner_bank_id
luc-demeyer Nov 4, 2023
688b3f5
[FIX] account_payment_order: Restrict payment lines button to payment…
pedrobaeza Nov 14, 2023
06442e8
Merge PR #1176 into 16.0
OCA-git-bot Nov 20, 2023
2f5fd75
[BOT] post-merge updates
OCA-git-bot Nov 20, 2023
f2b050b
[FIX] account_payment_order: Always return a string in the _get_payme…
victoralmau Nov 27, 2023
4b8bb2e
Merge PR #1188 into 16.0
OCA-git-bot Nov 27, 2023
9f3f2cd
[BOT] post-merge updates
OCA-git-bot Nov 27, 2023
28428a6
[IMP] account_banking_mandate: Allow sequence to be multi-company
victoralmau Sep 19, 2023
d3eaaba
[IMP] account_banking_mandate: Allow to set a specific mandate refere…
victoralmau Sep 19, 2023
355d811
Merge PR #1190 into 16.0
OCA-git-bot Nov 30, 2023
55718af
[BOT] post-merge updates
OCA-git-bot Nov 30, 2023
ee3dc4b
Translated using Weblate (Italian)
mymage Dec 18, 2023
1faf174
Translated using Weblate (Italian)
mymage Dec 18, 2023
d77fd9a
Translated using Weblate (Italian)
mymage Dec 24, 2023
a8c9e94
[16.0][FIX]account_banking_mandate: mandate_partner_bank_form columns
Tisho99 Dec 18, 2023
33a029c
Merge PR #1198 into 16.0
OCA-git-bot Dec 27, 2023
15a97f1
[BOT] post-merge updates
OCA-git-bot Dec 27, 2023
b619dec
Translated using Weblate (Italian)
mymage Dec 27, 2023
2271360
[FIX]account_payment_purchase: return result from onchange and get pr…
GuillemCForgeFlow Jan 3, 2024
14d5138
Merge PR #1205 into 16.0
OCA-git-bot Jan 4, 2024
bd1efe6
[BOT] post-merge updates
OCA-git-bot Jan 4, 2024
0a3854e
Merge PR #1169 into 16.0
OCA-git-bot Jan 30, 2024
8ce292a
[BOT] post-merge updates
OCA-git-bot Jan 30, 2024
70c07af
[FIX] Use correct company when search for mandate_id
hugosantosred Feb 6, 2024
9065d3f
Merge PR #1214 into 16.0
OCA-git-bot Feb 8, 2024
3f30ea3
[BOT] post-merge updates
OCA-git-bot Feb 8, 2024
fd3ae9d
Translated using Weblate (Italian)
mymage Feb 13, 2024
8c17786
Translated using Weblate (Italian)
mymage Feb 16, 2024
ca9135e
[IMP] account_payment_order: No error on unknown payment method codes
pedrobaeza Feb 13, 2024
c802689
Merge PR #1222 into 16.0
OCA-git-bot Feb 18, 2024
fb5f2b3
[UPD] Update account_payment_order.pot
Feb 18, 2024
886ea34
[BOT] post-merge updates
OCA-git-bot Feb 18, 2024
ab584e0
Update translation files
weblate Feb 18, 2024
2995640
[16.0][ADD] account_payment_method_fs_storage: init
AnizR Feb 16, 2024
a4d7845
Translated using Weblate (Italian)
mymage Feb 23, 2024
96547a8
Translated using Weblate (Italian)
mymage Feb 29, 2024
9738dd9
Translated using Weblate (Italian)
mymage Feb 29, 2024
aafec53
Translated using Weblate (Italian)
mymage Mar 1, 2024
ef05873
[IMP] account_payment_order: Display a message with the archived bank…
victoralmau Feb 16, 2024
3b432be
Merge PR #1227 into 16.0
OCA-git-bot Mar 1, 2024
629aed3
[UPD] Update account_payment_order.pot
Mar 1, 2024
59792d7
[BOT] post-merge updates
OCA-git-bot Mar 1, 2024
9dc761d
Update translation files
weblate Mar 1, 2024
d1fce9b
[FIX] account_payment_order_notification: Set rec_name
gdgellatly Feb 12, 2024
862b4cd
[ADD] account_banking_mandate_contact: new module
carlosdauden Dec 9, 2022
0f71479
[MIG] account_banking_mandate_contact: Migration to 15.0
Dec 9, 2022
3fe82aa
[UPD] Update account_banking_mandate_contact.pot
Dec 12, 2022
d201f76
[UPD] README.rst
OCA-git-bot Dec 12, 2022
d0a790b
[UPD] README.rst
OCA-git-bot Sep 3, 2023
241bc6b
[IMP] account_banking_mandate_contact: test performance improvement
josep-tecnativa Oct 16, 2023
e1d3585
[BOT] post-merge updates
OCA-git-bot Oct 17, 2023
2ed7034
[IMP] account_banking_mandate_contact: pre-commit stuff
Tisho99 Mar 6, 2024
51dbdbc
Merge PR #1221 into 16.0
OCA-git-bot Mar 7, 2024
ac169ce
[UPD] Update account_payment_method_fs_storage.pot
Mar 7, 2024
2d1f0c7
[BOT] post-merge updates
OCA-git-bot Mar 7, 2024
09ad386
Translated using Weblate (Italian)
mymage Mar 7, 2024
0c35fdc
Translated using Weblate (Italian)
mymage Mar 7, 2024
4298db0
[MIG] account_banking_mandate_contact: Migration to 16.0
Tisho99 Mar 6, 2024
fa2e8af
Merge PR #1233 into 16.0
OCA-git-bot Mar 13, 2024
3b66e9e
[BOT] post-merge updates
OCA-git-bot Mar 13, 2024
251c36b
[16.0][ADD] account_banking_mandate_sale_contact: new module
Tisho99 Mar 11, 2024
3ccdf2d
Merge PR #1238 into 16.0
OCA-git-bot Mar 19, 2024
e866c72
[UPD] Update account_banking_mandate_sale_contact.pot
Mar 19, 2024
e19f50d
[BOT] post-merge updates
OCA-git-bot Mar 19, 2024
e15455c
[16.0][FIX] account_banking_mandate_sale_contact: icon, readme, and v…
Tisho99 Mar 19, 2024
b16e1b7
Merge PR #1241 into 16.0
OCA-git-bot Mar 19, 2024
f343914
[UPD] Update account_banking_mandate_sale_contact.pot
Mar 19, 2024
bdda55c
[BOT] post-merge updates
OCA-git-bot Mar 19, 2024
d965f20
Added translation using Weblate (Spanish)
Tisho99 Mar 20, 2024
40d8826
Translated using Weblate (Spanish)
Tisho99 Mar 20, 2024
0ab7af5
[16.0][IMP] account_banking_sepa_direct_debit: Button send mandate pe…
carolinafernandez-tecnativa Mar 25, 2024
3bf5c86
Translated using Weblate (Spanish)
Ivorra78 Mar 27, 2024
14a8371
Merge PR #1244 into 16.0
OCA-git-bot Apr 1, 2024
3e0fb9f
[UPD] Update account_banking_sepa_direct_debit.pot
Apr 1, 2024
86dcd99
[BOT] post-merge updates
OCA-git-bot Apr 1, 2024
5eb3775
Update translation files
weblate Apr 1, 2024
15acca4
[IMP] account_payment_sale: Add payment mode in invoicing grouping cr…
rousseldenis Apr 3, 2024
76372db
Merge PR #1246 into 16.0
OCA-git-bot Apr 5, 2024
a15f1a5
[BOT] post-merge updates
OCA-git-bot Apr 5, 2024
97ceaed
Add account_payment_order_transfer_journal.
adrienpeiffer Sep 21, 2022
059442e
[IMP] account_payment_order_transfer_journal: pre-commit stuff
luc-demeyer Jun 29, 2023
56f905d
[MIG] account_payment_order_transfer_journal: Migration to 16.0
luc-demeyer Jun 29, 2023
8dd8e05
account_payment_order_transfer_journal - add 'general' filter on tran…
luc-demeyer Jun 29, 2023
7aebbd4
unit test
luc-demeyer Jun 29, 2023
7ea2fa3
[IMP] move transfer jpurnal setting from journal to payment mode
luc-demeyer Nov 7, 2023
15b8ec8
[IMP] add capability to set transfer journal setting on company level…
luc-demeyer Nov 7, 2023
73d8572
[IMP] integrate transfer journal option into account_payment_order
luc-demeyer Nov 7, 2023
7c7fbfa
[FIX]account_payment_order transfer journal
luc-demeyer Apr 14, 2024
522a5e9
Merge PR #1251 into 16.0
OCA-git-bot Apr 19, 2024
2f78e0b
[UPD] Update account_banking_pain_base.pot
Apr 19, 2024
84920a2
[UPD] Update account_banking_sepa_direct_debit.pot
Apr 19, 2024
f283a2f
[UPD] Update account_payment_order.pot
Apr 19, 2024
cbe580f
[BOT] post-merge updates
OCA-git-bot Apr 19, 2024
020d44e
Update translation files
weblate Apr 19, 2024
c7dbfef
Update translation files
weblate Apr 19, 2024
f3ea619
Update translation files
weblate Apr 19, 2024
d05aba7
[IMP] update payment reference on open payment order
luc-demeyer Jun 23, 2023
ec2ccf4
Merge PR #1170 into 16.0
OCA-git-bot Apr 20, 2024
7059343
[UPD] Update account_payment_order.pot
Apr 20, 2024
0a16cf7
[BOT] post-merge updates
OCA-git-bot Apr 20, 2024
521f5b8
Update translation files
weblate Apr 20, 2024
755e602
[FIX] account_payment_partner: payment mode compute
ljsalvatierra-factorlibre Mar 19, 2024
5c3d434
Merge PR #1252 into 16.0
OCA-git-bot Apr 22, 2024
760b9b0
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
194fafd
Added translation using Weblate (Spanish)
Ivorra78 Apr 22, 2024
adbf6ea
Translated using Weblate (Spanish)
Ivorra78 Apr 22, 2024
655b6e2
Translated using Weblate (Spanish)
Ivorra78 Apr 22, 2024
034b69c
Translated using Weblate (Spanish)
Ivorra78 Apr 22, 2024
fa4279d
[FIX] account_payment_method_fs_storage: Translated term
aritzolea Apr 24, 2024
206eb98
Merge PR #1254 into 16.0
OCA-git-bot Apr 24, 2024
d86a1fd
[BOT] post-merge updates
OCA-git-bot Apr 24, 2024
bff6d34
[IMP] account_payment_order: adds restriction for duplicated move lin…
ACheung-FactorLibre Sep 27, 2023
1e59380
Merge PR #1148 into 16.0
OCA-git-bot Apr 24, 2024
c979d2f
[UPD] Update account_payment_order.pot
Apr 24, 2024
82c4954
[BOT] post-merge updates
OCA-git-bot Apr 24, 2024
c34e97c
Update translation files
weblate Apr 24, 2024
2bdd3cd
[IMP] update dotfiles
OCA-git-bot May 1, 2024
a3b9d21
Added translation using Weblate (Italian)
mymage May 2, 2024
2391f39
Added translation using Weblate (Italian)
mymage May 2, 2024
e8fa37d
Added translation using Weblate (Italian)
mymage May 2, 2024
437fa9d
Added translation using Weblate (Italian)
mymage May 2, 2024
9314814
Added translation using Weblate (Italian)
mymage May 2, 2024
0dab339
Added translation using Weblate (Italian)
mymage May 3, 2024
4de8d6e
Added translation using Weblate (Italian)
mymage May 3, 2024
d1894a7
Merge PR #1215 into 16.0
OCA-git-bot May 3, 2024
34dc118
[BOT] post-merge updates
OCA-git-bot May 3, 2024
c18ee85
Translated using Weblate (Italian)
mymage May 3, 2024
22ccbbe
Translated using Weblate (Italian)
mymage May 3, 2024
3455277
Translated using Weblate (Italian)
mymage May 3, 2024
e998192
Translated using Weblate (Italian)
mymage May 3, 2024
9886d68
Translated using Weblate (Italian)
mymage May 3, 2024
dc951ed
Translated using Weblate (Italian)
mymage May 3, 2024
287ed97
[IMP] account_banking_sepa_direct_debit: increase report signature space
Tisho99 Apr 30, 2024
9c2f771
Merge PR #1264 into 16.0
OCA-git-bot May 7, 2024
e9e6ca0
[BOT] post-merge updates
OCA-git-bot May 7, 2024
4d5d9ec
Large refactoring/improvement/cleanup of OCA/bank-payment
alexis-via Nov 7, 2023
c495144
Add support for regulatory reporting in PAIN files
alexis-via May 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[IMP] account_payment_order: No error on unknown payment method codes
Since v14, the tool for changing the target transfer account is to
create new payment methods, and put a method line in the journal with
such account.

Thus, there will be "fake" payment methods with no export handler
with the only goal of having a different target account.

Raising an error on such methods when finishing the payment order, forcing
to add custom code for returning (False, False), is too much, so better
to simply return that by default and don't block in these cases.

TT47723
pedrobaeza committed Feb 16, 2024

Verified

This commit was signed with the committer’s verified signature.
joyeecheung Joyee Cheung
commit ca9135e36131a41a49f3b30a3b673bf639fedcf2
16 changes: 6 additions & 10 deletions account_payment_order/models/account_payment_order.py
Original file line number Diff line number Diff line change
@@ -376,17 +376,13 @@ def draft2open(self):
return True

def generate_payment_file(self):
"""Returns (payment file as string, filename)"""
"""Returns (payment file as string, filename).
By default, any method not specifically intercepted by extra modules will do
nothing, including the existing manual one.
"""
self.ensure_one()
if self.payment_method_id.code == "manual":
return (False, False)
else:
raise UserError(
_(
"No handler for this payment method. Maybe you haven't "
"installed the related Odoo module."
)
)
return (False, False)

def open2generated(self):
self.ensure_one()