You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?xml version="1.0" encoding="UTF-8"?> <!-- ********************************************************************** --> <!--Point Of Sale - Store Draft Orders Module for Odoo --> <!--Copyright (C) 2015-Today GRAP (http://www.grap.coop) --> <!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) -->
<!--This program is free software: you can redistribute it and/or modify --> <!--it under the terms of the GNU Affero General Public License as --> <!--published by the Free Software Foundation, either version 3 of the --> <!--License, or (at your option) any later version. -->
<!--This program is distributed in the hope that it will be useful, --> <!--but WITHOUT ANY WARRANTY; without even the implied warranty of --> <!--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --> <!--GNU Affero General Public License for more details. -->
<!--You should have received a copy of the GNU Affero General Public License--> <!--along with this program. If not, see <http://www.gnu.org/licenses/>. --> <!-- ********************************************************************** --> <openerp> <data>
<!-- Model: pos.order --> <record id="pos_order_view_form" model="ir.ui.view"> <field name="model">pos.order</field> <field name="inherit_id" ref="point_of_sale.view_pos_order_tree"/> <field name="arch" type="xml"> <field name="state" position="after"> <field name="is_partial_paid" invisible="1" /> </field> <xpath expr="//tree[@string='POS Orders']" position="attributes"> <attribute name="colors">red: is_partial_paid==True; blue: state=='draft'; gray: state in ('done','cancel'); black: state not in ('done','cancel')</attribute> </xpath> </field> </record>
<!-- Model: pos.config --> <record id="pos_config_view_form" model="ir.ui.view"> <field name="model">pos.config</field> <field name="inherit_id" ref="point_of_sale.view_pos_config_form"/> <field name="arch" type="xml"> <field name="group_by" position="after"> <field name="allow_store_draft_order"/> </field> </field> </record>
</data> </openerp>
|