Metadata-Version: 2.1
Name: odoo-addon-account_vendor_bank_account_default_purchase
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-account_payment_purchase==18.0.*
Requires-Dist: odoo-addon-account_vendor_bank_account_default==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Set a default bank account purchase orders
Home-page: https://github.com/OCA/bank-payment
License: AGPL-3
Author: Sygel, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

============================================
Account Vendor Bank Account Default Purchase
============================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:d8fd34278138000e8a106ce074224b4b39807d96fc6f3e445a436df48055e283
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github
    :target: https://github.com/OCA/bank-payment/tree/18.0/account_vendor_bank_account_default_purchase
    :alt: OCA/bank-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_vendor_bank_account_default_purchase
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to set a default bank account purchase orders.
That bank account will be propagated to its vendor bills.

**Table of contents**

.. contents::
   :local:

Configuration
=============

To configure this module, you need to:

- Go to a partner form view, and edit the Default Bank Account in the
  Sales and Purchase tab. The partner must be set as a 'company', or as
  an individual without a parent company.

  **Note:** If you do not set this value, it will be equal to the first
  bank account created in the contact. This is the standard behaviour of
  Odoo

- You can disable the default bank account option at contact level,
  unmarking the "Has Default Bank Account" check.

Usage
=====

To use this module, you need to:

1. Create a purchase order. On the other info tab you can see its bank
   account, which will be equal to the configured in the partner's
   "Default Bank Account" field.
2. Confirm the purchase and create its vendor bill. Its recipient bank
   account will be equal to the purchase's bank account.

Known issues / Roadmap
======================

- This module depends on account_payment_purchase. If the payment mode
  of the purchase has a payment method that does not require a bank
  account, the default bank account will be empty.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-payment/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_vendor_bank_account_default_purchase%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Sygel

Contributors
------------

- `Sygel <https://www.sygel.es>`__:

  - Harald Panten
  - Valentin Vinagre
  - Alberto Martínez

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-tisho99| image:: https://github.com/tisho99.png?size=40px
    :target: https://github.com/tisho99
    :alt: tisho99

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-tisho99| 

This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/18.0/account_vendor_bank_account_default_purchase>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
