Commit Graph

215 Commits

Author SHA1 Message Date
Denis Ledoux ce84d6107f [FIX] point_of_sale: set journal as pos payment method on setting journal in the payment methods of a pos config when none is set. 2014-09-16 17:57:03 +02:00
Martin Trigaux 73546f70ca [FIX] point_of_sale: generate bank statement with commerical partner
When a pos session is closed & confirmed, the account.move were generated with the commercial partner except for the bank statement which prevented automatic reconciliation.
This patch uses the commercial partner also for bank statement.
Fixes #1558, #1764
2014-08-22 15:29:23 +02:00
Denis Ledoux a8a085eabb [FIX] point_of_sale: opw-607551, mark the pos order as paid before trying to create the picking, so in case the picking could not be created for one reason or another, the pos order workflow process continue.
This commit partially reverts rev. 6036 revid:fp@tinyerp.com-20111219220053-tn5gc1lmc13fjpyf, the second part of this commit already has been revert in a previous revision.
2014-05-19 15:33:39 +02:00
Ravi Gohil (OpenERP) c1ce615891 [FIX] point_of_sale: Replaced the call to undefined search_read(...) with search(...) and read(...) calls. (Maintenance Case: 605684)
bzr revid: rgo@tinyerp.com-20140326112922-x6ac9j157han28kb
2014-03-26 16:59:22 +05:30
Denis Ledoux 112fe22347 [FIX] point_of_sale: prevent duplicated order posting
bzr revid: dle@openerp.com-20140317164131-eewyqmzz5niebz2a
2014-03-17 17:41:31 +01:00
Denis Ledoux 8092693eec [FIX] point_of_sale: distraction error from revision 9814 revid:dle@openerp.com-20140206163444-ckcmurcwk2vhi5vp, missing .id in order to compare company for taxes
bzr revid: dle@openerp.com-20140210160645-ww7af7sbkpjf6oss
2014-02-10 17:06:45 +01:00
Denis Ledoux 4818a83f26 [FIX] point_of_sale: validate and closing pos sessoin handle multi company
When the user who validated and closed the pos session was not the same user who created the session, and if this user was not in the same company, it wasnt possible to validate and close the pos session.

This explanation if also valid if the user who created the pos session changed of company in his preferences between the creation and the validation.

bzr revid: dle@openerp.com-20140206163444-ckcmurcwk2vhi5vp
2014-02-06 17:34:44 +01:00
Denis Ledoux 34c6eb963a [FIX] point_of_sale: fix default destination(or source, for returns) location for pos order moves
For instance, the source location of moves of returned products was output instead of partners locations / customers

bzr revid: dle@openerp.com-20131210181733-2rjw6cas8bjypp2p
2013-12-10 19:17:33 +01:00
Olivier Dony f378aaa0a7 [FIX] point_of_sale: POS delivery orders were incorrectly using the internal picking sequence
bzr revid: odo@openerp.com-20131107105121-qg06v8dcvlouebon
2013-11-07 11:51:21 +01:00
Martin Trigaux bb47a9b3bc [FIX] pos: check constraint on session instead of uid (eg: runbot import demo data with uid=1 but other user_id
bzr revid: mat@openerp.com-20131014121959-fp4gs26xh8cdte1w
2013-10-14 14:19:59 +02:00
Martin Trigaux d60c0be37c [FIX] point_of_sale: pass reference of customer from pos to order
bzr revid: mat@openerp.com-20130904140628-4p9xnedoh3p2xgcw
2013-09-04 16:06:28 +02:00
Martin Trigaux 3b549486e9 [FIX] pos: correctly link refund order to a current session and set to today's date (opw 589810)
lp bug: https://launchpad.net/bugs/1123575 fixed

bzr revid: mat@openerp.com-20130828123940-ik9gvx7flywia0oe
2013-08-28 14:39:40 +02:00
Martin Trigaux 3b88ba87c1 [FIX] pos: avoid a user to use another user's session (opw 595033)
bzr revid: mat@openerp.com-20130828073030-mmgcd0atfm7qjq1b
2013-08-28 09:30:30 +02:00
Martin Trigaux 50975a1159 [FIX] point_of_sale: avoid traceback if deleted property
bzr revid: mat@openerp.com-20130821125429-uzaqw4yx2ve63wja
2013-08-21 14:54:29 +02:00
Martin Trigaux 41ca4aa350 [FIX] point_of_sale: ok this one should be good
bzr revid: mat@openerp.com-20130814140240-f0qqsks6tcc423s8
2013-08-14 16:02:40 +02:00
Martin Trigaux 9f5c0f54ec [FIX] point_of_sale: oups, needs an id
bzr revid: mat@openerp.com-20130814135346-6zpzl6tc0efowquj
2013-08-14 15:53:46 +02:00
Martin Trigaux 38f2806579 [FIX] point_of_sale: better default sale journal for new pos.config, use company of current user
done to fix test in 01_order_to_payment.yml when creating pos.order
default config can have journal of different company, will get exception if done with a journal of main company

bzr revid: mat@openerp.com-20130814134511-c0f3z27f9p2gflt6
2013-08-14 15:45:11 +02:00
Martin Trigaux 4910b5e654 [FIX] point_of_sale: don't group move lines if debit and credit
lp bug: https://launchpad.net/bugs/1127114 fixed

bzr revid: mat@openerp.com-20130626093412-or5k3eznjsxbvgu3
2013-06-26 11:34:12 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Quentin (OpenERP) c46929268d [FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date.
This patch will be forward ported in trunk by changing the behaviour of account_period.find() in order to fetch the normal periods by default (account_period_prefer_normal will be True by default) because there are no business case i could think of where you'd like to get the opening period (except in the closure but it's held in a different way there). On the other hand, it's pretty easy to forget to put that key in the context and introduce a new bug that will select the opening period instead of the wanted one

bzr revid: qdp-launchpad@openerp.com-20130418102433-t52uj23trkpr8vnb
2013-04-18 12:24:33 +02:00
Antony Lesuisse 354ac328c8 [FIX] point_of_sale fix tax rouding, this time tested, tnx fva
bzr revid: al@openerp.com-20130411224306-eei87tz4xp3d0o7n
2013-04-12 00:43:06 +02:00
Frédéric van der Essen b2a872846c [FIX] point_of_sale: use the correct rounding method for computing taxes
bzr revid: fva@openerp.com-20130409160021-707f3vrxcrqytsl6
2013-04-09 18:00:21 +02:00
Josse Colpaert 4bb06462d7 [FIX] Check that payment method journal is of type cash or bank
bzr revid: jco@openerp.com-20130405134438-86l1ph7192owwrol
2013-04-05 15:44:38 +02:00
Quentin (OpenERP) c5cde2a6a3 [MERGE] fixes in POS: optimizing the code when closing a session to have acceptable delays, used the right partner, changing the partner on the pos order also change it on the payment linked...
bzr revid: qdp-launchpad@openerp.com-20130404151428-yr2jhgjkolyjrcyf
2013-04-04 17:14:28 +02:00
Josse Colpaert 78e9418717 [FIX] Write all lines at once to the move instead of creating move lines separately
bzr revid: jco@openerp.com-20130328155549-pdqg0fgk1timzgfb
2013-03-28 16:55:49 +01:00
Josse Colpaert c0b4f5b714 [FIX] taxes should have partner too
bzr revid: jco@openerp.com-20130328121615-eyoplrrrofrosuay
2013-03-28 13:16:15 +01:00
Josse Colpaert 2d210fce44 [FIX] Use accounting partner and take partner into account when group by
bzr revid: jco@openerp.com-20130328112829-6sj9eixmkzm3dr1r
2013-03-28 12:28:29 +01:00
Josse Colpaert fb38f1d81d [FIX] Update partner in associated bank statements when changing partner in pos order
bzr revid: jco@openerp.com-20130325134410-ky0akwdcfr805df8
2013-03-25 14:44:10 +01:00
Ravi Gohil (OpenERP) d7600ad56e [FIX] point_of_sale: Return product from POS previous session should be linked to current opened session, if not found an active session then raise a warning message. (Maintenance Case: 589810)
lp bug: https://launchpad.net/bugs/1123575 fixed

bzr revid: rgo@tinyerp.com-20130321132824-9lvtpbu7yse3cupl
2013-03-21 18:58:24 +05:30
Cedric Snauwaert 87908c8b58 [FIX]pos: fix error when trying to duplicate point of sale
bzr revid: csn@openerp.com-20130318105304-3g7qlb8lrjr0e5rw
2013-03-18 11:53:04 +01:00
Mohammed Shekha a4e609c469 [FIX]Fixed the issue of account receivable property not found if someone has explicitly delete the property added by data file, the code was throwing traceback if there is no property_account_receivable found so even though user deletes data file record code should throw traceback to user, if property_account_receivable not found then we are going to use current_company.account_receivable.id.
bzr revid: msh@openerp.com-20130315144226-eqsz74ohwjbxnp3z
2013-03-15 20:12:26 +05:30
Stephane Wirtel 089214b0f2 [FIX] point_of_sale: add the missing call to the workflow service
bzr revid: stw@openerp.com-20130308110449-feobq8yoc6kg3efy
2013-03-08 12:04:49 +01:00
Quentin (OpenERP) e2576590e3 [MERGE] point_of_sale: acconting entries generation failed if a tax was defined with no account for tax collected.
this hack is pretty stupid, don't mention it. We need to refactor the whole function, the sooner the better. At least it's not worst than before as we were already using 'line' without being sure it was defined (and now, with the assert, we are)

bzr revid: qdp-launchpad@openerp.com-20130306174616-rb5sr2a6wv8nef3v
2013-03-06 18:46:16 +01:00
Cedric Snauwaert 7577488134 [FIX]point of sale: when creating account_move_line, was passing a false parameter instead of a correct account id
bzr revid: csn@openerp.com-20130306155548-pdeli8m5ao3126aw
2013-03-06 16:55:48 +01:00
Xavier ALT 41ea6e7ccd [TEST] add unit test to ensure POS only considere product taxes from current session's company
bzr revid: xal@openerp.com-20130227104505-9ndnub6zs8sjfhzj
2013-02-27 11:45:05 +01:00
Hardik Ansodariya 4074305819 [FIXED] point_of_Sale:point_of_Sale: Fixed the issue of taxes in multicompany enviorment (Maintenance case: 583541)
bzr revid: han@tinyerp.com-20130122125656-c8sjw65gsb363jy5
2013-01-22 18:26:56 +05:30
Frédéric van der Essen 2e3adb48c4 [FIX] point_of_sale: taxes behaviour in invoice generation from pos orders matches the sale order behaviour
bzr revid: fva@openerp.com-20130128143641-51vssmkvxbxcprvn
2013-01-28 15:36:41 +01: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
Fabien Pinckaers 9c66d7d2f9 [IMP] PoS Useability
bzr revid: fp@tinyerp.com-20121126121350-1n3v1nqsrjf8b5qf
2012-11-26 13:13:50 +01:00
Frédéric van der Essen 4d90fdd32e [IMP] point_of_sale: you must now use available_in_pos to make product available in pos ... Products without categories will appear at the root category
bzr revid: fva@openerp.com-20121122175254-ippyf1rstggvvwh7
2012-11-22 18:52:54 +01:00
Sanjay Gohel (Open ERP) 35d3d481f7 [IMP]change typo
bzr revid: sgo@tinyerp.com-20121106071724-jwd7c75rk382yuzf
2012-11-06 12:47:24 +05:30
Sanjay Gohel (Open ERP) bfb7746b6b [IMP]stock picking name set on create picking
bzr revid: sgo@tinyerp.com-20121106071116-nki3vftl249l2hes
2012-11-06 12:41:16 +05:30
Sanjay Gohel (Open ERP) b74fe87f94 [IMP]ser pricelist of pos on pos order
bzr revid: sgo@tinyerp.com-20121106061302-m00bezd0bt0line7
2012-11-06 11:43:02 +05:30
Fabien Pinckaers 974ca267cf [MERGE] fix multi-company for pos
bzr revid: fp@openerp.com-20121103172128-rx5lvo5xzmsj9ay1
2012-11-03 18:21:28 +01:00
Fabien Pinckaers 74476c8e22 [FIX] POS close session without cash register
bzr revid: fp@openerp.com-20121103171225-nlp53s0aenamdhcg
2012-11-03 18:12:25 +01:00
Fabien Pinckaers ce874db95a [FIX] POS
bzr revid: fp@openerp.com-20121103152504-f3o6ce0e833hdibj
2012-11-03 16:25:04 +01:00
Fabien Pinckaers cd68364301 [MERGE] English typos
bzr revid: fp@openerp.com-20121102173407-umicel4287htim14
2012-11-02 18:34:07 +01:00
Vijaykumar Baladaniya 1fc8b2e611 [IMP]Improve tool tip.
bzr revid: vba@tinyerp.com-20121031072758-niyxbgdzih79mln1
2012-10-31 12:57:58 +05:30
Vijaykumar Baladaniya 510be6595c Improve tooltip.
bzr revid: vba@tinyerp.com-20121030131401-hf7oonmt0nkwfi1y
2012-10-30 18:44:01 +05:30
Vijaykumar Baladaniya de55e6d736 [MERGE]merge with trunk-terminology_batch2.
bzr revid: vba@tinyerp.com-20121029055922-pmwrqgxq8yo3qb20
2012-10-29 11:29:22 +05:30