forked from OCA/purchase-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
7 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Purchase Order Partner Manual Rank | |
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:ea9c74850d37126c620c9e642df5d1846d1afacd8063f54d1ed612013b5dcef7 | ||
!! source digest: sha256:983a0526a1d8ea88caa40e390c1d04a86d2275c598bc53b02b38cec1229f1cd2 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
|
@@ -28,8 +28,10 @@ Purchase Order Partner Manual Rank | |
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a filter on purchase order vendor | ||
to show only partners that are suppliers as per module partner_manual_rank behavior. | ||
This module adds a filter on the "Vendor" field of the Purchase Order | ||
to show only partners marked as suppliers, as per module partner_manual_rank behavior. | ||
|
||
The same filter is also applied to the Vendor field in Vendor Pricelists. | ||
|
||
**Table of contents** | ||
|
||
|
@@ -41,7 +43,8 @@ Usage | |
|
||
Mark a partner as a supplier using the "Is a supplier" boolean. | ||
|
||
In POs, only partners with this field enabled are selectable as Vendors. | ||
In Purchase Orders and Vendor Pricelists, | ||
only partners with this field enabled are selectable as Vendors. | ||
|
||
Bug Tracker | ||
=========== | ||
|
@@ -66,8 +69,13 @@ Contributors | |
~~~~~~~~~~~~ | ||
|
||
* PyTech SRL <[email protected]> | ||
|
||
* Alessandro Uffreduzzi <[email protected]> | ||
|
||
* Ooops404 <[email protected]> | ||
|
||
* Francesco Foresti [email protected] | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
|
@@ -81,6 +89,17 @@ 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-aleuffre| image:: https://github.com/aleuffre.png?size=40px | ||
:target: https://github.com/aleuffre | ||
:alt: aleuffre | ||
.. |maintainer-renda-dev| image:: https://github.com/renda-dev.png?size=40px | ||
:target: https://github.com/renda-dev | ||
:alt: renda-dev | ||
|
||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-aleuffre| |maintainer-renda-dev| | ||
|
||
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/14.0/purchase_order_partner_manual_rank>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
* PyTech SRL <[email protected]> | ||
|
||
* Alessandro Uffreduzzi <[email protected]> | ||
|
||
* Ooops404 <[email protected]> | ||
|
||
* Francesco Foresti [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
This module adds a filter on purchase order vendor | ||
to show only partners that are suppliers as per module partner_manual_rank behavior. | ||
This module adds a filter on the "Vendor" field of the Purchase Order | ||
to show only partners marked as suppliers, as per module partner_manual_rank behavior. | ||
|
||
The same filter is also applied to the Vendor field in Vendor Pricelists. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Mark a partner as a supplier using the "Is a supplier" boolean. | ||
|
||
In POs, only partners with this field enabled are selectable as Vendors. | ||
In Purchase Orders and Vendor Pricelists, | ||
only partners with this field enabled are selectable as Vendors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
purchase_order_partner_manual_rank/views/product_supplierinfo_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<record id="product_supplierinfo_form_view" model="ir.ui.view"> | ||
<field name="name">product.supplierinfo.form.view</field> | ||
<field name="model">product.supplierinfo</field> | ||
<field name="inherit_id" ref="product.product_supplierinfo_form_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="attributes"> | ||
<attribute name="domain">[('is_supplier', '=', True)]</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
<record id="product_supplierinfo_tree_view" model="ir.ui.view"> | ||
<field name="name">product.supplierinfo.tree.view</field> | ||
<field name="model">product.supplierinfo</field> | ||
<field name="inherit_id" ref="product.product_supplierinfo_tree_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="attributes"> | ||
<attribute name="domain">[('is_supplier', '=', True)]</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |