Skip to content

Commit

Permalink
[16.0][MIG] purchase_order_line_seller: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Berezi authored and Berezi committed Dec 5, 2024
1 parent d6ce743 commit 0194d5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion purchase_order_line_seller/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Purchase Order Line Seller",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Purchase Management",
"license": "AGPL-3",
"author": "AvanzOSC",
Expand Down
2 changes: 1 addition & 1 deletion purchase_order_line_seller/models/product_supplierinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def name_get(self):
product_name = (
supplierinfo.product_name
if supplierinfo.product_name
else supplierinfo.name.name
else supplierinfo.partner_id.name
)
if supplierinfo.product_code:
name = "[{}] {}".format(supplierinfo.product_code, product_name)
Expand Down
6 changes: 6 additions & 0 deletions setup/purchase_order_line_seller/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 0194d5c

Please sign in to comment.