Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Artificial Intelligence
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

How to change a Billing method in sales module ?

Naroči se

Get notified when there's activity on this post

This question has been flagged
v6.1account.invoicesale.order
7370 Prikazi
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
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Field link from Sales order to Invoice Solved
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
8798
add many2many in invoice using _prepare_invoice
account.invoice many2many sale.order
Avatar
0
avg. 17
4355
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
6205
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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