- Renombrar README.md a README_DEV.md en todos los addons custom - Crear README.rst siguiendo estructura OCA oficial - Crear directorios readme/ con fragmentos .rst (DESCRIPTION, INSTALL, CONFIGURE, USAGE, CONTRIBUTORS, CREDITS) - Actualizar créditos: Criptomart (autor) + Elika Bilbo (financiador) - Actualizar __manifest__.py con maintainers correctos - Crear estructura static/description/ para logo en 5 addons - Agregar documentación de logo (LOGO_INSTRUCTIONS.md, install_logo.sh) - Actualizar copilot-instructions.md con referencias a OCA_DOCUMENTATION.md - Crear docs/OCA_DOCUMENTATION.md con guía completa de estructura - Crear docs/RESUMEN_CAMBIOS_DOCUMENTACION.md con resumen detallado Addons actualizados: - website_sale_aplicoop - product_sale_price_from_pricelist - product_pricelist_total_margin - product_price_category_supplier - account_invoice_triple_discount_readonly
108 lines
3 KiB
Markdown
108 lines
3 KiB
Markdown
# CriptoMart Logo for Addons
|
|
|
|
## Quick Start
|
|
|
|
El logo de CriptoMart ha sido adjuntado en este proyecto. Para usarlo:
|
|
|
|
```bash
|
|
# 1. Guardar el logo adjunto como /tmp/criptomart_logo.png
|
|
# 2. Ejecutar este script:
|
|
|
|
cd /home/snt/Documentos/lab/odoo/addons-cm
|
|
|
|
for addon in website_sale_aplicoop product_sale_price_from_pricelist \
|
|
product_pricelist_total_margin product_price_category_supplier \
|
|
account_invoice_triple_discount_readonly; do
|
|
cp /tmp/criptomart_logo.png "$addon/static/description/icon.png"
|
|
echo "✓ Logo copied to $addon"
|
|
done
|
|
|
|
echo ""
|
|
echo "✅ Logo installation complete!"
|
|
echo "Restart Odoo and update apps list to see the changes."
|
|
```
|
|
|
|
## Logo Location
|
|
|
|
The CriptoMart logo should be placed in each custom addon at:
|
|
|
|
```
|
|
addon_name/static/description/icon.png
|
|
```
|
|
|
|
## Logo Requirements (Odoo Standard)
|
|
|
|
- **Format**: PNG
|
|
- **Recommended size**: 256x256 pixels (or 128x128)
|
|
- **Background**: Transparent or white
|
|
- **Format ratio**: Square (1:1)
|
|
|
|
## Current Logo
|
|
|
|
The CriptoMart logo features:
|
|
- A circular network/blockchain design at the top
|
|
- The text "CriptoMart" below
|
|
- A smile/arc at the bottom
|
|
- Black on transparent/white background
|
|
|
|
## Addons Requiring Logo
|
|
|
|
The following custom addons should have the CriptoMart logo:
|
|
|
|
1. ✓ website_sale_aplicoop
|
|
2. ✓ product_sale_price_from_pricelist
|
|
3. ✓ product_pricelist_total_margin
|
|
4. ✓ product_price_category_supplier
|
|
5. ✓ account_invoice_triple_discount_readonly
|
|
|
|
## How to Add the Logo
|
|
|
|
### Option 1: Manual Copy
|
|
|
|
```bash
|
|
# Copy logo to each addon
|
|
cp criptomart_logo.png website_sale_aplicoop/static/description/icon.png
|
|
cp criptomart_logo.png product_sale_price_from_pricelist/static/description/icon.png
|
|
cp criptomart_logo.png product_pricelist_total_margin/static/description/icon.png
|
|
cp criptomart_logo.png product_price_category_supplier/static/description/icon.png
|
|
cp criptomart_logo.png account_invoice_triple_discount_readonly/static/description/icon.png
|
|
```
|
|
|
|
### Option 2: Automated Script
|
|
|
|
```bash
|
|
# Save the logo as docs/criptomart_logo.png first, then:
|
|
cd /home/snt/Documentos/lab/odoo/addons-cm
|
|
|
|
for addon in website_sale_aplicoop product_sale_price_from_pricelist \
|
|
product_pricelist_total_margin product_price_category_supplier \
|
|
account_invoice_triple_discount_readonly; do
|
|
cp docs/criptomart_logo.png "$addon/static/description/icon.png"
|
|
echo "✓ Logo copied to $addon"
|
|
done
|
|
```
|
|
|
|
## Verification
|
|
|
|
After adding the logo, verify it appears correctly:
|
|
|
|
1. Restart Odoo
|
|
2. Update the app list
|
|
3. Search for the addon
|
|
4. The CriptoMart logo should appear in the addon tile
|
|
|
|
## Logo Source
|
|
|
|
The logo file is attached in the project documentation and should be saved as:
|
|
- `docs/criptomart_logo.png` (for reference and distribution)
|
|
|
|
## Notes
|
|
|
|
- The logo will appear in the Odoo Apps list
|
|
- It identifies the addon as developed by CriptoMart
|
|
- It provides visual consistency across all custom addons
|
|
- The logo is particularly visible in the Apps menu and module information pages
|
|
|
|
## Copyright
|
|
|
|
Logo © CriptoMart - All rights reserved
|