Can I show taxes only in PDF invoice? - pdf

In my woocommerce store, I have set "Display prices in the shop" & "Display prices during cart and checkout" options to "Including tax" AND added some CSS to hide taxes completely from front-end.
Now the issue is whenever I generate PDF with Woocommerce PDF invoices & packaging slips, it takes the settings from woocommerce and skips the tax calculations in order total.
Is there any way I can reformat order total only for PDF invoice?
Tried code provide here too but unable to achieve desired output.

Related

Odoo POS - Auto download invoice after validating

See this video: https://youtu.be/PW-C3xKFBAE
Can anyone tell me how to change this PDF invoice template to a different one? When you click validate in the POS module it automatically downloads a PDF invoice. But I want this to download a different template design that is already installed in Odoo.
Thank you!
To change the default layout of invoice reports in Odoo then go to General Settings > Companies > Configure Document Layout. Here you can change the template of the report for the company.

Appropriate report items to design price label in RDLC

could anyone give me some idea on how to design a price label using rdlc report. I'm not sure which tool (list,table,etc) should be used. My expectation is displayed as below.
enter image description here

How can I customize qweb report for existing records odoo 10?

I customized external_layout, it's working fine with new records. But not for older records. Old invoices which are not in draft state still printing in default external_layout.
How can I resolve this?
The report settings provide a property to reload from attachment(You'll need to enable developer options).
The settings are found at "Settings => Technical => Reporting => Reporting"
(The invoice report can be found as "Invoices")
When this setting is checked it won't create a new one but serve you the old report.
You have two options:
You could delete the old attachment on the attachment dropdown (enabled by the document module) on
the specific record and click on the bin icon behind the old report.
Uncheck the setting in the configuration. Then Odoo would create a new report every time you'd print an invoice. (This also has as result that the amount of attachments build up)
Invoices are saved as attachment in default odoo configuration. That means: if there already is a printed pdf in the attachments, odoo will print them instead of render a new pdf. By deleting the attachment, odoo will print a new pdf.

Calculate total amount on every page

I am using TCPDF for generating pdf file in my account reports. I want to get the total sum of amount on every page.
I want to add these values and display at bottom of every page in TCPDF.
Anyone know how to achieve this?

Acrobat Extending Fields

I am trying to search how to make a expendable field in acrobat. Means i have some data and i want to organize it in a way so that on first glance only important data will be shown but additional information can be accessed if you will click the near by button.
For ex:-
page have this information.
This year's whole production is 200 units. list of products
Total consumption is 190 units.
but after clinking "list of product" it will show the page like below
This year's whole production is 200 units.
list of products
X type products = 50 units
Y type products = 100 units
Z type products = 50 units
Total consumption is 190 units.
Any comment or suggestion is welcomed.
Thank you.
This is possible.
According to Adobe Propaganda, you would need an XFA form for that (created with LiveCycle Designer). There you can specify a field to be growing according to its contents.
However, it is also possible to do it with PDF forms (using AcroForms). You may have to take some precautions, but it can be done.
One of the field properties is rect, which consists of the coordinates of the top left and the bottom right corner point of the field. With this you can programmatically change the size of the field.
In your case, you would have to figure out by how much you would have to stretch the field to properly display all the additional information; you may have to analyze the additional text at runtime and then determine by how much you have to stretch. You will also have to refresh the field value after changing the field's size.
And that's about it.
Note that this feature works only with PDF viewers understanding Acrobat JavaScript.