I have access to the edit the code in ckus_check but I'm trying to move the text around but can't I find the code for the class to add in a line of code to move text around. Is there a way to access any of the classes in ckus_check?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
Instead of adding classes for moving the text in check layouts, Use styles for the particular div
eg:
<div/>
You can use different styles for moving the text such as margin-right, margin-top, margin-bottom, transform, padding-top, padding-bottom etc...
Or another method you can simply give a class inside the div and the create a CSS file inside your module. Then add corresponding style inside that file
eg:
<div class="move_text"/>
create a style file in path: module/static/src/css/style.
then add your style in the CSS file like,
.move_text{
margin-top:10px;
}
and add the CSS file in the manifest
Hope it helps
Hi,
If you check the source code you can see the css styles defined in the module, if you need to change something from user interface, you can add inline style using the style attribute.
Thanks
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 24
|
2196 | ||
Micr check printing
Résolu
|
|
4
mars 21
|
4958 | |
|
1
sept. 18
|
3769 | ||
|
1
avr. 18
|
5404 | ||
|
3
mars 15
|
4315 |