Files
odoo_source/addons/point_of_sale/wizard/pos_payment.xml
T
Fabien Pinckaers d4febfe788 [IMP+FIX] Complete cleaning of point_of_sale module
- refactorisation of the code: 2000 lines of code removed
   - fixed all the bugs
      - support for tax included/excluded prices
      - fixed rounding troubles
      - don't print the ticket if partial payment
   - cleaning features:
      - workflow reviewed: New -> Done -> Posted / Invoiced
      - generation of journal entries/invoice is now correct
      - only one picking per PoS order
      - wizard to apply global discount (on each lines)
   - useability:
      - reviewed the main point_of_sale screen
      - statements are open by default
   - removed non-useful features
      - advances (you use a special product for this)
      - contracts numbers
      - refund with exchange (you just create a new sale with negatives qty)
      - removed validation steps
      - scan product wizard
   - clean and complete YAML tests (work in progress)

bzr revid: fp@tinyerp.com-20110925140930-s6zibvn51k3914in
2011-09-25 16:09:30 +02:00

39 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_pos_payment" model="ir.ui.view">
<field name="name">Add payment :</field>
<field name="model">pos.make.payment</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Add payment :">
<group colspan="4" col="4" >
<group colspan="4">
<field name="journal"/>
<field name="amount" />
<field name="payment_name" groups="base.group_extended"/>
</group>
<newline/>
<separator colspan="4"/>
<group colspan="2"/>
<group colspan="2">
<button icon="gtk-stop" special="cancel" string="Cancel"/>
<button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply"/>
</group>
</group>
</form>
</field>
</record>
<record id="action_pos_payment" model="ir.actions.act_window">
<field name="name">Payment</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.make.payment</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</data>
</openerp>