Skip to content

Commit

Permalink
[IMP] : pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadhoc committed Oct 8, 2024
1 parent 29433e9 commit 412c262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions stock_free_quantity/models/product_product.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
from odoo import _, api, fields, models
from odoo.exceptions import UserError

from odoo.addons.stock.models.product import OPERATORS
from odoo import models


class ProductProduct(models.Model):
_inherit = "product.product"


def _prepare_domain_available_not_reserved(self):
domain_quant = [("product_id", "in", self.ids)]
domain_quant_locations = self._get_domain_locations()[0]
Expand Down
2 changes: 1 addition & 1 deletion stock_free_quantity/views/stock_quant_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="inherit_id" ref="stock.view_stock_quant_tree_editable" />
<field name="arch" type="xml">
<field name="reserved_quantity" position="after">
<field name="available_quantity"/>
<field name="available_quantity" />
</field>
</field>
</record>
Expand Down

0 comments on commit 412c262

Please sign in to comment.