size
int64
0
304k
ext
stringclasses
1 value
lang
stringclasses
1 value
branch
stringclasses
1 value
content
stringlengths
0
304k
avg_line_length
float64
0
238
max_line_length
int64
0
304k
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
100
py
PYTHON
15.0
import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], odoo_addon=True, )
16.666667
100
817
py
PYTHON
15.0
# Copyright 2019 Elico Corp, Dominique K. <dominique.k@elico-corp.com.sg> # Copyright 2019 Ecosoft Co., Ltd., Kitti U. <kittiu@ecosoft.co.th> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Purchase Deposit", "version": "15.0.1.0.2", "summary": "Option to create deposit fro...
37.136364
817
8,166
py
PYTHON
15.0
# Copyright 2019 Elico Corp, Dominique K. <dominique.k@elico-corp.com.sg> # Copyright 2019 Ecosoft Co., Ltd., Kitti U. <kittiu@ecosoft.co.th> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields from odoo.exceptions import UserError from odoo.tests.common import Form, Transacti...
39.449275
8,166
9,117
py
PYTHON
15.0
# Copyright 2019 Elico Corp, Dominique K. <dominique.k@elico-corp.com.sg> # Copyright 2019 Ecosoft Co., Ltd., Kitti U. <kittiu@ecosoft.co.th> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import time from datetime import datetime from odoo import _, api, fields, models from odoo.exceptions impo...
39.986842
9,117
1,175
py
PYTHON
15.0
# Copyright 2019 Elico Corp, Dominique K. <dominique.k@elico-corp.com.sg> # Copyright 2019 Ecosoft Co., Ltd., Kitti U. <kittiu@ecosoft.co.th> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields, models class PurchaseOrder(models.Model): _inherit = "purchase.order" d...
34.558824
1,175
637
py
PYTHON
15.0
# Copyright 2019 Elico Corp, Dominique K. <dominique.k@elico-corp.com.sg> # Copyright 2019 Ecosoft Co., Ltd., Kitti U. <kittiu@ecosoft.co.th> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields, models class ResConfigSettings(models.TransientModel): _inherit = "res.confi...
37.470588
637
475
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase Receipt Expectation - Manual w/ Split", "version": "15.0.2.0.0", "category": "Purchase Management", "author": "Camptocamp SA, Odoo Community Association (OCA)", "website": "https://git...
31.666667
475
5,923
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from datetime import datetime, timedelta from odoo.tests.common import Form from odoo.addons.purchase_receipt_expectation_manual.tests.test_purchase_receipt_expectation_manual import ( # noqa: B950 TestPurchaseReceipt...
41.131944
5,923
4,299
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, fields, models from odoo.tools import float_is_zero class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" product_qty_pre_split = fields.Float( digits="Product Unit ...
45.734043
4,299
658
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models class StockMove(models.Model): _inherit = "stock.move" def _action_cancel(self): moves_to_cancel = self.filtered(lambda m: m.state != "cancel") res = super()._action_cancel(...
32.9
658
1,352
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models class PurchaseOrderManualReceiptLine(models.TransientModel): _inherit = "purchase.order.manual.receipt.wizard.line" def _get_move_vals_list(self): # OVERRIDE: we'll split the purcha...
38.628571
1,352
647
py
PYTHON
15.0
# © 2016 ForgeFlow S.L. # (<http://www.forgeflow.com>) # © 2018 Hizbul Bahar <hizbul25@gmail.com> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Purchase Location by Line", "summary": "Allows to define a specific destination location on each PO line", "version": "15.0.1....
37.941176
645
8,881
py
PYTHON
15.0
# © 2016 ForgeFlow S.L. # (<http://www.forgeflow.com>) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). import time from odoo.tests.common import TransactionCase class TestDeliverySingle(TransactionCase): def setUp(self): super(TestDeliverySingle, self).setUp() # Products ...
34.552529
8,880
2,874
py
PYTHON
15.0
# © 2016 ForgeFlow S.L. # (<http://www.forgeflow.com>) # © 2018 Hizbul Bahar <hizbul25@gmail.com> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" location_dest_id = fields.Man...
44.184615
2,872
890
py
PYTHON
15.0
# © 2016 ForgeFlow S.L. # (<http://www.forgeflow.com>) # © 2018 Hizbul Bahar <hizbul25@gmail.com> # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models class StockPicking(models.Model): _inherit = "stock.picking" def _update_picking_from_group_key(self, key): ...
37
888
628
py
PYTHON
15.0
# Copyright (C) 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) { "name": "Purchase Advance Payment", "version": "15.0.1.0.0", "author": "Forgeflow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/purchase-workflow", "category": "Purcha...
33.052632
628
13,693
py
PYTHON
15.0
# Copyright (C) 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) from odoo import fields from odoo.exceptions import ValidationError from odoo.tests import common class TestPurchaseAdvancePayment(common.TransactionCase): @classmethod def setUpClass(cls): super...
36.710456
13,693
4,616
py
PYTHON
15.0
# Copyright (C) 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) from odoo import _, api, exceptions, fields, models class AccountVoucherWizardPurchase(models.TransientModel): _name = "account.voucher.wizard.purchase" _description = "Account Voucher Wizard Purchase" ...
36.346457
4,616
3,818
py
PYTHON
15.0
# Copyright (C) 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) from odoo import api, fields, models from odoo.tools import float_compare class PurchaseOrder(models.Model): _inherit = "purchase.order" account_payment_ids = fields.One2many( "account.payment",...
38.565657
3,818
370
py
PYTHON
15.0
# Copyright (C) 2021 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html) from odoo import fields, models class AccountPayment(models.Model): _inherit = "account.payment" purchase_id = fields.Many2one( "purchase.order", "Purchase", readonly=True, ...
23.125
370
633
py
PYTHON
15.0
# Copyright 2015-17 ForgeFlow S.L. # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { "name": "Purchase Order Analytic Search", "summary": """Search purchase orders by analytic account. New menu entry in Purchasing to list purchase order lines.""", "version": "15.0.1.0....
39.5625
633
6,282
py
PYTHON
15.0
# Copyright 2015-17 ForgeFlow S.L. # Copyright 2018 Camptocamp # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo.fields import Datetime from odoo.tests.common import TransactionCase class TestAnalyticSearch(TransactionCase): @classmethod def setUpClass(cls): super(TestAn...
36.736842
6,282
1,864
py
PYTHON
15.0
# Copyright 2015 ForgeFlow S.L. # Copyright 2018 Camptocamp # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo import api, fields, models class PurchaseOrder(models.Model): _inherit = "purchase.order" @api.depends("order_line.account_analytic_id") def _compute_analytic_acco...
35.169811
1,864
571
py
PYTHON
15.0
# Copyright (C) 2022 Open Source Integrators # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase Order No Zero Price", "version": "15.0.1.0.0", "author": "Open Source Integrators, Odoo Community Association (OCA)", "summary": "Prevent zero price lines on Purchase Orders"...
33.588235
571
1,948
py
PYTHON
15.0
# Copyright (C) 2022 Open Source Integrators # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import time from odoo.exceptions import UserError from odoo.tests import common from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT class TestPurchaseOrderNoZeroPrice(common.TransactionCase): def setUp...
36.754717
1,948
1,132
py
PYTHON
15.0
# Copyright (C) 2022 Open Source Integrators # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import _, api, exceptions, models class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" @api.constrains("price_unit", "display_type", "state") def _check_price_unit_ze...
39.034483
1,132
527
py
PYTHON
15.0
# Copyright 2018 Tecnativa - Carlos Dauden # Copyright 2018 Tecnativa - Sergio Teruel # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Purchase stock price unit sync", "summary": "Update cost price in stock moves already done", "version": "15.0.1.0.1", "category": "Purchase", ...
37.642857
527
2,080
py
PYTHON
15.0
# Copyright 2019 Tecnativa - Carlos Dauden # Copyright 2019 Tecnativa - Sergio Teruel # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import fields from odoo.tests.common import TransactionCase class TestProductCostPriceAvcoSync(TransactionCase): @classmethod def setUpClass(cls): ...
36.491228
2,080
1,638
py
PYTHON
15.0
# Copyright 2019 Tecnativa - Carlos Dauden # Copyright 2022 Tecnativa - Víctor Martínez # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import models class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" def write(self, vals): res = super().write(vals) ...
38.952381
1,636
728
py
PYTHON
15.0
# © 2021 Solvos Consultoría Informática (<http://www.solvos.es>) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Purchase Order Type Dashboard", "version": "15.0.1.0.0", "author": "Solvos, Odoo Community Association (OCA)", "license": "AGPL-3", "category": "Purchase...
34.52381
725
2,428
py
PYTHON
15.0
# © 2021 Solvos Consultoría Informática (<http://www.solvos.es>) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). import time from odoo.tests import common, tagged from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT @tagged("post_install", "-at_install") class TestPurchaseOrderTypeDashboard(c...
37.307692
2,425
2,024
py
PYTHON
15.0
# © 2021 Solvos Consultoría Informática (<http://www.solvos.es>) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models class PurchaseOrderType(models.Model): _inherit = "purchase.order.type" purchase_order_ids = fields.One2many( comodel_name="purc...
34.844828
2,021
666
py
PYTHON
15.0
# Copyright 2021 Ecosoft (<http://ecosoft.co.th>) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase Request Sub State", "version": "15.0.1.0.0", "category": "Tools", "author": "Ecosoft,Odoo Community Association (OCA)", "website": "https://github.com/OCA/purchase-w...
35.052632
666
2,462
py
PYTHON
15.0
# Copyright 2021 Ecosoft (<http://ecosoft.co.th>) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import SUPERUSER_ID from odoo.exceptions import ValidationError from odoo.tests.common import TransactionCase class TestBaseSubstate(TransactionCase): def setUp(self): super(Te...
41.728814
2,462
532
py
PYTHON
15.0
# Copyright 2021 Ecosoft (<http://ecosoft.co.th>) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models class BaseSubstateType(models.Model): _inherit = "base.substate.type" model = fields.Selection( selection_add=[("purchase.request", "Purchase request")], ...
28
532
497
py
PYTHON
15.0
# Copyright 2021 Tecnativa - Carlos Dauden # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) { "name": "Procurement Purchase Service No Grouping", "version": "15.0.1.0.0", "author": "Tecnativa," "Odoo Community Association (OCA)", "website": "https://github.com/OCA/purchase-workflow", ...
35.5
497
2,549
py
PYTHON
15.0
# Copyright 2015-2017 - Pedro M. Baeza <pedro.baeza@tecnativa.com> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo.tests import common class TestProcurementPurchaseNoGrouping(common.TransactionCase): @classmethod def setUpClass(cls): super(TestProcurementPurchaseNoGrouping, c...
39.215385
2,549
707
py
PYTHON
15.0
# Copyright 2021 Tecnativa - Carlos Dauden # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models class SaleOrderLine(models.Model): _inherit = "sale.order.line" def _purchase_service_create(self, quantity=False): no_grouped_lines = self.filtered( lambda ...
33.666667
707
512
py
PYTHON
15.0
# Copyright 2021 Tecnativa - Carlos Dauden # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import api, models class PurchaseOrder(models.Model): _inherit = "purchase.order" @api.model def search(self, args, offset=0, limit=None, order=None, count=False): if self.env.cont...
32
512
467
py
PYTHON
15.0
# Copyright 2023 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase - Total Ordered Qty", "version": "15.0.1.0.0", "category": "Purchase Management", "author": "Camptocamp, Odoo Community Association (OCA), Italo Lopes", "website": "https://github.com/...
33.357143
467
2,822
py
PYTHON
15.0
# Copyright 2023 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from json import dumps from odoo.tests import TransactionCase class TestPurchaseTotalOrderedQty(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() cls.uom_unit = cls.env.ref("...
35.275
2,822
2,621
py
PYTHON
15.0
# Copyright 2023 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). import json from collections import defaultdict from odoo import api, fields, models class PurchaseOrder(models.Model): _inherit = "purchase.order" total_ordered_qty_json = fields.Char( string="Total Quan...
39.712121
2,621
677
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase Receipt Expectation From Partner", "version": "15.0.1.0.0", "category": "Purchase Management", "author": "Camptocamp SA, Odoo Community Association (OCA)", "website": "https://github.c...
32.238095
677
1,799
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models from odoo.tests.common import Form from odoo.addons.purchase_receipt_expectation.tests.test_purchase_receipt_expectation import ( TestPurchaseReceiptExpectation, ) class TestPurchaseRec...
37.479167
1,799
389
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, models class PurchaseOrder(models.Model): _inherit = "purchase.order" @api.onchange("partner_id") def _onchange_partner_receipt_expectation(self): exp = self.partner_id.receipt_ex...
27.785714
389
456
py
PYTHON
15.0
# Copyright 2021 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, fields, models class PurchaseOrder(models.Model): _inherit = "res.partner" @api.model def _get_receipt_expectation_selection(self): po_field = self.env["purchase.order"]._fields["...
30.4
456
861
py
PYTHON
15.0
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Purchase Work Acceptance Evaluation", "version": "15.0.1.0.0", "category": "Purchase Management", "author": "Ecosoft, Odoo Community Association (OCA)", "license": "A...
35.875
861
3,066
py
PYTHON
15.0
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields from odoo.exceptions import UserError from odoo.tests.common import Form, TransactionCase class TestPurchaseWorkAcceptanceEvaluation(TransactionCase): def setUp(self):...
44.434783
3,066
622
py
PYTHON
15.0
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, fields, models class ResConfigSettings(models.TransientModel): _inherit = "res.config.settings" group_enable_eval_on_wa = fields.Boolean( string="Enable Eva...
34.555556
622
2,443
py
PYTHON
15.0
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import _, api, fields, models from odoo.exceptions import UserError class WorkAcceptance(models.Model): _inherit = "work.acceptance" evaluation_result_ids = fields.One2many( ...
33.013514
2,443
1,313
py
PYTHON
15.0
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models class WorkAcceptanceEvaluation(models.Model): _name = "work.acceptance.evaluation" _description = "Work Acceptance Evaluation" name = fields.Char( ...
28.543478
1,313
1,822
py
PYTHON
15.0
# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models class WorkAcceptanceEvaluationReport(models.Model): _name = "work.acceptance.evaluation.report" _description = "Work Acceptance Evaluation Report" _ord...
30.366667
1,822
598
py
PYTHON
15.0
# Copyright 2015-20 ForgeFlow, S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Product Supplier Code in Purchase", "summary": """This module adds to the purchase order line the supplier code defined in the product.""", "version": "15.0.1.0.0", "auth...
37.375
598
3,023
py
PYTHON
15.0
# Copyright 2015-17 ForgeFlow, S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields from odoo.tests.common import TransactionCase class TestProductSupplierCodePurchase(TransactionCase): def setUp(self): super(TestProductSupplierCodePurchase, self).setUp() ...
38.75641
3,023
2,175
py
PYTHON
15.0
# Copyright 2015-17 ForgeFlow, S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models from odoo.exceptions import AccessError class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" product_supplier_code = fields.Char() @api.onchan...
35.655738
2,175
595
py
PYTHON
15.0
# Copyright 2022 ForgeFlow S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Purchase Stock Tier Validation", "summary": "Exclude RFQs pending to validate when procuring", "version": "15.0.1.0.0", "category": "Purchase Management", "website": "https://github.com/OCA/pu...
37.1875
595
4,040
py
PYTHON
15.0
# Copyright 2017-2020 ForgeFlow S.L. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0). from odoo import fields from odoo.tests import common class TestPurchaseStockTierValidation(common.TransactionCase): def setUp(self): super(TestPurchaseStockTierValidation, self).setUp() # Get...
36.727273
4,040