11 | **Adhoc SA** - www.adhoc.com.ar
12 | .
13 |
--------------------------------------------------------------------------------
/payment_retry/__manifest__.py:
--------------------------------------------------------------------------------
1 | {
2 | "name": "payment retry",
3 | "author": "ADHOC SA",
4 | "website": "https://www.adhoc.inc",
5 | "category": "Payment",
6 | "version": "19.0.1.0.0",
7 | "depends": ["account_payment"],
8 | "license": "LGPL-3",
9 | "images": [],
10 | "installable": True,
11 | "data": [
12 | "security/ir.model.access.csv",
13 | "data/ir_cron.xml",
14 | "wizards/payment_transaction_retry.xml",
15 | ],
16 | }
17 |
--------------------------------------------------------------------------------
/account_payment_pro/security/ir.model.access.csv:
--------------------------------------------------------------------------------
1 | id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2 | access_account_payment_invoice_wizard,access_account_payment_invoice_wizard,model_account_payment_invoice_wizard,base.group_user,1,1,1,0
3 | access_account_write_off_type_all,access_account_write_off_type,model_account_write_off_type,base.group_user,1,0,0,0
4 | access_account_write_off_type_admin,access_account_write_off_type,model_account_write_off_type,account.group_account_manager,1,1,1,1
5 |
--------------------------------------------------------------------------------
/account_payment_pro_receiptbook/security/security.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 | **Adhoc SA** - www.adhoc.com.ar
15 |
--------------------------------------------------------------------------------
/account_payment_ux/models/account_payment.py:
--------------------------------------------------------------------------------
1 | from odoo import models
2 |
3 |
4 | class AccountPayment(models.Model):
5 | _inherit = "account.payment"
6 |
7 | def action_post(self):
8 | """Odoo a partir de 16, cuando se valida un pago con token, si la transaccion no queda en done cancela el pago
9 | por ahora nosotros revertimos este cambio"""
10 | return super(AccountPayment, self.with_context(from_action_post=True)).action_post()
11 |
12 | def action_cancel(self):
13 | if self.env.context.get("from_action_post"):
14 | self = self - self.filtered(lambda x: x.payment_transaction_id.state in ["draft", "pending", "authorized"])
15 | return super(AccountPayment, self).action_cancel()
16 |
--------------------------------------------------------------------------------
/account_payment_loan/views/account_move_line_views.xml:
--------------------------------------------------------------------------------
1 |
2 | | Check Number | 11 |Bank | 12 |Issuer VAT | 13 |Payment date | 14 |Amount | 15 |
|---|---|---|---|---|
| 21 | 22 | | 23 |24 | 25 | | 26 |27 | 28 | | 29 |30 | 31 | | 32 |33 | 34 | | 35 |
| Check Number | 12 |Bank | 13 |Issuer VAT | 14 |Payment date | 15 |Amount | 16 |
|---|---|---|---|---|
| 22 | 23 | | 24 |25 | 26 | | 27 |28 | 29 | | 30 |31 | 32 | | 33 |34 | 35 | | 36 |