feat: add Cost and Margin % columns with inline editing
Cost column shows Odoo standard_price (editable). Margin % is calculated from cost and sale price. Editing margin auto-calculates the sale price using: price = cost / (1 - margin/100). All cells are inline-editable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -626,6 +626,11 @@ html[style*="color-scheme: dark"] {
|
||||
.woo-editable-cell:hover {
|
||||
background: var(--woo-bg-hover) !important;
|
||||
}
|
||||
.woo-margin-cell {
|
||||
font-weight: 600;
|
||||
color: var(--woo-success);
|
||||
}
|
||||
|
||||
.woo-edit-input {
|
||||
width: 90px;
|
||||
padding: 2px 6px;
|
||||
|
||||
Reference in New Issue
Block a user