بنقرة واحدة
odoo-ui-improvements-sprinkles
Enhance the UI with inline views, widgets, ordering, and stat buttons.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Enhance the UI with inline views, widgets, ordering, and stat buttons.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
A router skill that identifies and recommends the most appropriate Odoo skill for a given user request.
Create HTTP endpoints for Websites and APIs.
Comprehensive guide to Odoo fields, including basic, relational, computed, and robust technical features (indexing, company_dependent, properties).
Master the Odoo ORM for data manipulation, environment management, and CRUD operations.
Configure Access Control Lists (ACLs) using CSV files.
Write automated tests using TransactionCase and Form emulators to ensure code quality.
| name | Odoo UI Improvements (Sprinkles) |
| description | Enhance the UI with inline views, widgets, ordering, and stat buttons. |
Polish the user interface with advanced view features, smart buttons, and better data organization.
Define a specific view for a One2many field directly inside the parent Form view, instead of using the default registered list view.
Example:
<field name="offer_ids">
<list editable="bottom" decoration-danger="status=='refused'" decoration-success="status=='accepted'">
<field name="price"/>
<field name="partner_id"/>
<field name="status" invisible="1"/>
</list>
</field>
Change how a field is rendered in the UI.
widget="statusbar" (Field type: Selection).widget="many2many_tags" (Field type: Many2many).widget="handle" (Field type: Integer, for manual ordering).widget="monetary" (Requires a currency field).Example:
<field name="state" widget="statusbar" statusbar_visible="new,offer_received,offer_accepted,sold"/>
Deterministic ordering of records is crucial for usability.
_order)Sets the default sort order for searching and listing.
_order = "id desc"
# or
_order = "sequence, id desc"
handle)Allows users to drag and drop rows in a list.
sequence (default=10)._order = "sequence, id" to the model.<field name="sequence" widget="handle"/> as the first column in the list view.Quick access links in the top-right of a form view.
oe_stat_buttonfa-star, fa-book, etc.Example:
<div class="oe_button_box" name="button_box">
<button name="action_view_offers" type="object" class="oe_stat_button" icon="fa-money">
<field name="offer_count" widget="statinfo" string="Offers"/>
</button>
</div>
offer_count) and an action (action_view_offers) that opens the related records.