diff --git a/README.md b/README.md index 1655bd8..a512d06 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,18 @@ Available addons addon | version | summary --- | --- | --- -[account_payment_purchase](account_payment_purchase/) | 2.0.1.0.0| Adds Bank Account and Payment Mode on Purchase Orders +[account_payment_purchase](account_payment_purchase/) | 2.0.1.0.1| Adds Bank Account and Payment Mode on Purchase Orders [account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 2.0.1.1.1| Create SEPA files for Direct Debit [account_invoice_select_for_payment](account_invoice_select_for_payment/) | 2.0.1.0.0| Account Invoice Select for Payment [account_payment_sale](account_payment_sale/) | 2.0.1.0.0| Adds payment mode on sale orders [account_banking_pain_base](account_banking_pain_base/) | 2.0.1.0.1| Base module for PAIN file generation [account_banking_mandate](account_banking_mandate/) | 2.0.1.1.1| Banking mandates [account_payment_order](account_payment_order/) | 2.0.1.4.0| Account Payment Order -[account_payment_purchase_stock](account_payment_purchase_stock/) | 2.0.1.0.0| Integrate Account Payment Purchase with Stock +[account_payment_purchase_stock](account_payment_purchase_stock/) | 2.0.1.0.1| Integrate Account Payment Purchase with Stock [account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 2.0.1.0.1| Create SEPA XML files for Credit Transfers [account_payment_mode](account_payment_mode/) | 2.0.1.0.2| Account Payment Mode [account_banking_mandate_sale](account_banking_mandate_sale/) | 2.0.1.0.0| Adds mandates on sale orders -[account_payment_partner](account_payment_partner/) | 2.0.1.3.2| Adds payment mode on partners and invoices +[account_payment_partner](account_payment_partner/) | 2.0.1.3.3| Adds payment mode on partners and invoices [account_payment_order_return](account_payment_order_return/) | 2.0.1.0.1| Account Payment Order Return diff --git a/account_payment_partner/__manifest__.py b/account_payment_partner/__manifest__.py index 93c5d31..47f8a22 100644 --- a/account_payment_partner/__manifest__.py +++ b/account_payment_partner/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Account Payment Partner", - "version": "2.0.1.3.2", + "version": "2.0.1.3.3", "category": "Banking addons", "license": "AGPL-3", "summary": "Adds payment mode on partners and invoices", diff --git a/account_payment_partner/models/res_partner.py b/account_payment_partner/models/res_partner.py index e93a6eb..b35faa3 100644 --- a/account_payment_partner/models/res_partner.py +++ b/account_payment_partner/models/res_partner.py @@ -11,12 +11,14 @@ class ResPartner(models.Model): supplier_payment_mode_id = fields.Many2one( comodel_name="account.payment.mode", company_dependent=True, + check_company=True, domain="[('payment_type', '=', 'outbound')]", help="Select the default payment mode for this supplier.", ) customer_payment_mode_id = fields.Many2one( comodel_name="account.payment.mode", company_dependent=True, + check_company=True, domain="[('payment_type', '=', 'inbound')]", help="Select the default payment mode for this customer.", ) diff --git a/account_payment_partner/views/report_invoice.xml b/account_payment_partner/views/report_invoice.xml index ce2ff5d..cd4c29d 100644 --- a/account_payment_partner/views/report_invoice.xml +++ b/account_payment_partner/views/report_invoice.xml @@ -10,7 +10,7 @@
+
Bank Account: