Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Overwrite POS css v7

By
Alex
on 3/6/14, 2:43 PM 652 views

I would like to overwrite some POS styles but I don't want to change it in pos.css directly so I think the best way to do it, is creating a new module.

So I have created a new module with: __init__.py empty __openerp__.py with my css link 'css': ['static/src/css/pos_changes.css'],

And the pos_changes.css where I put the POS css classes I want to change. Example:

.point-of-sale #topheader {
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 34px;
    margin:0;
    padding:0;
    color: gray;
    background: #393939;
    background: -moz-linear-gradient(#7b7979, #393939);
    background: -webkit-gradient(linear, left top, left bottom, from(#7b7979), to(#393939));
}

If I want to change the topheader I copy this code and change what I want.

I can install the module without problem but changes are not taking place. Maybe I am not understanding something I am not a programmer and I am learning on the go.

I'll appreciate any help. Thank you.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/6/14, 2:43 PM
Seen: 652 times
Last updated: 3/16/15, 8:10 AM