Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Kunstig intelligens
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-forretningsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp
Du skal være registreret for at interagere med fællesskabet.
Alle bidrag Personer Emblemer
Tags (Vis alle)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
Alle bidrag Personer Emblemer
Tags (Vis alle)
odoo accounting v14 pos v15
Om dette forum
Hjælp

How to change a Billing method in sales module ?

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
v6.1account.invoicesale.order
7395 Visninger
Avatar
Debashis Das

As per sale.order we can make an invoice through Advance mode & Crete Final Invoice mode on the basis of Sales Order value. But as a Rental of vehicle CO. (Service Industry), we have requirement of partial Invoice. As I have requirement as follows :

1) No need of Advance Invoice

2) No need of Final Invoice

3) Requirement of Part invoices

Ex. I have received a 12 months contract from a client for USD 1000 per month basis i.e. sale order value will be USD 12000. Now I have to raise bill on month end for USD 1000 in each month until 12 months covered.

For this reason, I have made some changes in sale.order.form (as follows) and workflow (link : docs.google.com/file/d/0B6ly-HpPtrX3a2d0MUpDQ1Z2V3M/edit?hl=en-GB&forcehl=1&pli=1) also.

<form string="Sales Order"> <group col="6" colspan="4"> <group col="4" colspan="4"> <field name="name"/> <field name="date_order"/> <field name="shop_id" readonly="1" string="Organisation"/> <field name="client_order_ref"/> </group> <group col="2" colspan="2"> <field name="invoiced"/> <field name="invoiced_rate" string="Achievement" widget="progressbar"/> </group> </group> <notebook colspan="5"> <page string="Sales Order"> <field name="partner_id" options="{"quick_create": false}" on_change="onchange_partner_id(partner_id)" domain="[('customer','=',True)]" context="{'search_default_customer':1}" required="1"/> <field domain="[('partner_id','=',partner_id)]" name="partner_order_id" on_change="onchange_partner_order_id(partner_order_id, partner_invoice_id, partner_shipping_id)" options="{"quick_create": false}"/> <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" groups="base.group_extended" options="{"quick_create": false}"/> <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" groups="base.group_extended" options="{"quick_create": false}"/> <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended" on_change="onchange_pricelist_id(pricelist_id,order_line)"/> <field name="project_id" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="analytic.group_analytic_accounting" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '!=', False)]"/> <newline/> <field colspan="4" name="order_line" nolabel="1" widget="one2many_list"> <form string="Sales Order Lines"> <notebook> <page string="Order Line"> <group colspan="4" col="5"> <field colspan="3" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom, 'force_product_uom': True}" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, True, parent.date_order, product_packaging, parent.fiscal_position, False, context)"/> <field name="name"/> <field context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" name="product_uom_qty" on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/> <field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)" nolabel="1"/> <field name="price_unit"/> <field groups="product.group_uos" name="product_uos_qty"/> <field groups="product.group_uos" name="product_uos" nolabel="1"/> <newline/> <field name="product_packaging" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" on_change="product_packaging_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, parent.partner_id, product_packaging, True, context)" domain="[('product_id','=',product_id)]" groups="base.group_extended" colspan="3"/> <field name="discount"/> <separator colspan="5" string="Notes"/> <field colspan="5" name="notes" nolabel="1"/> <separator colspan="5" string="Taxes"/> <field colspan="5" name="tax_id" nolabel="1" domain="[('parent_id','=',False),('type_tax_use','<>','purchase')]"/> <group colspan="5" col="5" groups="base.group_extended"> <separator colspan="5" string="States"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done" statusbar_colors="{"exception":"red","cancel":"red"}"/> <field name="invoiced"/> <group attrs="{'invisible':[('invoiced','=',True)]}"> <button colspan="1" name="472" states="confirmed" string="Make Invoices" type="action" icon="terp-document-new"/> </group> </group> </group> </page> <page groups="base.group_extended" string="Extra Info"> <field name="type"/> <field name="delay"/> <field name="th_weight"/> <field name="address_allotment_id"/> <separator colspan="4" string="Properties"/> <field name="property_ids" colspan="4" nolabel="1"/> </page> <page string="History" groups="base.group_extended"> <separator colspan="4" string="Invoice Lines"/> <field colspan="4" name="invoice_lines" nolabel="1"/> <separator colspan="4" string="Stock Moves"/> <field colspan="4" name="move_ids" nolabel="1" widget="many2many"/> </page> </notebook> </form>
                            <tree string="Sales Order Lines">
                                <field colspan="4" name="name"/>
                                <field name="product_uom_qty" string="Qty(UoM)"/>
                                <field name="product_uom" string="UoM"/>
                                <field groups="product.group_uos" name="product_uos_qty" string="Qty(UoS)"/>
                                <field groups="product.group_uos" name="product_uos" string="UoS"/>
                                <field name="discount"/>
                                <field name="price_unit"/>
                                <field name="price_subtotal"/>
                            </tree>
                        </field>
                        <newline/>
                        <group col="13" colspan="10">
                            <field name="amount_untaxed" sum="Untaxed amount"/>
                            <field name="amount_tax"/>
                            <field name="amount_total"/>
                            <button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/>
                                                        </group>
                        <group col="17" colspan="4">
                            <field name="state" widget="statusbar" statusbar_visible="draft,progress,done" statusbar_colors="{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}"/>
                            <button name="invoice_recreate" states="invoice_except" string="Recreate Invoice" icon="gtk-go-forward"/>
                            <button name="invoice_corrected" states="invoice_except" string="Ignore Exception" icon="gtk-apply"/>
                                                           <button name="action_cancel" states="manual,progress" string="Cancel Order" type="object" icon="gtk-cancel"/>
                            <button name="474" string="Print Order" type="action" icon="gtk-print" states="waiting_date,manual,progress,done,shipping_except,invoice_except"/>
                            <button name="manual_invoice" states="manual" string="Create Invoice" icon="gtk-go-forward" type="object"/>
                            <button name="button_done" states="progress,manual" string="Done" icon="gtk-go-forward"/>
                                                         <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/>
                            <button name="cancel" states="draft" string="Cancel Order" icon="gtk-cancel"/>
                            <button name="invoice_cancel" states="invoice_except" string="Cancel Order" icon="gtk-cancel"/>
                            <button name="474" string="Print Quotation" type="action" icon="gtk-print" states="draft"/>
                            <button name="order_confirm" states="draft" string="Confirm Order" icon="gtk-apply"/>
                        </group>
                    </page>
                    <page string="Other Information">

                        <group colspan="2" col="2">
                            <separator string="References" colspan="2"/>
                            <field name="user_id"/>
                            <field groups="base.group_extended" name="origin"/>
                        </group>
                        <group colspan="2" col="2" groups="base.group_extended">
                            <separator string="Conditions" colspan="2"/>
                            <field name="payment_term" widget="selection"/>
                            <field name="fiscal_position" widget="selection"/>
                            <field name="company_id" widget="selection" groups="base.group_multi_company"/>
                        </group>
                        <group colspan="2" col="2" groups="base.group_extended">
                            <separator string="Dates" colspan="2"/>
                            <field name="create_date"/>
                            <field name="date_confirm"/>
                        </group>
                        <separator colspan="4" string="Notes"/>
                        <field colspan="4" name="note" nolabel="1"/>
                    </page>
                    <page string="History" groups="base.group_extended">
                        <separator colspan="4" string="Invoices"/>
                        <field colspan="4" name="invoice_ids" nolabel="1" context="{'form_view_ref':'account.invoice_form'}"/>
                                                </page>
                </notebook>
            </form>

I want to make it as follows :

1) Deletion of Advance Invoice button

2) "manual_invoice" will be recurring type..(in the OpenERP it is for final bill which have to change). i.e. after creation of 1st invoice through "manual_invoice" when it goes from "to invoice" mode to "progress" mode...we can again transfer the same to "to invoice" mode for another creation of bill as earlier. If require, we can make a button like "another invoice" which will transfer the "progress" mode to "to invoice" mode...so that we can issue another bill through "manual_invoice" as 1st invoice.

3) We can change the bill value in the invoice line as require...which is not a problem

4) "Done" state shown after receiving of all the payments or otherwise there should be a Done button after completion of all activity will close the Order and stated "Done"

Please advice.

0
Avatar
Kassér
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!

Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!

Tilmeld dig
Relaterede indlæg Besvarelser Visninger Aktivitet
Field link from Sales order to Invoice Løst
v6.1 account.invoice onchange windows7 sale.order
Avatar
Avatar
Avatar
2
feb. 24
13406
using RML to Pull data from other tables
v6.1 python rml account.invoice sale.order
Avatar
Avatar
1
mar. 15
8806
add many2many in invoice using _prepare_invoice
account.invoice many2many sale.order
Avatar
0
aug. 17
4359
How to link an existing invoice to a sale order?
invoice account.invoice sale.order
Avatar
0
okt. 25
11968
Error when try to convert order in invoice
account.invoice sale.order odooV8
Avatar
0
apr. 15
6211
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now