Skip to content

Commit

Permalink
[MIG] maintenance_product: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynnan committed Jun 21, 2023
1 parent 6065272 commit c10d325
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maintenance_product/__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).
{
"name": "Maintenance Product",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Maintenance",
"website": "https://github.com/OCA/maintenance",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion maintenance_product/models/maintenance_equipment.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _onchange_product_id(self):
self.cost = self.product_id.standard_price
if self.product_id.seller_ids:
first_seller = fields.first(self.product_id.seller_ids)
self.partner_id = first_seller.name
self.partner_id = first_seller.partner_id
self.partner_ref = first_seller.product_code


Expand Down

0 comments on commit c10d325

Please sign in to comment.