- Cambiar parámetro qty= a quantity= en llamadas a _compute_price_rule - Eliminar type/detailed_type de product.product creates - Añadir campo name a purchase.order.line - Agregar método _compute_theoritical_price en template - Crear helpers para leer precios teóricos desde variante - Corregir variables no usadas y nombres indefinidos
30 lines
857 B
YAML
30 lines
857 B
YAML
# Prettier configuration for Odoo addons
|
|
# Note: XML formatting disabled for QWeb templates due to prettier limitations
|
|
# with mixed content (text + tags). Use manual formatting for .xml files.
|
|
|
|
printWidth: 100
|
|
tabWidth: 4
|
|
useTabs: false
|
|
|
|
# XML/HTML specific - disabled, causes readability issues with QWeb
|
|
# xmlWhitespaceSensitivity: "strict"
|
|
# xmlSelfClosingSpace: true
|
|
|
|
# Keep tags more compact - don't break every attribute
|
|
overrides:
|
|
# Disable prettier for XML files - manual formatting preferred
|
|
# - files: "*.xml"
|
|
# options:
|
|
# printWidth: 120
|
|
# xmlWhitespaceSensitivity: "strict"
|
|
# singleAttributePerLine: false
|
|
# bracketSameLine: true
|
|
|
|
- files: "*.py"
|
|
options:
|
|
printWidth: 88
|
|
|
|
- files: ["*.json", "*.json5"]
|
|
options:
|
|
printWidth: 120
|
|
tabWidth: 2
|