Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <xpath expr="//form[1]/header[1]/button[@name='action_quotation_send'][3]" position="attributes">
- <attribute name="invisible">1</attribute>
- </xpath>
- <xpath expr="//form[1]/header[1]/button[@name='action_quotation_send'][3]" position="after">
- <button name="1664" type="action" class="btn-primary" icon="fa-refresh" string="Update Sale Order"/>
- </xpath>
- <xpath expr="//form[1]/header[1]/button[@name='action_quotation_send'][4]" position="attributes">
- <attribute name="invisible">1</attribute>
- </xpath>
- <xpath expr="//button[@name='action_preview_sale_order']" position="attributes">
- <attribute name="invisible">1</attribute>
- </xpath>
- <xpath expr="//button[@name='action_draft']" position="after">
- <button name="action_lock" type="object" string="Lock" invisible="state not in ['sale']"/>
- <button name="action_unlock" type="object" string="Unlock" invisible="state not in ['done']"/>
- </xpath>
- <xpath expr="//button[@name='action_view_purchase_orders']" position="after">
- <button class="oe_stat_button" icon="fa-area-chart" type="action" name="1133">
- <field widget="statinfo" name="x_order_id__sale_order_line_count" string="Order Lines"/>
- </button>
- <button class="oe_stat_button" icon="fa-database" type="action" name="1145">
- <field widget="statinfo" name="x_x_sorder__x_sordersnapshot_count" string="Snapshots"/>
- </button>
- <!--<button class="oe_stat_button" icon="fa-balance-scale" type="action" name="1149">-->
- <!-- <field widget="statinfo" name="x_x_control_order__x_order_control_count" string="Order Control"/>-->
- <!--</button>-->
- <button class="oe_stat_button" icon="fa-balance-scale" type="action" name="1663" string="Economic Control">
- <!--<field widget="statinfo" name="x_x_studio_sales_order__x_economic_control_count" string="Economic Control"/>-->
- </button>
- </xpath>
- <xpath expr="//field[@name='partner_id']" position="attributes">
- <attribute name="domain">[["is_company","=",True]]</attribute>
- </xpath>
- <xpath expr="//field[@name='partner_id']" position="after">
- <field name="x_studio_parent_company"/>
- </xpath>
- <xpath expr="//field[@name='payment_term_id']" position="after">
- <field name="x_studio_last_update_scheduled_action" string="Last Update Scheduled Action" force_save="True" readonly="1" groups="base.group_erp_manager"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]" position="attributes">
- <attribute name="limit">300</attribute>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='product_id']" position="attributes">
- <attribute name="options">{"no_open":true,"no_create":true}</attribute>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='name']" position="after">
- <field name="task_id" optional="show" column_invisible="1"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='product_uom_qty']" position="after">
- <field name="x_sline_start" optional="show"/>
- <field name="x_sline_end" optional="show"/>
- <button string="incoherence" class="btn-danger" icon="fa-warning" invisible="x_studio_incoherence == False"/>
- <field optional="show" name="x_studio_incoherence" string="Incoherence" column_invisible="1"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='qty_delivered']" position="after">
- <field name="x_studio_control_cost_x" widget="percentage" optional="hide" string="AC %"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/widget[@name='qty_at_date_widget']" position="after">
- <field name="x_studio_ev_cost_auto" widget="percentage" optional="hide" string="PV %"/>
- <field name="x_studio_produced" widget="percentage" optional="hide" string="EV %"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='qty_invoiced']" position="after">
- <field name="x_studio_invoiced_currency" optional="hide" string="Invoiced €"/>
- <field name="x_sline_invoicedate" optional="show"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='price_unit']" position="after">
- <field name="purchase_price" optional="show" column_invisible="1"/>
- <field name="x_studio_fixed_cost" optional="show" string="Cost"/>
- <field name="x_studio_control_cost_consumed" optional="hide"/>
- <field name="x_studio_control_cost" optional="hide" string="C. Cost Sum"/>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]/page[@name='order_lines']/field[@name='order_line']/tree[1]/field[@name='price_subtotal']" position="after">
- <field name="x_sline_deviation" optional="show" widget="percentage"/>
- <field name="x_studio_control_subtotal" optional="hide"/>
- </xpath>
- <xpath expr="//group[@name='sale_total']" position="after">
- <group name="footer_wrap" class="" colspan="12" col="3">
- <group string="Proposal" name="studio_group_611f8b" class="" colspan="1">
- <field name="x_sorder_yoda" string="Yoda" colspan="2"/>
- <field name="x_sorder_jedi" string="Jedi"/>
- <field name="x_sorder_padawan" string="Padawan"/>
- <field name="x_sorder_amountprop" string="Proposed Amount" widget="float"/>
- <field name="x_sorder_analyticestimated" string="Estimated Cost" widget="float"/>
- <field name="x_sorder_costprop" string="Proposed Cost" widget="float"/>
- <field name="x_sorder_marginprop" string="Proposed Margin" widget="float"/>
- <field name="x_sorder_marginproppc" string="Proposed Margin %"/>
- </group>
- <group col="1" colspan="1" name="center">
- <group name="studio_group_analytic" string="Analytic" class="" colspan="1" col="2">
- <div class="row" colspan="2" col="2" style="" name="studio_div_1eb5c0">
- <label string="Analytic Account Credit" for="x_studio_analytic_account_credit" class="col-lg-9"/>
- <field name="x_studio_analytic_account_credit" id="x_studio_analytic_account_credit" style="width:25%!important;text-align:right" widget="float"/>
- </div>
- <div class="row" colspan="2" col="2" style="" name="studio_div_90e023">
- <label string="Analytic Account Debit" for="x_studio_analytic_account_debit" class="col-lg-9"/>
- <field name="x_studio_analytic_account_debit" id="x_studio_analytic_account_debit" style="width:25%!important;text-align:right" widget="float"/>
- </div>
- <div class="row" colspan="2" col="2" style="" name="studio_div_107775">
- <label string="Analytic Cost + Planning" for="x_studio_analytic_cost_and_forecasted" class="col-lg-9"/>
- <field name="x_studio_analytic_cost_and_forecasted" id="x_studio_analytic_cost_and_forecasted" style="width:25%!important;text-align:right" widget="float" readonly="1"/>
- </div>
- </group>
- <group name="studio_group_timesheets" string="Timesheets" class="" colspan="1" col="2">
- <div class="row" colspan="2" name="studio_div_adfec9">
- <label string="Hours in Planning App (Total)" for="x_sorder_assignment" class="col-lg-9"/>
- <field name="x_sorder_assignment" id="x_sorder_assignment" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_aa2494">
- <label string="Hours in Sales Order (Total)" for="x_sorder_hoursplan" class="col-lg-9"/>
- <field name="x_sorder_hoursplan" id="x_sorder_hoursplan" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_af3159">
- <label string="Hours in Planning App (To date)" for="x_sorder_assignment_todate" class="col-lg-9"/>
- <field name="x_sorder_assignment_todate" id="x_sorder_assignment_todate" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_e88f78">
- <label string="Hours in Sales Order (To date)" for="x_sorder_hoursplan_todate" class="col-lg-9"/>
- <field name="x_sorder_hoursplan_todate" id="x_sorder_hoursplan_todate" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_ba6ad2">
- <label string="Hours considered" for="x_sorder_hours_considered" class="col-lg-9"/>
- <field name="x_sorder_hours_considered" id="x_sorder_hours_considered" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_2ea52c">
- <label string="Hours in timesheets" for="x_sorder_hours_timesheets" class="col-lg-9"/>
- <field name="x_sorder_hours_timesheets" id="x_sorder_hours_timesheets" style="width:25%!important;text-align:right" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_1cf739">
- <label string="Hours missing" for="x_sorder_hours_lost" class="col-lg-9"/>
- <field name="x_sorder_hours_lost" id="x_sorder_hours_lost" style="width:25%!important;text-align:right" readonly="1" decoration-danger="x_sorder_hours_lost > 40.0"/>
- </div>
- <field name="x_studio_leverage" id="x_studio_leverage" style="text-align:right;display: inline-block;" readonly="1"/>
- </group>
- </group>
- <group col="1" colspan="1" name="studio_group_b4d2a7">
- <group name="totals" string="Totals" colspan="1" col="2" style="">
- <div class="row" colspan="2" name="studio_div_ffa951">
- <label string="Planned Cost" for="x_sorder_cost" class="col-lg-9"/>
- <field name="x_sorder_cost" id="x_sorder_cost" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_1b0218">
- <label string="Cost Real + Planned" for="x_sorder_costreal" class="col-lg-9"/>
- <field name="x_sorder_costreal" id="x_sorder_costreal" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d66530">
- <label string="Cost so far (Sales Order)" for="x_sorder_costsofar" class="col-lg-9"/>
- <field name="x_sorder_costsofar" id="x_sorder_costsofar" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_a693d6">
- <label string="Cost so far (Analytic)" for="x_studio_analytic_cost" class="col-lg-9"/>
- <field name="x_studio_analytic_cost" id="x_studio_analytic_cost" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" style="color:red" colspan="2" name="studio_div_a693d6" invisible="x_studio_incoherence == False">
- <span style="font-weight:bold;">There are Analytic Lines entries after Project End Date</span>
- </div>
- <div class="row" colspan="2" name="studio_div_8dc119">
- <label string="Planned Margin" for="x_studio_planned_margin" class="col-lg-9"/>
- <field name="x_studio_planned_margin" id="x_studio_planned_margin" style="width:25%!important;text-align:right" widget="float"/>
- </div>
- <div class="row" colspan="2" name="studio_div_0ee0b3">
- <label string="Real Margin" for="x_sorder_marginreal" class="col-lg-9"/>
- <field name="x_sorder_marginreal" id="x_sorder_marginreal" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_dfde12">
- <label string="Planned Margin %" for="x_sorder_marginpc" class="col-lg-9"/>
- <field name="x_sorder_marginpc" id="x_sorder_marginpc" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2f451">
- <label string="Real Margin %" for="x_sorder_marginrealpc" class="col-lg-9"/>
- <field name="x_sorder_marginrealpc" id="x_sorder_marginrealpc" style="width:25%!important;text-align:right"/>
- </div>
- <div class="row" colspan="2" name="studio_div_45c358">
- <label string="Deviation from Proposed Margin %" for="x_sorder_deviation" class="col-lg-9"/>
- <field name="x_sorder_deviation" id="x_sorder_deviation" style="width:25%!important;text-align:right" decoration-danger="x_sorder_deviation < -5.0" decoration-warning="x_sorder_deviation > 5.0"/>
- </div>
- <div class="row" colspan="2" name="studio_div_0676cf">
- <label string="Deviation from Planned Margin %" for="x_sorder_deviationplan" class="col-lg-9"/>
- <field name="x_sorder_deviationplan" id="x_sorder_deviationplan" style="width:25%!important;text-align:right" decoration-danger="x_sorder_deviationplan < -5.0" decoration-warning="x_sorder_deviationplan > 5.0"/>
- </div>
- </group>
- <group string="PMI" class="" name="studio_group_f66a02" colspan="1">
- <div class="row" colspan="2" name="studio_div_68d0a3">
- <label string="Planned Value" for="x_studio_planned_value" class="col-lg-9"/>
- <field name="x_studio_planned_value" id="x_studio_planned_value" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_489c0c">
- <label string="Actual Cost" for="x_studio_actual_cost" class="col-lg-9"/>
- <field name="x_studio_actual_cost" id="x_studio_actual_cost" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_fcfffb">
- <label string="Earned Value" for="x_studio_earned_value" class="col-lg-9"/>
- <field name="x_studio_earned_value" id="x_studio_earned_value" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2aec2">
- <label string="Earned Value Auto" for="x_studio_earned_value_auto" class="col-lg-9"/>
- <field name="x_studio_earned_value_auto" id="x_studio_earned_value_auto" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_070588">
- <label string="Planned Value %" for="x_studio_planned_value_per" class="col-lg-9"/>
- <field name="x_studio_planned_value_per" id="x_studio_planned_value_per" widget="percentage" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_15810d">
- <label string="Actual Cost %" for="x_studio_actual_cost_per" class="col-lg-9"/>
- <field name="x_studio_actual_cost_per" id="x_studio_actual_cost_per" widget="percentage" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2aec2">
- <label string="Earned Value %" for="x_studio_earned_value_per" class="col-lg-9"/>
- <field name="x_studio_earned_value_per" id="x_studio_earned_value_per" widget="percentage" style="width:25%!important;text-align:right" force_save="True" readonly="1"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2aec2">
- <label string="Total Invoiced" for="x_studio_total_invoiced" class="col-lg-9"/>
- <field name="x_studio_total_invoiced" id="x_studio_total_invoiced" style="width:25%!important;text-align:right" force_save="True" readonly="1" help="The invoiced amount without tax"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2aec2">
- <label string="Accrued Value" for="x_studio_accrued_value" class="col-lg-9"/>
- <field name="x_studio_accrued_value" id="x_studio_accrued_value" style="width:25%!important;text-align:right" force_save="True" readonly="1" help="The Earned Value that has not been invoiced to the customer"/>
- </div>
- <div class="row" colspan="2" name="studio_div_d2aec2">
- <label string="Total due" for="x_studio_total_due" class="col-lg-9"/>
- <field name="x_studio_total_due" id="x_studio_total_due" style="width:25%!important;text-align:right" force_save="True" readonly="1" help="The invoiced amount without tax that is due"/>
- </div>
- </group>
- </group>
- </group>
- </xpath>
- <xpath expr="//group[@name='sale_shipping']" position="attributes">
- <attribute name="invisible">1</attribute>
- </xpath>
- <xpath expr="//field[@name='opportunity_id']" position="after">
- <field name="x_studio_industry_1"/>
- <field name="x_studio_company_role"/>
- </xpath>
- <xpath expr="//field[@name='campaign_id']" position="after">
- <field name="x_studio_source_mod"/>
- </xpath>
- <xpath expr="//field[@name='medium_id']" position="attributes">
- <attribute name="invisible">True</attribute>
- </xpath>
- <xpath expr="//field[@name='source_id']" position="attributes">
- <attribute name="invisible">True</attribute>
- </xpath>
- <xpath expr="//form[1]/sheet[1]/notebook[1]" position="inside">
- <page string="Project Management" name="studio_page_AyK62">
- <group name="studio_group_AyK62">
- <group name="studio_group_AyK62_left">
- <field name="x_practice" widget="selection"/>
- <field name="x_studio_practice_manager"/>
- <field name="x_sorder_pm"/>
- <field name="x_studio_authorized" widget="many2many_tags"/>
- <field name="x_sorder_start"/>
- <field name="x_sorder_end"/>
- <field name="x_studio_field_yIjmK"/>
- <field name="x_studio_finished"/>
- <field name="x_first_timesheet" readonly="1"/>
- <field name="x_last_timesheet" readonly="1"/>
- <field name="x_studio_incoherence" string="Incoherence"/>
- </group>
- <group name="studio_group_AyK62_right">
- </group>
- </group>
- </page>
- <page string="Terms & Conditions" name="studio_page_rVlCT">
- <group name="studio_group_rVlCT" string="Custom Terms" placeholder="Custom Terms">
- <group name="studio_group_rVlCT_left"/>
- <group name="studio_group_rVlCT_right"/>
- <field name="x_sorder_customterms" nolabel="1" style="width:900px"/>
- </group>
- <group name="studio_group_XZRPc" string="Terms and Conditions">
- <field name="note" nolabel="1" style="width:900px"/>
- </group>
- </page>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement