'Create invoice' button is visible on picking even when picking is not set to be invoiced

Bug #701389 reported by sindi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

hi;
in RC2 in frensh , i confirme sale order, the picking was create, i confirme piking, but the, when i click to botom creat invoice, i have warning ' Cette opération de manutention n'a pas à être facturéeé

and at state invoice in picking is not applicable"

also in the sale order, the reception progressbar is 0%

can you you confirm if tis bug or false from me

thanks

Related branches

affects: openobject-server → openobject-addons
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello sindi,

The fact that a picking has to be invoiced or not depends on the options you selected in the sale order (second drop-down in the sale order form, in "Other info"/"Autre info" tab, field labelled "Shipping Policy"/"Politique d'expédition").

If you select "Invoice from the picking" there, your picking will have the "Invoicing state" set to "To be invoice"/"A facturer" and thus you will be able to create the invoice from the picking form.

But one thing is wrong: the "Create invoice"/"Créer une facture" button should not be displayed when the invoicing state of the picking is "Not applicable", it should be displayed only when invoicing state is "To be invoiced"

Thanks for reporting!

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Note to R&D team: the display of the button is not correct, an 'attrs' is perhaps incorrect of missing (see comment #1)

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
milestone: none → 6.0
status: New → Confirmed
summary: - state invoice in picking 'not applicable'
+ 'Create invoice' button is visible on picking even when picking is not
+ set to be invoiced
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
sindi (tariklallouch) wrote :

Hello olivier,

i test the 4 possibilité;

i have 2 picking line in the sale order, :
1- int/0002 with state to be invoive and i can invoice from the piking fir this one
2- picking / 006 wtihe state not applicable ans journsal sale delivery not possibility to picking

i confirm the 2 line is state "terminé/done) but the progress bar still 0% for piking

thnaks

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Atik Agewan(OpenERP) (aag-openerp) wrote :

sindi,

Thanks for reporting,
It has been fixed in lp:~openerp-commiter/openobject-addons/trunk-addons-aag
Revision ID: <email address hidden>
Revision num:5061
It will be available in trunk soon,

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.