I want transfer a value form a field named amout_total_signed in module account.move to a field named x_faturado in a module in sales.order, but idk how i can do it i try used many2ione fields but i dont understang very how it works someone can help me?
I need do this only with odoo studio
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
Hi Alexandre,
To set up a custom field related to the amount_total_signed field, follow these steps:
- Add a Many2one Field: Initially, you'll need to create a Many2one field in the sale order model that will establish a relationship with the account.move model. In Odoo Studio, navigate to the sale order model and drag a new Many2one field onto the form.
- Set Field Properties: Once the Many2one field is added, configure its properties accordingly. You'll need to specify the related model as account.move and set any additional properties as needed.
- Add a Related Field: After creating the Many2one field, drag a related field onto the form. In the related field settings, select the corresponding Many2one field you just added and specify the related field as Total signed. This will establish the relationship between the sale order model and the account.move model, allowing you to access the amount_total_signed field.
- Verify Configuration: After configuring the related field, save your changes and verify that the new field correctly displays the value of the amount_total_signed field from the related account.move record.
By following these steps, you can set up a custom field in the sale order model that is related to the amount_total_signed field in the account.move model. This approach allows you to establish a connection between the two models and access the desired field value within your sale orders.
Hope it helps
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
all of this only in odoo studio