fix: remove decimal points from margin percentage — whole numbers only
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -231,7 +231,7 @@
|
||||
</td>
|
||||
<td class="text-end woo-editable-cell woo-margin-cell" t-on-click.stop="() => this.startEdit(p.id, 'margin', this.calcMargin(p.odoo_cost, p.odoo_price))">
|
||||
<t t-if="this.isEditing(p.id, 'margin')">
|
||||
<input type="number" step="0.1" min="0" max="99.9" class="woo-edit-input"
|
||||
<input type="number" step="1" min="0" max="99" class="woo-edit-input"
|
||||
t-att-value="state.editValue"
|
||||
t-on-input="onEditInput"
|
||||
t-on-keydown="onEditKeydown"
|
||||
|
||||
Reference in New Issue
Block a user