Skip to content

Commit

Permalink
Merge pull request #1312 from OCA/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/bank-payment (16.0)
  • Loading branch information
bt-admin authored Nov 21, 2024
2 parents ce34195 + cced0c9 commit b83e3fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ addon | version | maintainers | summary
[account_payment_order_return](account_payment_order_return/) | 16.0.1.0.1 | | Account Payment Order Return
[account_payment_order_tier_validation](account_payment_order_tier_validation/) | 16.0.1.0.0 | [![marcelsavegnago](https://github.com/marcelsavegnago.png?size=30px)](https://github.com/marcelsavegnago) | Extends the functionality of Payment Orders to support a tier validation process.
[account_payment_order_vendor_email](account_payment_order_vendor_email/) | 16.0.1.0.0 | [![ursais](https://github.com/ursais.png?size=30px)](https://github.com/ursais) | Account Payment Order Email
[account_payment_partner](account_payment_partner/) | 16.0.1.2.4 | | Adds payment mode on partners and invoices
[account_payment_partner](account_payment_partner/) | 16.0.1.2.5 | | Adds payment mode on partners and invoices
[account_payment_purchase](account_payment_purchase/) | 16.0.2.0.3 | | Adds Bank Account and Payment Mode on Purchase Orders
[account_payment_purchase_stock](account_payment_purchase_stock/) | 16.0.1.0.0 | | Integrate Account Payment Purchase with Stock
[account_payment_sale](account_payment_sale/) | 16.0.1.0.3 | | Adds payment mode on sale orders
Expand Down
2 changes: 1 addition & 1 deletion account_payment_partner/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Account Payment Partner
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:97630163a79a1d94c92dab183ac9925c068e6ab8b5d3015ebb6f3412f71db292
!! source digest: sha256:775cfb8a151b56165594ce5e6d68e0a8ae58647292b38dc337eb0b6dae0d5910
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
Expand Down
2 changes: 1 addition & 1 deletion account_payment_partner/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{
"name": "Account Payment Partner",
"version": "16.0.1.2.4",
"version": "16.0.1.2.5",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds payment mode on partners and invoices",
Expand Down
2 changes: 1 addition & 1 deletion account_payment_partner/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Account Payment Partner</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:97630163a79a1d94c92dab183ac9925c068e6ab8b5d3015ebb6f3412f71db292
!! source digest: sha256:775cfb8a151b56165594ce5e6d68e0a8ae58647292b38dc337eb0b6dae0d5910
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/16.0/account_payment_partner"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds several fields:</p>
Expand Down
6 changes: 2 additions & 4 deletions account_payment_partner/tests/test_account_payment_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ def setUpClass(cls):
cls.chart = charts[0]
else:
raise ValidationError(_("No Chart of Account Template has been defined !"))
old_company = cls.env.user.company_id
cls.env.user.company_id = cls.company_2.id
cls.env.user.company_ids = [(4, cls.company_2.id)]
cls.env.ref("base.user_admin").company_ids = [(4, cls.company_2.id)]
cls.chart.try_loading()
cls.env.user.company_id = old_company.id
cls.chart.try_loading(cls.company_2)

# refs
cls.manual_out = cls.env.ref("account.account_payment_method_manual_out")
Expand Down

0 comments on commit b83e3fa

Please sign in to comment.