Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have added the margin and margin percent columns in the treeview of the Quotations and Sales Ordes pages, and I have also added the "sum" attributes to both columns.
<field name="arch" type="xml"> <xpath expr="//field[@name='partner_id']" position="after"> <field name="margin_percent" string="Margin Percent (%%)" groups="base.group_user" sum="Average Margins"/> <field name="margin" groups="base.group_user" sum="Total Margins"/> </xpath> </field>
I would like to know if there is a way to change the "sum" attribute of the "Margin Percent" field to contain the average of the margin percents?
Any help is appreciated.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/3/14, 12:17 PM|
|Seen: 1197 times|
|Last updated: 3/16/15, 8:10 AM|