Skip to content

Commit

Permalink
Merge pull request #1334 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 Feb 19, 2025
2 parents 9962ed7 + d8133f2 commit b59fb74
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ addon | version | maintainers | summary
[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
[account_payment_sale](account_payment_sale/) | 16.0.1.0.4 | | Adds payment mode on sale orders

[//]: # (end addons)

Expand Down
4 changes: 2 additions & 2 deletions account_payment_order_tier_validation/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-02-03 11:06+0000\n"
"PO-Revision-Date: 2025-02-18 11:06+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
Expand Down Expand Up @@ -44,7 +44,7 @@ msgstr "Richiede conferma"
#. module: account_payment_order_tier_validation
#: model_terms:ir.ui.view,arch_db:account_payment_order_tier_validation.account_payment_order_search_view
msgid "Needs my Review"
msgstr "Richiede la mia approvazione"
msgstr "Richiede la mia revisione"

#. module: account_payment_order_tier_validation
#: model:ir.model.fields,field_description:account_payment_order_tier_validation.field_account_payment_order__next_review
Expand Down
2 changes: 1 addition & 1 deletion account_payment_sale/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Account Payment Sale
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3b94414156bda33429ec63331f59f1f8e2fd4b1a061da598bbb8d4b5f2c5416f
!! source digest: sha256:83bb1fa0587f1eb13d3ebe5cafdf6954362f4373bd62a172da6d4bce6c6ea910
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion account_payment_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Account Payment Sale",
"version": "16.0.1.0.3",
"version": "16.0.1.0.4",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds payment mode on sale orders",
Expand Down
7 changes: 3 additions & 4 deletions account_payment_sale/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ class SaleOrder(models.Model):
@api.depends("partner_id")
def _compute_payment_mode(self):
for order in self:
if order.partner_id:
order.payment_mode_id = order.partner_id.customer_payment_mode_id
else:
order.payment_mode_id = False
order.payment_mode_id = order.partner_id.with_company(
order.company_id
).customer_payment_mode_id

def _get_payment_mode_vals(self, vals):
if self.payment_mode_id:
Expand Down
2 changes: 1 addition & 1 deletion account_payment_sale/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 Sale</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3b94414156bda33429ec63331f59f1f8e2fd4b1a061da598bbb8d4b5f2c5416f
!! source digest: sha256:83bb1fa0587f1eb13d3ebe5cafdf6954362f4373bd62a172da6d4bce6c6ea910
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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_sale"><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_sale"><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 modules adds one field on sale orders: <em>Payment Mode</em>.
Expand Down

0 comments on commit b59fb74

Please sign in to comment.