Odoo Populate Tests
test_populate · odoo/odoo
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.3 MB
Module directory on disk
Code analysis
0 migration notes
11 models
0 views
0 HTTP endpoints
Description
Standalone testing module for Odoo Populate module.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 11
New fields (12)
-
ageIntegerargs: 'Age' -
birth_dateDateargs: 'Birth Date' -
emailCharrequired=True args: 'Email' -
first_nameCharargs: 'First Name' -
is_vipBooleanargs: 'VIP Customer' -
last_nameCharargs: 'Last Name' -
nameCharrequired=True args: 'Customer Name' -
notesTextdefault=<expr> args: 'Customer Notes' -
phoneCharargs: 'Phone' -
preferred_categorySelectionstring='Preferred Category' args: [('electronics', 'Electronics'), ('clothing', 'Clothing'), ('books', 'Books'), ('home', 'Home & Garden')] -
registration_dateDatetimeargs: 'Registration Date' -
total_spentFloatargs: 'Total Spent'
-
populate_create_customer_from_model(self, name, email, notes=False)@api.model -
populate_set_notes_from_args(self, first='', second='', flag=False) -
populate_set_notes_from_context(self)
New fields (9)
-
customer_idMany2one → test_populate.customerrequired=Truestring='Customer' args: 'test_populate.customer' -
delivery_dateDatetimeargs: 'Delivery Date' -
is_urgentBooleanargs: 'Urgent Order' -
line_idsOne2many → test_populate.order.linestring='Order Lines' args: 'test_populate.order.line', 'order_id' -
nameCharrequired=True args: 'Order Reference' -
notesTextargs: 'Order Notes' -
order_dateDaterequired=True args: 'Order Date' -
statusSelectiondefault='draft'string='Status' args: [('draft', 'Draft'), ('confirmed', 'Confirmed'), ('shipped', 'Shipped'), ('delivered', 'Delivered'), ('cancelled', 'Cancelled')] -
total_amountFloatargs: 'Total Amount'
No public methods.
New fields (5)
-
order_idMany2one → test_populate.orderrequired=Truestring='Order' args: 'test_populate.order' -
product_idMany2one → test_populate.productrequired=Truestring='Product' args: 'test_populate.product' -
quantityIntegerdefault=1 args: 'Quantity' -
total_priceFloatcompute='_compute_total_price'store=True args: 'Total Price' -
unit_priceFloatargs: 'Unit Price'
No public methods.
New fields (15)
-
activeBooleandefault=True args: 'Active' -
categorySelectionstring='Category' args: [('electronics', 'Electronics'), ('clothing', 'Clothing'), ('books', 'Books'), ('home', 'Home & Garden')] -
costFloatargs: 'Cost' -
created_dateDateargs: 'Created Date' -
currency_idMany2one → res.currencystring='Currency' args: 'res.currency' -
descriptionTextargs: 'Description' -
is_featuredBooleanargs: 'Is Featured' -
is_sellableBooleandefault=Truerequired=True args: 'Is Product Sellable' -
monetary_priceMonetarycurrency_field='currency_id' args: 'Monetary Price' -
nameCharrequired=True args: 'Product Name' -
priceFloatargs: 'Price' -
stock_quantityIntegerargs: 'Stock Quantity' -
supplier_idMany2one → test_populate.supplierstring='Supplier' args: 'test_populate.supplier' -
tag_idsMany2many → test_populate.tagstring='Product Tags' args: 'test_populate.tag' -
updated_atDatetimeargs: 'Updated At'
No public methods.
New fields (3)
-
nameCharrequired=True args: 'Product Name' -
priceFloatargs: 'Price' -
tag_idsMany2many → test_populate.tagstring='Tags' args: 'test_populate.tag'
No public methods.
New fields (2)
-
attributes_definitionPropertiesDefinitionargs: 'Task Attributes Definition' -
nameCharrequired=True args: 'Project Name'
No public methods.
New fields (4)
-
nameCharrequired=True args: 'Reference Name' -
referenceReferenceselection=[('test_populate.product', 'A Product'), ('test_populate.supplier', 'A Supplier')] -
res_idMany2oneReferencemodel_field='res_model' args: 'Record' -
res_modelCharrequired=True args: 'Model'
No public methods.
New fields (10)
-
country_codeSelectionstring='Country' args: [('US', 'United States'), ('CA', 'Canada'), ('GB', 'United Kingdom'), ('DE', 'Germany'), ('FR', 'France')] -
emailCharargs: 'Email' -
established_dateDateargs: 'Established Date' -
is_activeBooleandefault=True args: 'Is Active' -
nameCharrequired=True args: 'Supplier Name' -
notesTextargs: 'Notes' -
phoneCharargs: 'Phone' -
product_idsOne2many → test_populate.productstring='Products' args: 'test_populate.product', 'supplier_id' -
ratingFloatargs: 'Rating' -
warehouse_idMany2one → test_populate.warehousestring='Warehouse' args: 'test_populate.warehouse'
No public methods.
New fields (2)
-
colorIntegerargs: 'Color Index' -
nameCharrequired=True args: 'Tag Name'
No public methods.
New fields (4)
-
attributesPropertiesdefinition='project_id.attributes_definition' args: 'Attributes' -
nameCharrequired=True args: 'Task Name' -
prioritySelectionstring='Priority' args: [('low', 'Low'), ('medium', 'Medium'), ('high', 'High')] -
project_idMany2one → test_populate.projectrequired=Truestring='Project' args: 'test_populate.project'
No public methods.
New fields (3)
-
locationCharargs: 'Location' -
nameCharrequired=True args: 'Warehouse Name' -
supplier_idsOne2many → test_populate.supplierstring='Suppliers' args: 'test_populate.supplier', 'warehouse_id'
No public methods.
Loading…
Loading…
Loading…
Loading…