Jalpesh Patel(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1043248-pja into
lp:openobject-addons.
Requested reviews:
Atul Patel(OpenERP) (atp-openerp)
Related bugs:
Bug #1043248 in OpenERP Addons: "So line invoice can not create(Make invoice
so line wizard)"
https://bugs.launchpad.net/openobject-addons/+bug/1043248
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1043248-pja/+merge/121869
hello,
i have fix the bug when create SO line invoice it will display warning.
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1043248-pja
Thanks,
pja
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1043248-pja/+merge/121869
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1043248-pja.
=== modified file 'sale/sale_view.xml'
--- sale/sale_view.xml 2012-08-23 12:19:52 +0000
+++ sale/sale_view.xml 2012-08-29 14:06:10 +0000
@@ -498,9 +498,9 @@
<form string="Sales Order Lines" version="7.0">
<header>
<span groups="base.group_user">
- <button name="button_cancel" string="Cancel" type="object" icon="gtk-cancel" states="confirmed,exception"/>
- <button name="%(action_view_sale_order_line_make_invoice)d" string="Create Invoice" type="action" states="done" icon="gtk-go-forward" attrs="{'invisible': [('invoiced', '=', 1)]}" class="oe_highlight"/>
- <button name="button_done" string="Done" type="object" states="confirmed,exception" icon="gtk-go-forward" class="oe_highlight"/>
+ <button name="button_cancel" string="Cancel" type="object" states="confirmed,exception"/>
+ <button name="%(action_view_sale_order_line_make_invoice)d" string="Create Invoice" type="action" attrs="{'invisible': ['|',('invoiced', '=', True), ('state', 'not in', ('confirmed', 'done'))]}" class="oe_highlight"/>
+ <button name="button_done" string="Done" type="object" states="confirmed,exception" class="oe_highlight"/>
</span>
<field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done" statusbar_colors='{"exception":"red","cancel":"red"}'/>
</header>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp