Skip to Content

Contributors

Help needed with modifying a module

Hello everyone,
 
I'm writing this message because I'm trying to modify a module named "Product Dimension" from this link (it's from OCA):
 
 
What my modification is about is replacing a field with one I made called "x_product_thickness", and while it seems it works fine (it even apears on where I want it to appear while replacing the field I wanted to replace), there's one thing in which it doesn't work: there's another field which is the result of multiplying the field I made with two other fields from the module. It would be like this: "x_product_thickness * field 1 * field 2"
 
I tried everything I knew, but I wasn't able to fix this, so I would appreciate it if someone was able to help me with this.
 
Thanks in advance for the help.
 
Have a great day!

by Alejandro Párraga Alcázar - 10:46 - 10 Oct 2024

Follow-Ups

  • Re: Help needed with modifying a module

    What could be the case is that one of the computed fields is stored and the other is not, and then they are computed at different moments in time, leading to issues with computation?

    On 10/10/24 10:47, Redes Sociales JLBBERP wrote:
    Hello everyone,
     
    I'm writing this message because I'm trying to modify a module named "Product Dimension" from this link (it's from OCA):
     
     
    What my modification is about is replacing a field with one I made called "x_product_thickness", and while it seems it works fine (it even apears on where I want it to appear while replacing the field I wanted to replace), there's one thing in which it doesn't work: there's another field which is the result of multiplying the field I made with two other fields from the module. It would be like this: "x_product_thickness * field 1 * field 2"
     
    I tried everything I knew, but I wasn't able to fix this, so I would appreciate it if someone was able to help me with this.
     
    Thanks in advance for the help.
     
    Have a great day!

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Tom Blauwendraat - 11:31 - 10 Oct 2024