03.01.26
This commit is contained in:
10
src/App.jsx
10
src/App.jsx
@@ -634,7 +634,7 @@ export default function App() {
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [[('state','!=','paid'),('type','=','in')]])}
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [['state','!=','paid'],['type','=','in']])}
|
||||
className="group rounded-lg border border-gray-200 dark:border-gray-600 p-4 flex flex-col items-center justify-center hover:bg-sky-50 dark:hover:bg-gray-700 transition hover:-translate-y-0.5 hover:shadow-md"
|
||||
>
|
||||
<span className="text-3xl font-bold text-gray-500 dark:text-white transition-transform group-hover:scale-110">
|
||||
@@ -656,7 +656,7 @@ export default function App() {
|
||||
<div className="grid grid-rows-2 gap-3">
|
||||
|
||||
<button
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [[('state','=','paid'),('type','=','out')]])}
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [['state','=','paid'],['type','=','out']])}
|
||||
className="group rounded-lg border border-gray-200 dark:border-gray-600 p-4 flex flex-col items-center justify-center hover:bg-teal-50 dark:hover:bg-gray-700 transition hover:-translate-y-0.5 hover:shadow-md"
|
||||
>
|
||||
<span className="text-3xl font-bold text-gray-500 dark:text-white transition-transform group-hover:scale-110">
|
||||
@@ -668,7 +668,7 @@ export default function App() {
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [[('state','!=','paid'),('type','=','out')]])}
|
||||
onClick={() => openInTryton('account.invoice', undefined, ["tree","form"], [['state','!=','paid'],['type','=','out']])}
|
||||
className="group rounded-lg border border-gray-200 dark:border-gray-600 p-4 flex flex-col items-center justify-center hover:bg-sky-50 dark:hover:bg-gray-700 transition hover:-translate-y-0.5 hover:shadow-md"
|
||||
>
|
||||
<span className="text-3xl font-bold text-gray-500 dark:text-white transition-transform group-hover:scale-110">
|
||||
@@ -691,7 +691,7 @@ export default function App() {
|
||||
|
||||
{/* TO VALIDATE */}
|
||||
<button
|
||||
onClick={() => openInTryton('account.move', undefined, ["tree","form"], [['state','!=','posted']])}
|
||||
onClick={() => openInTryton('account.move', undefined, ["tree","form"], [['state','!=','posted'],['journal','=',3]])}
|
||||
className="group rounded-lg border border-gray-200 dark:border-gray-600 p-4 flex flex-col items-center justify-center hover:bg-teal-50 dark:hover:bg-gray-700 transition hover:-translate-y-0.5 hover:shadow-md"
|
||||
>
|
||||
<span className="text-3xl font-bold text-gray-500 dark:text-white transition-transform group-hover:scale-110">
|
||||
@@ -704,7 +704,7 @@ export default function App() {
|
||||
|
||||
{/* POSTED */}
|
||||
<button
|
||||
onClick={() => openInTryton('account.move', undefined, ["tree","form"], [['state','=','posted']])}
|
||||
onClick={() => openInTryton('account.move', undefined, ["tree","form"], [['state','=','posted'],['journal','=',3]])}
|
||||
className="group rounded-lg border border-gray-200 dark:border-gray-600 p-4 flex flex-col items-center justify-center hover:bg-sky-50 dark:hover:bg-gray-700 transition hover:-translate-y-0.5 hover:shadow-md"
|
||||
>
|
||||
<span className="text-3xl font-bold text-gray-500 dark:text-white transition-transform group-hover:scale-110">
|
||||
|
||||
Reference in New Issue
Block a user