Reset invoice number or manual setting

This topic contains 21 replies, has 5 voices, and was last updated by  Kiran 6 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1043

    Javier Donoso
    Buyer
    Post count: 33

    Hello. I have invoicing plugin 0.01 version. I know therar are new versions but we are just about to launch and I have fear of upgrading and having to review again for bugs, translation problems and so on.

    Id there any way to set the invoice number counter on 0, or 100 or the number I want to start? Could you tell me in what part of the code could I change it if it´s possible?

    This would be right for us if we can change the code and in the future we will test the upgraded version in an stage area.

    Thanks in advance

    #1045

    Guust
    Moderator
    Post count: 29970

    If you not have made any changes to the plugin files (which you should never do), and did the translation correctly as per https://wpinvoicing.com/docs/translate-main-plugin/ , then upgrading should not change anything.

    We exclusively provide support for the latest version of both the Core plugin, see https://wpinvoicing.com/support-policy/ but I will get the developers to have a look at your question too.

    #1046

    Javier Donoso
    Buyer
    Post count: 33

    Ok. Thanks a lot Guust. I appreciate it. I ´m going to check update in a sandbox site to see how the changes affect, and I´ll wait for the answer of developers.

    #1048

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have not tried with just deleting all the invoices, but usually you would have to have zero invoices and set the WPI>Settings>Misc>Sequential Invoice Numbers.
    But if i do remember correctly there were some fixed released for that recently, so i would advise updating first.

    Thanks,

    Stiofan

    #1050

    Javier Donoso
    Buyer
    Post count: 33

    Not so easy Stiofan. Although I know you recommend not touching the code the reality of our development is another. We receive the first version of invoicing and we had to adapt it our needs. It means changing code, css, and so on. Although we don´t want to modify the code, we can wait you to launch a new update as we needed to finish the web for launching.

    The fact is that we have in a date your plugins and add ons like a tool that we have to customize to our needs, as I told you. In the proccess some add ons and plugins are updated by you, and may be you fix some bugs or mend some error, but before we can adapt it or not, we have to study how can affect to the changes we have already made.

    Then we have to copy to an stage site and try to see what parts ofyour plugins can be affected. For you is easy as it´s your product, but for us is very sensitive, more if the web is live.

    This is the reason why I ask you to guide me and try to fix the problem of invoice number not correlative and set initial invoice numnber modifying the code.

    In a first proof with the updated invoicing plugin we have verified that the invoice printed template have changes that modified the original model that we had already prepare for the launching.

    So I would appreciate a lot your help ir order of mending by code changing the invoice number issue I have ask you.

    Thanks in advance

    #1051

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Javier,

    We can’t help with adding specific changes to code, it would cripple our own development process.

    If you have things in the code that you “need” to change, please just let us know and we will tell you how you can make the changes without modifying the original code, if its not possible then most likely we will add a hook/filter to be able to do it, and you can get all our development changes from github for core WPI.

    Thanks,

    Stiofan

    #1052

    Javier Donoso
    Buyer
    Post count: 33

    Hi again, Stiofan. I only want you to tell us what file and funtion controls the invoice number generation to see if we can adapt it. I think this doesn´t cripple your development process and for us would be very valuable as I think it can take for your team, may be, some minutes while for us it would take hours.

    Your geodirectory is great, but it´s very complex as it has lot of interactions and parallel development that affects to other plugins. So, help is welcome.

    #1053

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Its in class-wpinv-invoice.php , search for “setup_invoice_number()”

    Thanks,

    Stiofan

    #1054

    Javier Donoso
    Buyer
    Post count: 33
    This reply has been marked as private.
    #1058

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Pricing Manager is now at version 2.0.33.

    As Guust mentioned before, GeoDirectory Addons like Pricing Manager and then integration with Invoicing are designed to work exclusively with the latest versions. If you are planning to update a plugin, you should plan to update all the plugins. We cannot provide you with specific changes to older versions.

    You should consider cloning to a test site where you can evaluate the new versions.

    https://wpinvoicing.com/support-policy/

    #1059

    Javier Donoso
    Buyer
    Post count: 33

    Hello Alex. So, I understand that your answer is that I have to update both plugins (invoice and price payment) to work properly. Right?.

    Alex. Of course I have considered cloning to a test site. It is the first I have made but unfortunately, my site is complex and in a testing site I have problems with the configuration of the geodirectory links to works fine. Fixing it probably would take me more time than test directly in the original site and fix the problems I could found.

    I am using wp-staging pluging to clone the site. If you know a better one, I would thank you to tell me.

    Thanks in advance

    #1060

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Javier,

    Everything should be updated when you upgrade.
    I have not tried that plugin, i usually just create the clone site manually myself.

    I would definitely recommend doing all your testing on a staging site.

    Thanks,

    Stiofan

    #1061

    Javier Donoso
    Buyer
    Post count: 33
    This reply has been marked as private.
    #1062

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The licences are activated per domain, you would need to deactivate then reactivate the licences for them to work or you can update them manually.

    Thanks,

    Stiofan

    #1063

    Javier Donoso
    Buyer
    Post count: 33

    Thanks Stiofan. I will update manually.

Viewing 15 posts - 1 through 15 (of 22 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket