Commit Graph

259 Commits

Author SHA1 Message Date
Joren Van Onder 49b1742477 [FIX] point_of_sale: respect user timezone for all data in Sale Details
9f0120d73b solved this issue already, but
it was only applied to POS orderlines. There is other data on the
report (eg. payments, taxes, ...) that should also correctly respect the
user time zone as well.

opw-678748
2016-05-27 09:52:20 +02:00
Denis Ledoux 479f6ff48e [FIX] point_of_sale: tz fallback
The user timezone fallback in case the user
has no timezone wasn't set at the right place.

This is an oversight of the revision
9f0120d73b

opw-670778
2016-02-29 16:56:29 +01:00
Denis Ledoux 9f0120d73b [FIX] point_of_sale: Sales Details timezone
The Sales Details report wizard gives the possibility
to print the details of the POS orders between two dates.

The fields in the wizard are of type `date`,
while the orders dates are of type `datetime`.

`00:00:00` and `23:59:59` were naively added
to the `date_start` and `date_end` (respectively) to
handle the case.

But, this doesn't take care of the user time zone:
When a user choose between February 24th and February 25th,
it's within his time zone, and therefore, for the search,
where the datetime are in UTC, adding `00:00:00` isn't enough,
the dates have to be converted from the user time zone
to UTC.

opw-6698831
2016-02-24 18:26:08 +01:00
Denis Ledoux e151e8f871 [FIX] point_of_sale: pos details report company taxes and payments
If the sales details only fetches the pos sales details of his own company, it should be the case for the pos payments and taxes as well.
2014-12-23 13:17:54 +01:00
Denis Ledoux 78a29b3738 [FIX] point_of_sale: no need to specify numeric digits
In the report pos order, average_price was set as a numeric(16,2), therefore, if the amount was too big, it led to a psql crash:
A field with precision 16, scale 2 must round to an absolute value less than 10^14.
2014-10-21 10:13:44 +02:00
David Monjoie 75d3ea6208 [FIX] point_of_sale: fixed display of untaxed amount in sales lines report 2014-10-14 14:11:53 +02:00
Denis Ledoux 18d365ce05 "[REVERT][FIX] point_of_sale: field date of report.pos.order should be a datetime"
This reverts commit 97d097a2af.

As explained in the commit comments (on Github), this patch leads to an infinite loop in 7.0, the filter of the pos orders report using the '=' operator in its domain, which is not available for datetime fields, but is for date fields.

This should not be forward ported to newer release (saas-3)
2014-08-29 20:40:31 +02:00
Denis Ledoux 99ce17cfca [FIX] point_of_sale: report, product_id of line is product_product
product_id column of pos_order_line is a product_product
the left join of l.product_id was done on product_template, instead of product_product

It worked as long as the ids product_product were the same as product_template. Meaning that, if you used variants, this report view was screwed.
2014-08-21 11:20:09 +02:00
Denis Ledoux 97d097a2af [FIX] point_of_sale: field date of report.pos.order should be a datetime
The date_order field of the pos.order is a datetime, not a date
As, in report.pos.order, the date field is related to date_order of the pos.order

We usually do not commit fixes altering the model fields structure in 7.0, but this one is retro-compatible, as the database structure won't change
2014-08-14 18:01:37 +02:00
Olivier Dony 02035b27b8 [RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older binary blobs 2014-05-22 14:07:15 +02:00
Denis Ledoux 64ead8b005 [FIX] point_of_sale: sales summary report displays actual amount of taxes, instead of displaying the amount where the taxe is applied
bzr revid: dle@openerp.com-20140212121408-4tv8ca1ukqempx1k
2014-02-12 13:14:08 +01:00
Denis Ledoux b6e708c1be [FIX]point_of_sale: Mode of payment displayed browse_record object instead of the name of the method payment
bzr revid: dle@openerp.com-20140212113004-d9eammlp5gtm2m2v
2014-02-12 12:30:04 +01:00
Martin Trigaux be6cb7fc2a [FIX] point_of_sale: remove useless or condition in tax computation
bzr revid: mat@openerp.com-20131002143734-b51sl1taumajaaus
2013-10-02 16:37:34 +02:00
Hardik Ansodariya e66ae2e671 [FIXED] pos: Fixed the issue of pos detail report when trying to pring report having order without TAX were throwing error(Maintenance case: 598437)
bzr revid: han@tinyerp.com-20130927103543-jppq53ugkj1gk2cl
2013-09-27 16:05:43 +05:30
Martin Trigaux b17fd217bd [FIX] point_of_sale: correct _get_tax_amount to see several taxes in reports
bzr revid: mat@openerp.com-20130912130747-g3mj44w341v8ao2z
2013-09-12 15:07:47 +02:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Ignas Karpiejus 321754dfe0 [FIX]point_of_sale:fixed the issue of point of sale order receipt fields translation problem
lp bug: https://launchpad.net/bugs/1073199 fixed

bzr revid: ssu@tinyerp.com-20121101062613-dplo6xr4e3q6c42y
2012-11-01 11:56:13 +05:30
Stephane Wirtel a7874fc421 [MERGE] point_of_sale: Fix some bugs
bzr revid: stw@openerp.com-20121031145708-g7ddb6xsrx2ag8c4
2012-10-31 15:57:08 +01:00
Amit Patel 4694363d62 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121023065055-uapr3ywmqngewjb2
2012-10-23 12:20:55 +05:30
Quentin (OpenERP) e5ea70b4c2 [FIX] point_of_sale: typo in report
bzr revid: qdp-launchpad@openerp.com-20121018135949-b08zihsoo7s0km05
2012-10-18 15:59:49 +02:00
Amit Patel fa206b6c42 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121015055335-jdu7jcul5wfq8ptp
bzr revid: apa@tinyerp.com-20121016090046-uo8i442o80kga8yw
2012-10-16 14:30:46 +05:30
Quentin (OpenERP) 00f3dfc6d8 [MERGE] use of formatLAng(amount, currency_obj=...) and use of display_address() in reports
bzr revid: qdp-launchpad@openerp.com-20121012071640-sxhy9xnat65r8158
2012-10-12 09:16:40 +02:00
Amit Patel 2762e94eb3 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121011052218-dx74aeg04h6azdmz
bzr revid: apa@tinyerp.com-20121012050113-w3b9fijrbxfyndxj
2012-10-12 10:31:13 +05:30
Quentin (OpenERP) bc44da05a1 [IMP] reports: use of FormatLang(amount, currency_obj=...) instead of printing currency.symbol directly in the report
bzr revid: qdp-launchpad@openerp.com-20121011094002-7unxi6bi2hh2u6k5
2012-10-11 11:40:02 +02:00
Amit Patel d48856e81a [FIX]:point_of_sale: In the same way the %age of discount was wrong in the reporting > point of sale > Sale details, there's a problem of conversion from %age to amount in the other report (reporting > point of sale > ORDER ANALYSIS), where the Total discount is the sum of %ages converted in €. So two times 50% discount = 100€ even though the item cost 1 bazillion, which is not correct.
bzr revid: apa@tinyerp.com-20121010052920-7d2zl85war0bn8jr
2012-10-10 10:59:20 +05:30
Sanjay Gohel (Open ERP) 062a78f8da [IMP]improve pos reprint wizard
bzr revid: sgo@tinyerp.com-20121005112633-a7er5yxbykgij52s
2012-10-05 16:56:33 +05:30
Sanjay Gohel (Open ERP) b461dd366f [IMP]discount shown on ticket. if pos have no order lines it can not validate for ticket print. and improve report of sale detail
bzr revid: sgo@tinyerp.com-20121005070033-o51n2w72j7322zg5
2012-10-05 12:30:33 +05:30
Atul Patel (OpenERP) f715525300 [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20121003064028-49llvt047893tx2n
2012-10-03 12:10:28 +05:30
Atul Patel (OpenERP) 257d03f403 [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20121003052447-99gpby70gy2fbhih
2012-10-03 10:54:47 +05:30
Atul Patel (OpenERP) bdae7c2850 [IMP]: ADD currency symbol with amount
bzr revid: atp@tinyerp.com-20121002164001-s8r2ivug8ghi36af
2012-10-02 22:10:01 +05:30
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Atul Patel (OpenERP) 082f70cb6f [MERGE]: Merged display_address() field
bzr revid: atp@tinyerp.com-20121002065832-7wick5qjfbbhy5jv
2012-10-02 12:28:32 +05:30
Nimesh (Open ERP) a9676cfd8c [IMP] amout with currency.
bzr revid: nco@tinyerp.com-20121001110802-r3l169i2ka73t2rh
2012-10-01 16:38:02 +05:30
Nimesh (Open ERP) a634a1a91f expense.sxw pos_lines.sxw and pos_lines.rml
bzr revid: nco@tinyerp.com-20120928124057-26jmpyivpgs536cp
2012-09-28 18:10:57 +05:30
Nimesh (Open ERP) 7f3455cdc8 [IMP] point_of_sale , pos_lines.rml
bzr revid: nco@tinyerp.com-20120928121313-r2iicypzvjlyrzjt
2012-09-28 17:43:13 +05:30
Nimesh (Open ERP) b3dde42f5b [IMP] imporve amount with curruncy in point_of_sale , pos_lines.rml
bzr revid: nco@tinyerp.com-20120928114743-we0dvo10wv7d3its
2012-09-28 17:17:43 +05:30
Nimesh (Open ERP) 8c42299413 [REMOVE] remove create button form all posgress report.
bzr revid: nco@tinyerp.com-20120927083839-ruhpxzwgdyasodfe
2012-09-27 14:08:39 +05:30
Stephane Wirtel ca93a52e64 [FIX] point_of_sale: fix a report
bzr revid: stw@openerp.com-20120821082343-mu1p8231c4wa0kjm
2012-08-21 10:23:43 +02:00
Vo Minh Thu 9822629548 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813160657-ilujdek8ys4fzhp9
2012-08-13 18:06:57 +02:00
Twinkle Christian (OpenERP) fc1b1749a8 [IMP]Remove type field from the modules
bzr revid: tch@tinyerp.com-20120809060516-zgx3gdyv6wdshfyw
2012-08-09 11:35:16 +05:30
Antonin Bourguignon 8a64e7580a [IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error \!')
bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3
2012-08-07 13:31:37 +02:00
Twinkle Christian (OpenERP) cb1c6c08af [IMP]Improve search view in all modules
bzr revid: tch@tinyerp.com-20120731112804-a0akxtqr1z0uew6w
2012-07-31 16:58:04 +05:30
vta vta@openerp.com 264d2c3365 [MERGE] Trunk.
bzr revid: vta@openerp.com-20120730123628-49rirhupbwqfzr0r
2012-07-30 14:36:28 +02:00
vta@openerp.com f920e391e0 [IMP] search view: review of the search views.
bzr revid: qdp-launchpad@openerp.com-20120730085027-0khspe8pl0t4118j
2012-07-30 10:50:27 +02:00
Turkesh Patel (Open ERP) 6e178d51ec [IMP] point_of_sale: improved search views.
bzr revid: tpa@tinyerp.com-20120720124629-4eau5t3r09x7b5y2
2012-07-20 18:16:29 +05:30
Rajesh Prajapati (OpenERP) e068ed2663 [IMP]vat to tax : changed the label Vat as its abbreviation
bzr revid: rpr@tinyerp.com-20120719053803-r4p9dhh28h2bysmm
2012-07-19 11:08:03 +05:30
Rajesh Prajapati (OpenERP) 74a58c0f15 [IMP]vat to tax : I have changed the label as tax inplace of vat
bzr revid: rpr@tinyerp.com-20120718121821-esupnmy423ukxniz
2012-07-18 17:48:21 +05:30
Fabien Pinckaers 40fe783301 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20120716164856-j7gicxtuhnnkap4h
2012-07-16 18:48:56 +02:00
Frédéric van der Essen f5e0ad32f2 [MERGE] trunk into point_of_sale, WIP
bzr revid: fva@openerp.com-20120711160325-vmzhxwl74j2u7v8g
2012-07-11 18:03:25 +02:00
Frédéric van der Essen f8d32d3304 [MERGE] point_of_sale
bzr revid: fva@openerp.com-20120710142447-s0z5ca89bofh0n2c
2012-07-10 16:24:47 +02:00