Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

column span

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
columnspan
1 Responder
14719 Vistas
Avatar
Frankie Chan

Hi,

I wrote the code:

 <group >

    <label for="remarks" string="Remarks"/>
        <div>     
            <field name="remarks" />
        </div>
 </group>

It appear like:

Remarks                              |_____________________________|<--------------text field

However, I would like to have:

Remarks  |___________________________________________|<--------------text field

How to achieve that?

Thank you very much.

2
Avatar
Descartar
Frankie Chan
Autor

Thanks for the method suggested by prakash. It works but the the field is now on the second page. Are there any amendments or commands to make it appear on the first page?

Prakash

In my custom module version 7. I applied the same method its working without any issue.

OdooBot
Hi prakash,

Thanks for your email.

It's good that we can discuss through email because I can show you the results by figure. 

How can I find the email addresses of others in the forum?

I tried your code but it appears on the second page, as shown in the figure attached.

My desired result is that the whole "text + text box" appears at the line just below title with the text box shorten to fit the page.

I am now changing the form view of existing module, not creating new module.

Does it have any problems?

Also, you see that the address text box is very small, how can I enlarge its height?

Thank you very much.

Regards,

Frankie



On Fri, Jul 4, 2014 at 1:19 PM, prakash <prakash-jain-sunarctechnologies-com@openerp.my.openerp.com> wrote:

In my custom module version 7. I applied the same method its working without any issue.

--
prakash Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo

OdooBot
Hi Frankie,

 1) I think you added "Remark" fields at the End of the </sheet> tag. so its shows in the next page (next sheet).  Add the "Remarks" after the  "Title" fields and  or In the page tag after the  "Internal Notes"  based on your need.

2) In your screen shot "Address" text box only shown. In the Openerp version 7 Customer form Address, City, State, Zip, Country text box also available. Check you settings to Enable all other fields.

Hope this will help you!

Thanks
Prakash




On Sat, Jul 5, 2014 at 8:13 AM, Frankie Chan <kwfchan@gmail.com> wrote:
Hi prakash,

Thanks for your email.

It's good that we can discuss through email because I can show you the results by figure. 

How can I find the email addresses of others in the forum?

I tried your code but it appears on the second page, as shown in the figure attached.

My desired result is that the whole "text + text box" appears at the line just below title with the text box shorten to fit the page.

I am now changing the form view of existing module, not creating new module.

Does it have any problems?

Also, you see that the address text box is very small, how can I enlarge its height?

Thank you very much.

Regards,

Frankie



On Fri, Jul 4, 2014 at 1:19 PM, prakash <prakash-jain-sunarctechnologies-com@openerp.my.openerp.com> wrote:

In my custom module version 7. I applied the same method its working without any issue.

--
prakash Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo

--
Frankie Chan Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo

Ray Carnes

Please review http://forum.openerp.com/forum/topic24602.html for help on colspan and cols.

OdooBot
Hi Ray,

Thanks.

I read it.

I wrote the code:

-------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record model="ir.ui.view" id="view_ct_form">
        <field name="name">res.partner.form</field>
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="base.view_partner_form" />
        <field name="arch" type="xml">

       <group >
             <label for="remarks" class="custom_allign" string="Remarks"/>
                <div>     
                    <field name="remarks" colspan = "4" />
                </div>
       </group>

    </record>
  </data>
</openerp>
-------------------------------------------------------------------------------------------------

However, the text box is too short. Can you please help?

Thanks.

Regards,

Frankie



On Sun, Jul 6, 2014 at 10:50 AM, Ray Carnes <rcarnes-ursainfosystems-com@openerp.my.openerp.com> wrote:

Please review http://forum.openerp.com/forum/topic24602.html for help on colspan and cols.

--
Ray Carnes Sent by OpenERP Inc. using OpenERP. Access your messages and documents in Odoo

Ray Carnes

Check where you are anchoring your <group> tag (right now you are not anchoring it anywhere that I can see), when I do it outside the main group, I get:

 

<img width="495" height="204" id="Picture_x0020_1" src="cid:image001.jpg@01CF99F9.A00A74E0">

 

 

You need an anchor field/group and postion=”before” or “after”.

 

Ray.

 

From: Frankie Chan [mailto:kwfchan@gmail.com]
Sent: Saturday, July 05, 2014 8:37 PM
To: Followers of column-span
Subject: Re: column span

 

Hi Ray,

 

Thanks.

 

I read it.

 

I wrote the code:

 

-------------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<openerp>

  <data>

    <record model="ir.ui.view" id="view_ct_form">

        <field name="name">res.partner.form</field>

        <field name="model">res.partner</field>

        <field name="inherit_id" ref="base.view_partner_form" />

        <field name="arch" type="xml">

 

       <group >

             <label for="remarks" class="custom_allign" string="Remarks"/>

                <div>     

                    <field name="remarks" colspan = "4" />

                </div>

       </group>

 

    </record>

  </data>

</openerp>

-------------------------------------------------------------------------------------------------

 

However, the text box is too short. Can you please help?

 

Thanks.

 

Regards,

 

Frankie

 

 

On Sun, Jul 6, 2014 at 10:50 AM, Ray Carnes <rcarnes-ursainfosystems-com@openerp.my.openerp.com> wrote:

Please review http://forum.openerp.com/forum/topic24602.html for help on colspan and cols.

--
Ray Carnes Sent by OpenERP Inc. using OpenERP. Access your messages and documents in Odoo

 

--
Frankie Chan Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo

Avatar
Prakash
Mejor respuesta

In __openerp__.py File add:-

                "css" : ["static/src/css/labelallign.css"],

In static/src/css/labelallign.css add:-

                .openerp .custom_allign {
                            text-align: right;
                 }

In xml file add:-

<form string="Title" version="7.0">
 <group >
    <label for="remarks" class="custom_allign" string="Remarks"/>
        <div>     
            <field name="remarks" />
        </div>
 </group>
</form>

 

2
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Put an additional clum in Incomingshipement
column
Avatar
1
dic 24
5003
Colimn invisible Resuelto
column
Avatar
Avatar
1
nov 19
3588
is it possible to move the columns of a table in Odoo without using Odoo Studio!
column columns
Avatar
1
abr 25
1889
limit colums in man2many
column many2many
Avatar
0
mar 25
1428
Multi colum
form column
Avatar
0
jun 24
1733
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now