Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions purchase_partner_incoterm/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Default purchase incoterm per partner
=====================================

..
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
Expand Down Expand Up @@ -112,7 +112,7 @@ promote its widespread use.

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

|maintainer-TDu| |maintainer-bealdav|
|maintainer-TDu| |maintainer-bealdav|

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_partner_incoterm>`_ project on GitHub.

Expand Down
12 changes: 6 additions & 6 deletions purchase_sale_link_by_origin/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ PO and SO are linked by their order lines.
This module also link them by the PO's Origin field, to cover more
cases. For example:

- If a user cancels a PO, by default the link would have been broken;
now it won't;
- Or if a user manually defines or updates the Origin field of a PO, it
will be taken into account.
- If a user cancels a PO, by default the link would have been broken;
now it won't;
- Or if a user manually defines or updates the Origin field of a PO, it
will be taken into account.

**Table of contents**

Expand Down Expand Up @@ -66,14 +66,14 @@ Authors
Contributors
------------

- Phuc (Kieu Hoang) <phuckh@trobz.com>
- Phuc (Kieu Hoang) <phuckh@trobz.com>

Other credits
-------------

The development of this module has been financially supported by:

- Camptocamp
- Camptocamp

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion purchase_sale_link_by_origin/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def _get_purchase_orders(self):
po_related = self.env["purchase.order"]
for order in self:
po_related |= self.env["purchase.order"].search(
[("origin", "ilike", order.name)]
[("origin", "=", order.name)]
)
return super()._get_purchase_orders() | po_related
Loading